Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trs:file_formats [2021/04/29 23:53]
zdimension [TR2 Level Format]
trs:file_formats [2021/04/29 23:53] (current)
zdimension [TR1 Level Format]
Line 16: Line 16:
 uint32_t NumImages; // number of texture images (4 bytes) uint32_t NumImages; // number of texture images (4 bytes)
 tr_image8 Images8[NumImages]; // 8-bit (palettized) images (NumImages * 65536 bytes) tr_image8 Images8[NumImages]; // 8-bit (palettized) images (NumImages * 65536 bytes)
-uint32_t Unused; // 32-bit unused value (4 bytes)+uint32_t Unused; // supposed to be the level number but TOM2PC didn't allow changing it, always 0 (4 bytes)
 uint16_t NumRooms; // number of rooms (2 bytes) uint16_t NumRooms; // number of rooms (2 bytes)
 tr_room Rooms[NumRooms]; // room list (variable length) tr_room Rooms[NumRooms]; // room list (variable length)
trs/file_formats.txt · Last modified: 2021/04/29 23:53 (external edit)
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0