aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-11-14 10:52:18 +0000
committerTravis Howell2005-11-14 10:52:18 +0000
commitc7c31a5a8eb4595984edd9a1aa81779c7a239281 (patch)
treeca5265e8781309ee2b605564266e9f4b53f9c2ee
parent19bc12a460a1b52c5ed29cc3f7b85dbe46316406 (diff)
downloadscummvm-rg350-c7c31a5a8eb4595984edd9a1aa81779c7a239281.tar.gz
scummvm-rg350-c7c31a5a8eb4595984edd9a1aa81779c7a239281.tar.bz2
scummvm-rg350-c7c31a5a8eb4595984edd9a1aa81779c7a239281.zip
It's Feeble!
svn-id: r19592
-rw-r--r--simon/vga.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 6de5c89bb8..a19f23f2c0 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -1994,23 +1994,35 @@ 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);
}
void SimonEngine::vc76_setScaleXOffs() {
+ VgaSprite *vsp = find_cur_sprite();
+
// Scale X related
- int image = vc_read_next_word();
+ vsp->image = vc_read_next_word();
int xoffs = vc_read_next_word();
int var = vc_read_next_word();
- debug(0, "STUB: vc76_setScaleXOffs: image %d xoffs %d flag %d", image, xoffs, var);
+
+ vsp->flags = 0x40;
+
+ debug(0, "STUB: vc76_setScaleXOffs: image %d xoffs %d flag %d", vsp->image, xoffs, var);
}
void SimonEngine::vc77_setScaleYOffs() {
+ VgaSprite *vsp = find_cur_sprite();
+
// Scale Y related
- int image = vc_read_next_word();
+ vsp->image = vc_read_next_word();
int yoffs = vc_read_next_word();
int var = vc_read_next_word();
- debug(0, "STUB: vc77_setScaleYOffs: image %d yoffs %d flag %d", image, yoffs, var);
+
+ vsp->flags = 0x40;
+
+ debug(0, "STUB: vc77_setScaleYOffs: image %d yoffs %d flag %d", vsp->image, yoffs, var);
}
void SimonEngine::vc78_computeXY() {