diff options
| author | Jonas Ask | 2009-11-11 01:31:52 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-11-11 01:31:52 +0000 |
| commit | a903d912d9ca5156f8ca6b2ea01df64ffff0e6d3 (patch) | |
| tree | c4efafd95591285ba164c268f80ada718dbb2920 /UserInput.cpp | |
| parent | fee888b734a789273048d96a0f4ba549af213501 (diff) | |
| download | stonesense-a903d912d9ca5156f8ca6b2ea01df64ffff0e6d3.tar.gz stonesense-a903d912d9ca5156f8ca6b2ea01df64ffff0e6d3.tar.bz2 stonesense-a903d912d9ca5156f8ca6b2ea01df64ffff0e6d3.tar.xz | |
New feature: Walls can now be truncated to easier see what's behind them. Bound to C key.
Diffstat (limited to 'UserInput.cpp')
| -rw-r--r-- | UserInput.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UserInput.cpp b/UserInput.cpp index 5003cee..0d5e311 100644 --- a/UserInput.cpp +++ b/UserInput.cpp @@ -79,6 +79,10 @@ void doKeys(){ timeToReloadSegment = true;
while(key[KEY_I]);
}
+ if(key[KEY_C]){
+ config.truncate_walls = !config.truncate_walls;
+ timeToReloadSegment = true;
+ }
if(key[KEY_1]){
config.segmentSize.z--;
if(config.segmentSize.z <= 0) config.segmentSize.z = 1;
|
