aboutsummaryrefslogtreecommitdiff
path: root/windows.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2001-10-12 07:24:06 +0000
committerLudvig Strigeus2001-10-12 07:24:06 +0000
commit75f9015681e2d01778f24d33191b8142904561aa (patch)
tree5eeaff3c63f88e0f699f32a71f3b6bf02836a917 /windows.cpp
parent06c64c0d759bf93070609d4e0935c75b9f567afb (diff)
downloadscummvm-rg350-75f9015681e2d01778f24d33191b8142904561aa.tar.gz
scummvm-rg350-75f9015681e2d01778f24d33191b8142904561aa.tar.bz2
scummvm-rg350-75f9015681e2d01778f24d33191b8142904561aa.zip
fast mode support
svn-id: r3430
Diffstat (limited to 'windows.cpp')
-rw-r--r--windows.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/windows.cpp b/windows.cpp
index 5daf10916d..bfb66abb0f 100644
--- a/windows.cpp
+++ b/windows.cpp
@@ -17,6 +17,9 @@
*
* Change Log:
* $Log$
+ * Revision 1.4 2001/10/12 07:24:06 strigeus
+ * fast mode support
+ *
* Revision 1.3 2001/10/10 10:02:33 strigeus
* alternative mouse cursor
* basic save&load
@@ -148,6 +151,11 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
else if (GetAsyncKeyState(VK_CONTROL)<0)
wm->_scumm->_saveLoadFlag = 2;
}
+
+ if (wParam=='F') {
+ wm->_scumm->_fastMode ^= 1;
+ }
+
break;
case WM_MOUSEMOVE:
@@ -794,6 +802,9 @@ void initGraphics(Scumm *s) {
}
+void drawMouse(Scumm *s, int, int, int, byte*, bool) {
+}
+
#undef main
int main(int argc, char* argv[]) {
scumm._videoMode = 0x13;
@@ -803,7 +814,6 @@ int main(int argc, char* argv[]) {
wm->_vgabuf = (byte*)calloc(320,200);
wm->_scumm = &scumm;
-
scumm.scummMain(argc, argv);
return 0;