Renaming of struct members.

svn-id: r15696
This commit is contained in:
Torbjörn Andersson 2004-10-30 10:31:00 +00:00
parent fe6d66a243
commit afc07026c6
3 changed files with 14 additions and 7 deletions

View File

@ -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();
}

View File

@ -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];
};

View File

@ -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