summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorCaldfir2012-03-16 01:47:21 -0700
committerCaldfir2012-03-16 01:47:21 -0700
commit89b6ecb6d01f92f0df2ea23ef6a9fff796167f07 (patch)
treec8f68905d87f56a25946efe95873d2feb1a7650b /UserInput.cpp
parentbb7bcc00c4eb2e46e5d7141fb2d0ce8a30386568 (diff)
downloadstonesense-89b6ecb6d01f92f0df2ea23ef6a9fff796167f07.tar.gz
stonesense-89b6ecb6d01f92f0df2ea23ef6a9fff796167f07.tar.bz2
stonesense-89b6ecb6d01f92f0df2ea23ef6a9fff796167f07.tar.xz
Attempt at getting job icons, similar in bahaviour to the existing status icons into stonesense.
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 45a83c6..c15b695 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "common.h"
#include "GUI.h"
#include "BuildingConfiguration.h"
#include "ContentLoader.h"
@@ -232,6 +232,10 @@ void doKeys(int Key)
config.show_creature_moods = !config.show_creature_moods;
timeToReloadSegment = true;
}
+ if(Key == ALLEGRO_KEY_J){
+ config.show_creature_jobs = !config.show_creature_jobs;
+ timeToReloadSegment = true;
+ }
if(Key == ALLEGRO_KEY_C){
config.truncate_walls++;
if (config.truncate_walls > 4) config.truncate_walls = 0;