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

Contains an animated map tile's information. More...

#include <CSMAPI_types.h>

Public Attributes

bool foreground
 Whether this should be drawn in the foreground(TRUE) or background(FALSE).
 
unsigned int tile_offset
 The offset of the map tile we're replacing. More...
 
Surface_Ids surf_id
 The surface IDs for this tile.
 
RECTrect_list
 The rect list for this tile.
 
unsigned char rect_count
 The number of rects in this tile.
 
unsigned short wait
 The amount of frames that need to pass before the framecounter for this tile is incremented.
 
unsigned char frame
 The current frame for this tile.
 
unsigned char timer
 The timer for this tile.
 
MAP_ANIMATED_TILEnext
 The next linked.
 
MAP_ANIMATED_TILEdraw_next
 The next linked to draw.
 
MAP_ANIMATED_TILEproc_next
 The next linked to process.
 

Detailed Description

Contains an animated map tile's information.

Member Data Documentation

◆ tile_offset

unsigned int MAP_ANIMATED_TILE::tile_offset

The offset of the map tile we're replacing.

Should equal (x + y * gMap.width)


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