summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-10 05:45:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-10 05:45:58 +0200
commitc5f90c889835711277d208ccb121760459213774 (patch)
treece4ed82c537aa4cdf8364310dadc16d397388833 /editor/events.cpp
parenteb87171be32523f7fc88bc0f6d2bbcd47c600ac3 (diff)
a
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index e140cd4e..1c73188c 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -136,6 +136,11 @@ auto app::resolve_keybinding(int k_, int mods_) -> std::tuple<key, int>
case SDLK_3: return key_mode_walls;
case SDLK_4: return key_mode_scenery;
case SDLK_5: return key_mode_vobj;
+ // for things like:
+ // - detect collisions with a line placed using the cursor (can be diagonal)
+ // - make charactere pathfind somewhere
+ // - make character walk around waypoints
+ case SDLK_6: return key_mode_tests;
case SDLK_c | ALT: return key_render_collision_boxes;
case SDLK_l | ALT: return key_render_clickables;
case SDLK_v | ALT: return key_render_vobjs;