[Scummvm-cvs-logs] CVS: scummvm/simon simon.h,1.164,1.165 vga.cpp,1.158,1.159
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Tue Nov 15 00:13:05 CET 2005
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9547
Modified Files:
simon.h vga.cpp
Log Message:
Unstubbed vc75_setScale(). (No visible difference -- the values it sets are
not used yet.)
Index: simon.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.h,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- simon.h 15 Nov 2005 04:07:05 -0000 1.164
+++ simon.h 15 Nov 2005 08:12:30 -0000 1.165
@@ -207,7 +207,6 @@
const byte *_codePtr;
-
byte **_localStringtable;
uint _stringIdLocalMin, _stringIdLocalMax;
@@ -346,6 +345,9 @@
uint16 _vgaWaitFor, _vgaCurFileId;
uint16 _vgaCurSpriteId;
+ int16 _baseY;
+ float _scale;
+
VgaTimerEntry *_nextVgaTimerToProcess;
Item *_vcItemArray[20];
Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- vga.cpp 15 Nov 2005 04:54:18 -0000 1.158
+++ vga.cpp 15 Nov 2005 08:12:32 -0000 1.159
@@ -2049,11 +2049,8 @@
void SimonEngine::vc75_setScale() {
// Set scale
- int baseY = vc_read_next_word();
- int scale = vc_read_next_word();
- //setScale(scale, baseY);
-
- debug(0, "STUB: vc75_setScale: baseY %d scale %d", baseY, scale);
+ _baseY = vc_read_next_word();
+ _scale = (float)vc_read_next_word() / 1000000.;
}
void SimonEngine::vc76_setScaleXOffs() {
More information about the Scummvm-git-logs
mailing list