diff options
Diffstat (limited to 'sim.c')
-rw-r--r-- | sim.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,7 +6,7 @@ #include "draw.h" #include "types.h" -#define MOUSE_LOCK 1 +#define MOUSE_LOCK 0 float hfov, vfov; float PI; @@ -91,6 +91,7 @@ main_event() case SDLK_m: inp ^= 1024; break; case SDLK_i: add_obj_interactive(); break; case SDLK_r: redo_obj(); break; + case SDLK_t: drawlines ^= 1; break; case SDLK_EQUALS: s += 0.1; break; case SDLK_MINUS: s -= 0.1; break; } |