aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-11-15 08:12:32 +0000
committerTorbjörn Andersson2005-11-15 08:12:32 +0000
commit987ad29b8088db3a7ef7bb23590dd2a037aecd1d (patch)
tree4e866d715f4bd12de17f4216e168d85faad1ce37 /simon
parentd58a8ba31a0b9c4d47f12842b9438a71968514c7 (diff)
downloadscummvm-rg350-987ad29b8088db3a7ef7bb23590dd2a037aecd1d.tar.gz
scummvm-rg350-987ad29b8088db3a7ef7bb23590dd2a037aecd1d.tar.bz2
scummvm-rg350-987ad29b8088db3a7ef7bb23590dd2a037aecd1d.zip
Unstubbed vc75_setScale(). (No visible difference -- the values it sets are
not used yet.) svn-id: r19599
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.h4
-rw-r--r--simon/vga.cpp7
2 files changed, 5 insertions, 6 deletions
diff --git a/simon/simon.h b/simon/simon.h
index bfb5415130..ff7e8202ef 100644
--- a/simon/simon.h
+++ b/simon/simon.h
@@ -207,7 +207,6 @@ protected:
const byte *_codePtr;
-
byte **_localStringtable;
uint _stringIdLocalMin, _stringIdLocalMax;
@@ -346,6 +345,9 @@ protected:
uint16 _vgaWaitFor, _vgaCurFileId;
uint16 _vgaCurSpriteId;
+ int16 _baseY;
+ float _scale;
+
VgaTimerEntry *_nextVgaTimerToProcess;
Item *_vcItemArray[20];
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 43ff6d8d4a..2756839994 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -2049,11 +2049,8 @@ void SimonEngine::vc74_clearMark() {
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() {