[Scummvm-cvs-logs] CVS: scummvm/saga isomap.cpp,1.17,1.18 isomap.h,1.7,1.8 xref.txt,1.12,1.13

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Oct 30 03:33:15 CEST 2004


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

Modified Files:
	isomap.cpp isomap.h xref.txt 
Log Message:
Renaming of struct members.


Index: isomap.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/isomap.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- isomap.cpp	28 Oct 2004 07:31:16 -0000	1.17
+++ isomap.cpp	30 Oct 2004 10:31:00 -0000	1.18
@@ -95,10 +95,10 @@
 
 	for (ct = 0; ct < mtile_ct; ct++) {
 		mtile_tbl[ct].mtile_n = readS.readUint16LE();
-		mtile_tbl[ct].unknown02 = readS.readSint16LE();
-		mtile_tbl[ct].unknown04 = readS.readSint16LE();
-		mtile_tbl[ct].unknown06 = readS.readSint16LE();
-
+		mtile_tbl[ct].height = readS.readSint16LE();
+		mtile_tbl[ct].highest_pixel = readS.readSint16LE();
+		mtile_tbl[ct].v_bits = readS.readByte();
+		mtile_tbl[ct].u_bits = readS.readByte();
 		for (i = 0; i < SAGA_METATILE_SIZE; i++) {
 			mtile_tbl[ct].tile_tbl[i] = readS.readUint16LE();
 		}

Index: isomap.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/isomap.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- isomap.h	28 Oct 2004 07:31:16 -0000	1.7
+++ isomap.h	30 Oct 2004 10:31:00 -0000	1.8
@@ -50,9 +50,10 @@
 
 struct ISO_METATILE_ENTRY {
 	int mtile_n;
-	int unknown02;
-	int unknown04;
-	int unknown06;
+	int height;
+	int highest_pixel;
+	byte v_bits;
+	byte u_bits;
 	int tile_tbl[SAGA_METATILE_SIZE];
 };
 

Index: xref.txt
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/xref.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- xref.txt	28 Oct 2004 07:31:16 -0000	1.12
+++ xref.txt	30 Oct 2004 10:31:00 -0000	1.13
@@ -95,3 +95,9 @@
  isoTile.offset            ISOTILE_ENTRY.tile_offset
  isoTile.terrain_mask      ISOTILE_ENTRY.terrain_mask
  isoTile.fgd_bgd_attr      ISOTILE_ENTRY.mask
+
+ tilePlatform.metaTile     ISO_METATILE_ENTRY.mtile_n
+ tilePlatform.height       ISO_METATILE_ENTRY.height
+ tilePlatform.highestPixel ISO_METATILE_ENTRY.highest_pixel
+ tilePlatform.vBits        ISO_METATILE_ENTRY.v_bits
+ tilePlatform.uBits        ISO_METATILE_ENTRY.u_bits





More information about the Scummvm-git-logs mailing list