mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 00:49:11 +00:00
(svn r130) Change: hotkey for console is Backquote (the key left to '1', regardless of keyboard layout
This commit is contained in:
12
intro_gui.c
12
intro_gui.c
@@ -6,7 +6,7 @@
|
||||
#include "viewport.h"
|
||||
#include "gfx.h"
|
||||
#include "player.h"
|
||||
#include "command.h"
|
||||
#include "command.h"
|
||||
#include "console.h"
|
||||
|
||||
extern void MakeNewGame();
|
||||
@@ -70,11 +70,11 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) {
|
||||
case 12: case 13: case 14: case 15:
|
||||
DoCommandP(0, e->click.widget - 12, 0, NULL, CMD_SET_NEW_LANDSCAPE_TYPE);
|
||||
break;
|
||||
}
|
||||
case WE_KEYPRESS:
|
||||
switch(e->keypress.keycode) {
|
||||
case WKC_TAB: IConsoleSwitch(); break;
|
||||
}
|
||||
}
|
||||
case WE_KEYPRESS:
|
||||
switch(e->keypress.keycode) {
|
||||
case WKC_BACKQUOTE: IConsoleSwitch(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user