summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJapa2011-08-22 14:14:04 +0000
committerJapa2011-08-22 14:14:04 +0000
commite30a6661982aad7614e12e3bb66248992864d6b7 (patch)
treec39f8f7c59c9b5ca544d110e2ca6a5d2cdcdd562 /UserInput.cpp
parent3082298368e67933947d00d005821019ded2da81 (diff)
downloadstonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.gz
stonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.bz2
stonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.xz
Got tile occlusion fully working.
Todo: transparent glass.
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 29243ea..fd636fd 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -223,6 +223,10 @@ void doKeys(int Key)
config.show_zones = !config.show_zones;
timeToReloadSegment = true;
}
+ if(Key == ALLEGRO_KEY_O){
+ config.occlusion = !config.occlusion;
+ timeToReloadSegment = true;
+ }
if(Key == ALLEGRO_KEY_M){
config.show_creature_moods = !config.show_creature_moods;
timeToReloadSegment = true;