(svn r127) New feature: ingame console. (sign_de)

Press tab to open the console, more info in docs/console.txt
This commit is contained in:
dominik
2004-08-24 08:34:28 +00:00
parent 7efcc84512
commit e2f627a22e
11 changed files with 992 additions and 19 deletions

View File

@@ -6,7 +6,8 @@
#include "viewport.h"
#include "gfx.h"
#include "player.h"
#include "command.h"
#include "command.h"
#include "console.h"
extern void MakeNewGame();
extern void StartScenario();
@@ -69,7 +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;
}
break;
}
}