[Scummvm-cvs-logs] CVS: scummvm/backends/wince smartphone.cpp,1.12,1.13 pocketpc.cpp,1.27,1.28
Max Horn
fingolfin at users.sourceforge.net
Wed Sep 17 16:03:20 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv9459
Modified Files:
smartphone.cpp pocketpc.cpp
Log Message:
no need for this evil hackery; just always pretend 'F5' was pressed, the Scumm engine will do the work from then
Index: smartphone.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/smartphone.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- smartphone.cpp 20 Jul 2003 23:47:39 -0000 1.12
+++ smartphone.cpp 17 Sep 2003 23:02:40 -0000 1.13
@@ -325,13 +325,7 @@
if (is_bass)
wm->_event.kbd.ascii = 63;
else
- if (g_scumm->_version <= 2)
- wm->_event.kbd.ascii = 5;
- else
- if ((g_scumm->_features & GF_OLD256) || (g_scumm->_gameId == GID_CMI) || (g_scumm->_features & GF_16COLOR))
- wm->_event.kbd.ascii = 319;
- else
- wm->_event.kbd.ascii = g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY);
+ wm->_event.kbd.ascii = 319; // "F5" key; opens up the save menu in Scumm games
}
void SmartfonSkip(OSystem_WINCE3 *wm, int repeat) {
Index: pocketpc.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/pocketpc.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- pocketpc.cpp 20 Jul 2003 23:47:39 -0000 1.27
+++ pocketpc.cpp 17 Sep 2003 23:02:40 -0000 1.28
@@ -233,13 +233,7 @@
if (is_bass)
wm->_event.kbd.ascii = 63;
else
- if (g_scumm->_version <= 2)
- wm->_event.kbd.ascii = 5;
- else
- if ((g_scumm->_features & GF_OLD256) || (g_scumm->_gameId == GID_CMI) || (g_scumm->_features & GF_16COLOR))
- wm->_event.kbd.ascii = 319;
- else
- wm->_event.kbd.ascii = g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY);
+ wm->_event.kbd.ascii = 319; // "F5" key; opens up the save menu in Scumm games
break;
case ToolbarMode:
SetScreenMode(!GetScreenMode());
More information about the Scummvm-git-logs
mailing list