Skip to content
This repository has been archived by the owner on Feb 19, 2018. It is now read-only.

Reference

Andrés edited this page Jan 20, 2015 · 27 revisions

###Types reference Some types are defined in Don't Crush My Castle, here is a small reference to those types:

  • log_type: enumeration with the different types of logs (comment,warning,err,fatal_error) defined in [Debug Log](Debug Log)

  • tile_type: enumeration that defines the different kinds of tiles (cells in the map)(blocked,road,ground,open_ground or special) defined on Tile

  • enemy_animation: enumeration which defines each type of [animation](Al Animation) to use in enemies (idle_anim,up_anim,down_anim,left_anim,right_anim and dead_anim), defined in Enemy

  • tile_id: define the data type for a tile id (the id referenced in a tileset and tilemap), currently defined as int in Tileset

###Global variables

  • static const tile_id null_tile_id=-1 tile_id defined as -1 to indicate a null_tile id, defined in Tileset

DCmC Wiki 0.7.6

Clone this wiki locally