diff options
author | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
commit | e2f627a22ed2a38542b63ac65a73499a2d9f32aa (patch) | |
tree | 92d0709632554e6421d9d731ecdb6e8bf9bdc631 /main_gui.c | |
parent | 7efcc84512bd2161f4c68fdbdd06b8d1519137df (diff) | |
download | openttd-e2f627a22ed2a38542b63ac65a73499a2d9f32aa.tar.xz |
(svn r127) New feature: ingame console. (sign_de)
Press tab to open the console, more info in docs/console.txt
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c index f5eec080b..edbe36fe7 100644 --- a/main_gui.c +++ b/main_gui.c @@ -9,7 +9,8 @@ #include "command.h" #include "news.h" #include "town.h" -#include "vehicle.h" +#include "vehicle.h"
+#include "console.h" #include "table/animcursors.h" @@ -1687,7 +1688,8 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e) case WKC_SHIFT | WKC_F11: ShowBuildTreesToolbar(); break; case WKC_SHIFT | WKC_F12: ShowMusicWindow(); break; case WKC_CTRL | 'S': _make_screenshot = 1; break; - case WKC_CTRL | 'G': _make_screenshot = 2; break; + case WKC_CTRL | 'G': _make_screenshot = 2; break;
+ case WKC_TAB: IConsoleSwitch(); e->keypress.keycode=0; break; case WKC_CTRL | WKC_ALT | 'C': if(!_networking) ShowCheatWindow(); break; } } break; |