[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.51,1.52
James Brown
ender at users.sourceforge.net
Tue Aug 20 02:59:03 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm boxes.cpp,1.40,1.41 costume.cpp,1.45,1.46 resource.cpp,1.103,1.104 script_v1.cpp,1.142,1.143 sound.cpp,1.129,1.130
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv32563/simon
Modified Files:
simon.cpp
Log Message:
Fix lighting on actors in V6+ games (eg, Sam and Max)
Move boxflags debug to debug level 2 (we default to 1)
Apply patches:
595414: Simon 2 lockup workarounds
595875: Simon 2 save/load dialog fix
597422: Preliminary support for CREA sound format (for FT)
597627: Use savedir for save/load-string opcodes
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- simon.cpp 18 Aug 2002 22:47:11 -0000 1.51
+++ simon.cpp 20 Aug 2002 09:58:35 -0000 1.52
@@ -2707,16 +2707,14 @@
timer_vga_sprites_2();
#endif
- if (!(_game & GAME_SIMON2)) {
- if (_copy_partial_mode == 1) {
- dx_copy_from_2_to_attached(80, 46, 208 - 80, 94 - 46);
- }
+ if (_copy_partial_mode == 1) {
+ dx_copy_from_2_to_attached(80, 46, 208 - 80, 94 - 46);
+ }
- if (_copy_partial_mode == 2) {
- /* copy partial from attached to 2 */
- dx_copy_from_attached_to_2(176, 61, 320 - 176, 134 - 61);
- _copy_partial_mode = 0;
- }
+ if (_copy_partial_mode == 2) {
+ /* copy partial from attached to 2 */
+ dx_copy_from_attached_to_2(176, 61, 320 - 176, 134 - 61);
+ _copy_partial_mode = 0;
}
/* XXX: more stuff here */
@@ -3206,6 +3204,7 @@
if (!(h > 0 && w > 0 && ha->x + w <= 320 && ha->y + h <= 200)) {
warning("Invalid coordinates in video_toggle_colors (%d,%d,%d,%d)", ha->x, ha->y, ha->width,
ha->height);
+ _lock_word &= ~0x8000;
return;
}
@@ -4453,8 +4452,10 @@
#endif
f = fopen(gen_savename(slot), "wb");
- if (f == NULL)
+ if (f == NULL) {
+ _lock_word &= ~0x100;
return false;
+ }
fwrite(caption, 1, 0x12, f);
@@ -4559,8 +4560,10 @@
#endif
f = fopen(gen_savename(slot), "rb");
- if (f == NULL)
+ if (f == NULL) {
+ _lock_word &= ~0x100;
return false;
+ }
fread(ident, 1, 18, f);
@@ -4568,6 +4571,7 @@
if (fileReadBE32(f) != 0xFFFFFFFF || num != _itemarray_inited - 1) {
fclose(f);
+ _lock_word &= ~0x100;
return false;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm boxes.cpp,1.40,1.41 costume.cpp,1.45,1.46 resource.cpp,1.103,1.104 script_v1.cpp,1.142,1.143 sound.cpp,1.129,1.130
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list