[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.154,1.155

kirben kirben at users.sourceforge.net
Mon Nov 14 02:53:05 CET 2005


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26245/simon

Modified Files:
	vga.cpp 
Log Message:

It's Feeble!


Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- vga.cpp	14 Nov 2005 10:31:19 -0000	1.154
+++ vga.cpp	14 Nov 2005 10:52:18 -0000	1.155
@@ -1994,23 +1994,35 @@
 	// 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() {





More information about the Scummvm-git-logs mailing list