Cavestory Mod API
Public Attributes | List of all members
MAP_DATA Struct Reference

Contains the currently loaded stage's map data. More...

#include <CSMAPI_types.h>

Public Attributes

unsigned short * data
 Tile indices.
 
unsigned short * ngdata
 Zone tile data.
 
unsigned char atrb [0x10001]
 Map tileset attribute table.
 
short width
 Width of map.
 
short length
 Height of map.
 
MAP_ZONEzones
 Map zones.
 
int zone_count
 Number of map zones.
 
MAP_ANIMATED_TILEanim_draw
 Drawn animated tiles.
 
MAP_ANIMATED_TILEanim_proc_list
 Process list.
 
MAP_ANIMATED_TILEanim_list
 Animated map tiles. More...
 
int anim_count
 Number of animated foreground map tiles.
 
unsigned int crc
 The CRC of this map.
 
void * compiled_map_resource
 internal use; do not use / set
 

Detailed Description

Contains the currently loaded stage's map data.

Member Data Documentation

◆ anim_list

MAP_ANIMATED_TILE* MAP_DATA::anim_list

Animated map tiles.

This should ALWAYS be sorted by tile offset.


The documentation for this struct was generated from the following file: