[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.91,1.92
Travis Howell
kirben at users.sourceforge.net
Mon Dec 1 21:13:01 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen command.h,1.7,1.8 cutaway.cpp,1.76,1.77 cutaway.h,1.26,1.27 debug.cpp,1.1,1.2 debug.h,1.1,1.2 display.cpp,1.30,1.31 display.h,1.23,1.24 graphics.cpp,1.51,1.52 graphics.h,1.42,1.43 input.cpp,1.13,1.14 input.h,1.10,1.11 journal.cpp,1.5,1.6 journal.h,1.1,1.2 logic.cpp,1.111,1.112 logic.h,1.73,1.74 queen.cpp,1.46,1.47 queen.h,1.14,1.15 resource.cpp,1.29,1.30 resource.h,1.19,1.20 sound.cpp,1.14,1.15 sound.h,1.6,1.7 talk.cpp,1.49,1.50 talk.h,1.22,1.23 walk.h,1.14,1.15
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen graphics.h,1.43,1.44 graphics.cpp,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv17492/simon
Modified Files:
vga.cpp
Log Message:
Only used in simon1win
Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- vga.cpp 1 Dec 2003 00:45:16 -0000 1.91
+++ vga.cpp 2 Dec 2003 05:12:49 -0000 1.92
@@ -1705,7 +1705,6 @@
void SimonEngine::vc_62_palette_thing() {
uint i;
- byte *vc_ptr_org = _vc_ptr;
vc_29_stop_all_sounds();
@@ -1724,10 +1723,11 @@
delay(5);
}
- if (!(_game & GF_SIMON2)) {
+ if (_game == GAME_SIMON1WIN) {
uint16 params[5]; /* parameters to vc_10_draw */
VgaSprite *vsp;
VgaPointersEntry *vpe;
+ byte *vc_ptr_org = _vc_ptr;
vsp = _vga_sprites;
while (vsp->id != 0) {
@@ -1756,11 +1756,10 @@
}
vsp++;
}
+ _vc_ptr = vc_ptr_org;
}
dx_clear_surfaces(_video_palette_mode == 4 ? 134 : 200);
-
- _vc_ptr = vc_ptr_org;
}
if (_game & GF_SIMON2) {
if (_next_music_to_play != -1)
@@ -1785,11 +1784,11 @@
void SimonEngine::vc_65_palette_thing_3() {
// Simon2
- _palette_color_count = 0x270;
- _video_num_pal_colors = 0x0D0;
+ _palette_color_count = 624;
+ _video_num_pal_colors = 208;
if (_video_palette_mode != 4) {
- _palette_color_count = 0x300;
- _video_num_pal_colors = 0x100;
+ _palette_color_count = 768;
+ _video_num_pal_colors = 256;
}
_palette_color_count |= 0x8000;
_video_var_3 = false;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen command.h,1.7,1.8 cutaway.cpp,1.76,1.77 cutaway.h,1.26,1.27 debug.cpp,1.1,1.2 debug.h,1.1,1.2 display.cpp,1.30,1.31 display.h,1.23,1.24 graphics.cpp,1.51,1.52 graphics.h,1.42,1.43 input.cpp,1.13,1.14 input.h,1.10,1.11 journal.cpp,1.5,1.6 journal.h,1.1,1.2 logic.cpp,1.111,1.112 logic.h,1.73,1.74 queen.cpp,1.46,1.47 queen.h,1.14,1.15 resource.cpp,1.29,1.30 resource.h,1.19,1.20 sound.cpp,1.14,1.15 sound.h,1.6,1.7 talk.cpp,1.49,1.50 talk.h,1.22,1.23 walk.h,1.14,1.15
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen graphics.h,1.43,1.44 graphics.cpp,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list