diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 23:02:32 +0000 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 23:02:32 +0000 |
commit | 3d69504213f9788ced2ec18ceba9175b1ccb84dc (patch) | |
tree | 3ffb0fa9ae85eb487acfb1234b07e32f6721579d /src/game/interface.cpp | |
parent | c0531bd165643c8482e00ea04297498474be113e (diff) |
Fix a bug in the waking code; more debugging info.
Diffstat (limited to 'src/game/interface.cpp')
-rw-r--r-- | src/game/interface.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp index 148f790..d1734af 100644 --- a/src/game/interface.cpp +++ b/src/game/interface.cpp @@ -103,16 +103,23 @@ void state_t::tick(double dt) switch (event.key.code) { case sf::Keyboard::Key::F1: debug_draw_cmodels ^= 1; + print("debug_draw_cmodels = " + std::to_string(debug_draw_cmodels)); break; case sf::Keyboard::Key::F2: debug_draw_paths ^= 1; + print("debug_draw_paths = " + std::to_string(debug_draw_paths)); break; case sf::Keyboard::Key::F3: debug_draw_tile_coords ^= 1; + print("debug_draw_tile_coords = " + std::to_string(debug_draw_tile_coords)); break; + case sf::Keyboard::Key::F4: + debug_AI ^= 1; + print("debug_AI = " + std::to_string(debug_AI)); + break; default:; } default:; |