diff options
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -68,6 +68,11 @@ namespace ui { */ vec2 mouse; + + /* + * Variety of keydown bools + */ + bool edown; /* * Debugging flags. @@ -512,7 +517,7 @@ namespace ui { */ if(player->inv->invOpen){ - hub.y = player->loc.y + fontSize * 10; + hub.y = player->loc.y + fontSize * 8; hub.x = player->loc.x; putStringCentered(hub.x,hub.y,"Current Quests:"); @@ -641,6 +646,7 @@ DONE: if(debug)posFlag ^= true; break; case SDLK_e: + edown=true; if(!heyOhLetsGo){ heyOhLetsGo = loops; player->inv->mouseSel = false; @@ -670,6 +676,7 @@ DONE: player->speed = 1; break; case SDLK_e: + edown=false; if(player->inv->invHover){ player->inv->invHover = false; }else{ |