Jump to content

Tile map file: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:
   /* offset 0x04 */ u16 layerCount;    // Number of layers in this file
   /* offset 0x04 */ u16 layerCount;    // Number of layers in this file
   /* offset 0x06 */ u16 tileCount;    // Number of tiles in this file's tileset (if it exists)
   /* offset 0x06 */ u16 tileCount;    // Number of tiles in this file's tileset (if it exists)
   /* offset 0x08 */ u32 metatileCount; // Number of metatiles in this file
   /* offset 0x08 */ u16 metatileCount; // Number of metatiles in this file
  /* offset 0x0a */ u16 loadOffset;    // Offset into VRAM at which the tiles should be copied to, in tiles.


   // Byte offset from start of this struct to the layerDefinitions[] array
   // Byte offset from start of this struct to the layerDefinitions[] array