Updated OpenTTD project

This commit is contained in:
pelya
2010-11-24 20:59:48 +02:00
parent 457bb0685e
commit 5bdd6e742d
2 changed files with 15 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ AppUsesJoystick=n
AppHandlesJoystickSensitivity=n
AppUsesMultitouch=n
NonBlockingSwapBuffers=n
RedefinedKeys="LALT RETURN KP_PLUS KP_MINUS DELETE ESCAPE"
RedefinedKeys="LALT RETURN KP_PLUS KP_MINUS SPACE DELETE"
AppTouchscreenKeyboardKeysAmount=0
AppTouchscreenKeyboardKeysAmountAutoFire=0
MultiABI=n

View File

@@ -154,3 +154,17 @@ Index: src/debug.cpp
#if defined(ENABLE_NETWORK)
if (_debug_socket != INVALID_SOCKET) {
char buf2[1024 + 32];
Index: src/main_gui.cpp
===================================================================
--- src/main_gui.cpp (revision 21311)
+++ src/main_gui.cpp (working copy)
@@ -275,6 +275,9 @@
}
case WKC_ESC: ResetObjectToPlace(); break;
+#ifdef ANDROID
+ case WKC_DELETE: DeleteAllNonVitalWindows(); break;
+#endif
case WKC_DELETE: DeleteNonVitalWindows(); break;
case WKC_DELETE | WKC_SHIFT: DeleteAllNonVitalWindows(); break;
case 'R' | WKC_CTRL: MarkWholeScreenDirty(); break;