aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-10-29 09:17:43 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-10-29 09:17:43 -0400
commit0e50f3c18c68e4c42546a52147e10cac1202b96f (patch)
tree3c0d9f1dce02d0aba44e36f4bd9dd216caa9c414 /src/ui.cpp
parent0e5c78738efd5206ace1d000fd4160e223ba8597 (diff)
Made background painting dynamic, and made new tree backdrops
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index e6d18d2..e0ebc50 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -19,6 +19,7 @@ static char *dialogBoxText;
namespace ui {
vec2 mouse;
bool debug=false;
+ bool posFlag=false;
bool dialogBoxExists=false;
unsigned int fontSize;
@@ -247,6 +248,7 @@ namespace ui {
if(SDL_KEY==SDLK_LCTRL)player->speed = .5;
}
if(SDL_KEY==SDLK_F3)debug^=true;
+ if(SDL_KEY==SDLK_b & SDL_KEY==SDLK_F3)posFlag^=true;
break;
/*
KEYUP