aboutsummaryrefslogtreecommitdiff
path: root/simon/simonitems.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2002-07-18 22:51:29 +0000
committerNicolas Bacca2002-07-18 22:51:29 +0000
commit8e3ba98de31a6c5b8a260836cb116e5f9d5b208e (patch)
tree5be4c92ba06a7ddb71add54f401df6c1cd46d3b8 /simon/simonitems.cpp
parent986987110b225e24673dee8670a08042e484d32a (diff)
downloadscummvm-rg350-8e3ba98de31a6c5b8a260836cb116e5f9d5b208e.tar.gz
scummvm-rg350-8e3ba98de31a6c5b8a260836cb116e5f9d5b208e.tar.bz2
scummvm-rg350-8e3ba98de31a6c5b8a260836cb116e5f9d5b208e.zip
WinCE GUI friendly
svn-id: r4594
Diffstat (limited to 'simon/simonitems.cpp')
-rw-r--r--simon/simonitems.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/simon/simonitems.cpp b/simon/simonitems.cpp
index 123d6c568e..04f4c02eb9 100644
--- a/simon/simonitems.cpp
+++ b/simon/simonitems.cpp
@@ -23,6 +23,13 @@
#include "stdafx.h"
#include "simon.h"
+#ifdef _WIN32_WCE
+
+extern bool toolbar_drawn;
+extern bool draw_keyboard;
+
+#endif
+
int SimonState::runScript()
{
byte opcode;
@@ -744,6 +751,13 @@ int SimonState::runScript()
break;
case 132:{
+#ifdef _WIN32_WCE
+
+ if (!draw_keyboard) {
+ draw_keyboard = true;
+ toolbar_drawn = false;
+ }
+#endif
o_save_game();
}
break;