From: Guido de J. <gu...@us...> - 2004-08-05 20:41:20
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/TISImporter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18773/gemrb/plugins/TISImporter Modified Files: TISImp.cpp TISImp.h Log Message: more type conversions again Index: TISImp.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TISImporter/TISImp.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TISImp.h 24 Feb 2004 22:20:38 -0000 1.5 --- TISImp.h 5 Aug 2004 20:41:09 -0000 1.6 *************** *** 29,34 **** DataStream* str; bool autoFree; ! unsigned long headerShift; ! unsigned long TilesCount, TilesSectionLen, TileSize; public: TISImp(void); --- 29,34 ---- DataStream* str; bool autoFree; ! ieDword headerShift; ! ieDword TilesCount, TilesSectionLen, TileSize; public: TISImp(void); Index: TISImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TISImporter/TISImp.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TISImp.cpp 25 May 2004 16:16:52 -0000 1.8 --- TISImp.cpp 5 Aug 2004 20:41:09 -0000 1.9 *************** *** 94,98 **** printf("FileSize: %ld\n", str->Size() ); printf("Position: %ld\n", pos); ! printf("Shift: %ld\n", headerShift); } str->Seek( ( index * ( 1024 + 4096 ) + headerShift ), GEM_STREAM_START ); --- 94,98 ---- printf("FileSize: %ld\n", str->Size() ); printf("Position: %ld\n", pos); ! printf("Shift: %d\n", headerShift); } str->Seek( ( index * ( 1024 + 4096 ) + headerShift ), GEM_STREAM_START ); |