intro_gui.c
changeset 126 152df0cc4ac2
parent 105 44e894da0fef
child 129 df1a60bc0d70
--- a/intro_gui.c	Tue Aug 24 07:32:49 2004 +0000
+++ b/intro_gui.c	Tue Aug 24 08:34:28 2004 +0000
@@ -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 @@
 		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;
 	}
 }