From c7c31a5a8eb4595984edd9a1aa81779c7a239281 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 14 Nov 2005 10:52:18 +0000 Subject: It's Feeble! svn-id: r19592 --- simon/vga.cpp | 20 ++++++++++++++++---- 1 file 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() { -- cgit v1.2.3