mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Renaming of struct members.
svn-id: r15696
This commit is contained in:
parent
fe6d66a243
commit
afc07026c6
@ -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();
|
||||
}
|
||||
|
@ -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];
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user