[Scummvm-cvs-logs] CVS: scummvm/gob draw.cpp,1.3,1.4 game.cpp,1.9,1.10 inter.cpp,1.6,1.7
Joost Peters
joostp at users.sourceforge.net
Sat Apr 9 11:14:19 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gob game.cpp,1.8,1.9
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gob anim.cpp,1.2,1.3 anim.h,1.3,1.4 dataio.cpp,1.4,1.5 dataio.h,1.3,1.4 debug.cpp,1.4,1.5 debug.h,1.3,1.4 draw.cpp,1.4,1.5 draw.h,1.3,1.4 driver_vga.cpp,1.4,1.5 driver_vga.h,1.3,1.4 game.cpp,1.10,1.11 game.h,1.4,1.5 global.cpp,1.3,1.4 global.h,1.3,1.4 gob.cpp,1.3,1.4 goblin.cpp,1.4,1.5 goblin.h,1.2,1.3 init.cpp,1.3,1.4 init.h,1.2,1.3 inter.cpp,1.7,1.8 inter.h,1.2,1.3 map.cpp,1.2,1.3 map.h,1.2,1.3 mult.cpp,1.5,1.6 mult.h,1.2,1.3 pack.cpp,1.2,1.3 pack.h,1.2,1.3 palanim.cpp,1.4,1.5 palanim.h,1.2,1.3 parse.cpp,1.2,1.3 parse.h,1.2,1.3 resource.cpp,1.2,1.3 resource.h,1.2,1.3 scenery.cpp,1.6,1.7 scenery.h,1.2,1.3 sound.cpp,1.3,1.4 sound.h,1.3,1.4 timer.cpp,1.3,1.4 timer.h,1.2,1.3 util.cpp,1.7,1.8 util.h,1.3,1.4 video.cpp,1.6,1.7 video.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18066/gob
Modified Files:
draw.cpp game.cpp inter.cpp
Log Message:
read index as LE value
Index: draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/draw.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- draw.cpp 5 Apr 2005 17:41:37 -0000 1.3
+++ draw.cpp 9 Apr 2005 18:14:01 -0000 1.4
@@ -404,9 +404,9 @@
szGame_TotResTable + szGame_TotResItem *
game_totResourceTable->itemsCount + offset;
} else {
- dataBuf =
+ dataBuf =
game_imFileData +
- ((int32 *)game_imFileData)[-offset - 1];
+ (int32)READ_LE_UINT32(&((int32 *)game_imFileData)[-offset - 1]);
}
draw_spriteRight = itemPtr->width;
Index: game.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/game.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- game.cpp 9 Apr 2005 17:58:07 -0000 1.9
+++ game.cpp 9 Apr 2005 18:14:01 -0000 1.10
@@ -377,7 +377,7 @@
return ((char *)game_totResourceTable) + szGame_TotResTable +
szGame_TotResItem * game_totResourceTable->itemsCount + offset;
} else {
- return (char *)(game_imFileData + ((int32 *)game_imFileData)[-offset - 1]);
+ return (char *)(game_imFileData + (int32)READ_LE_UINT32(&((int32 *)game_imFileData)[-offset - 1]));
}
}
Index: inter.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/inter.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- inter.cpp 9 Apr 2005 01:28:16 -0000 1.6
+++ inter.cpp 9 Apr 2005 18:14:01 -0000 1.7
@@ -818,7 +818,7 @@
((char *)game_totResourceTable) + szGame_TotResTable +
szGame_TotResItem * game_totResourceTable->itemsCount + offset;
} else {
- dataBuf = game_imFileData + ((int32 *)game_imFileData)[-offset - 1];
+ dataBuf = game_imFileData + (int32)READ_LE_UINT32(&((int32 *)game_imFileData)[-offset - 1]);
}
width = itemPtr->width;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gob game.cpp,1.8,1.9
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gob anim.cpp,1.2,1.3 anim.h,1.3,1.4 dataio.cpp,1.4,1.5 dataio.h,1.3,1.4 debug.cpp,1.4,1.5 debug.h,1.3,1.4 draw.cpp,1.4,1.5 draw.h,1.3,1.4 driver_vga.cpp,1.4,1.5 driver_vga.h,1.3,1.4 game.cpp,1.10,1.11 game.h,1.4,1.5 global.cpp,1.3,1.4 global.h,1.3,1.4 gob.cpp,1.3,1.4 goblin.cpp,1.4,1.5 goblin.h,1.2,1.3 init.cpp,1.3,1.4 init.h,1.2,1.3 inter.cpp,1.7,1.8 inter.h,1.2,1.3 map.cpp,1.2,1.3 map.h,1.2,1.3 mult.cpp,1.5,1.6 mult.h,1.2,1.3 pack.cpp,1.2,1.3 pack.h,1.2,1.3 palanim.cpp,1.4,1.5 palanim.h,1.2,1.3 parse.cpp,1.2,1.3 parse.h,1.2,1.3 resource.cpp,1.2,1.3 resource.h,1.2,1.3 scenery.cpp,1.6,1.7 scenery.h,1.2,1.3 sound.cpp,1.3,1.4 sound.h,1.3,1.4 timer.cpp,1.3,1.4 timer.h,1.2,1.3 util.cpp,1.7,1.8 util.h,1.3,1.4 video.cpp,1.6,1.7 video.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list