diff options
-rw-r--r-- | saga/isomap.cpp | 6 | ||||
-rw-r--r-- | saga/isomap.h | 7 | ||||
-rw-r--r-- | saga/xref.txt | 7 |
3 files changed, 13 insertions, 7 deletions
diff --git a/saga/isomap.cpp b/saga/isomap.cpp index 701f8cf690..1ff2d7a6ec 100644 --- a/saga/isomap.cpp +++ b/saga/isomap.cpp @@ -62,10 +62,10 @@ int IsoMap::loadTileset(const byte *tileres_p, size_t tileres_len) { for (i = 0; i < _tile_ct; i++) { tile_tbl[i].tile_h = readS.readByte(); - tile_tbl[i].unknown01 = readS.readByte(); + tile_tbl[i].mask_rule = readS.readByte(); tile_tbl[i].tile_offset = readS.readUint16LE(); - tile_tbl[i].unknown04 = readS.readSint16LE(); - tile_tbl[i].unknown06 = readS.readSint16LE(); + tile_tbl[i].terrain_mask = readS.readSint16LE(); + tile_tbl[i].mask = readS.readSint16LE(); } _tiles_loaded = 1; diff --git a/saga/isomap.h b/saga/isomap.h index 0699a96fb1..62771147f7 100644 --- a/saga/isomap.h +++ b/saga/isomap.h @@ -30,11 +30,10 @@ namespace Saga { struct ISOTILE_ENTRY { int tile_h; - int unknown01; + int mask_rule; size_t tile_offset; - int unknown04; - int unknown06; - + int terrain_mask; + int mask; }; #define SAGA_ISOTILE_ENTRY_LEN 8 diff --git a/saga/xref.txt b/saga/xref.txt index 41353cf26a..037d64bb50 100644 --- a/saga/xref.txt +++ b/saga/xref.txt @@ -88,3 +88,10 @@ Main.c ====== sceneIndexTable _scene->getSceneLUT() +Tile.h +====== + isoTile.height ISOTILE_ENTRY.tile_h + isoTile.attributes ISOTILE_ENTRY.mask_rule + isoTile.offset ISOTILE_ENTRY.tile_offset + isoTile.terrain_mask ISOTILE_ENTRY.terrain_mask + isoTile.fgd_bgd_attr ISOTILE_ENTRY.mask |