diff options
author | Torbjörn Andersson | 2004-10-30 10:31:00 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-30 10:31:00 +0000 |
commit | afc07026c68d21dd3dc7d9723da5e1df0497590f (patch) | |
tree | 716d29531f8b3e17f9b44987914cd5b03d43510d /saga | |
parent | fe6d66a2434188deca14304c58ef1f1d3d9dab99 (diff) | |
download | scummvm-rg350-afc07026c68d21dd3dc7d9723da5e1df0497590f.tar.gz scummvm-rg350-afc07026c68d21dd3dc7d9723da5e1df0497590f.tar.bz2 scummvm-rg350-afc07026c68d21dd3dc7d9723da5e1df0497590f.zip |
Renaming of struct members.
svn-id: r15696
Diffstat (limited to 'saga')
-rw-r--r-- | saga/isomap.cpp | 8 | ||||
-rw-r--r-- | saga/isomap.h | 7 | ||||
-rw-r--r-- | saga/xref.txt | 6 |
3 files changed, 14 insertions, 7 deletions
diff --git a/saga/isomap.cpp b/saga/isomap.cpp index 1ff2d7a6ec..d23e876400 100644 --- a/saga/isomap.cpp +++ b/saga/isomap.cpp @@ -95,10 +95,10 @@ int IsoMap::loadMetaTileset(const byte *mtileres_p, size_t mtileres_len) { 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(); } diff --git a/saga/isomap.h b/saga/isomap.h index 62771147f7..31275237b4 100644 --- a/saga/isomap.h +++ b/saga/isomap.h @@ -50,9 +50,10 @@ struct ISOTILE_ENTRY { 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]; }; diff --git a/saga/xref.txt b/saga/xref.txt index 037d64bb50..2acc4de534 100644 --- a/saga/xref.txt +++ b/saga/xref.txt @@ -95,3 +95,9 @@ Tile.h 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 |