diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-24 07:34:00 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-24 07:34:00 -0500 |
commit | 5c1be9978e4c9b18c400c051fc2b083a02b74b7a (patch) | |
tree | 2c8dbf3aea3539d2f4c6db3ef56eb1880fd14786 /src/ui.cpp | |
parent | 4bf3665158e71e9b20a2231428d42d400da8332f (diff) | |
parent | 19ef54b2c5ffcaefdce352c6f195a62c05c42767 (diff) |
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -277,6 +277,7 @@ namespace ui { width+=fontSize/2; }else if(s[i]=='\b'){ // Handle backspaces? // Why? + // Cuz }else{ width+=ftexwh[i].x+fontSize*.1; } @@ -473,7 +474,7 @@ namespace ui { hub.y-=fontSize*1.15; glRectf(hub.x, hub.y, - hub.x+(player->health/player->maxHealth)*100, + hub.x+(player->health/player->maxHealth)*130, hub.y+12); } |