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

Reference

demiurgosoft edited this page Nov 12, 2014 · 27 revisions

Or How I Learned to Stop Worrying and Love the Bomb

###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 or special) defined on Tile

  • 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

  • const string tmx_tiletype_property="tiletype" defines the name of the property where the tile_type will be defined on a tmx file, defined in Tileset

###Other definitions

  • empty_tile: boolean value defined as 0(false) representing an empty tile on foreground map
  • occupied_tile: boolean value define as 1(true) representing an occupied tile on foreground map

DCmC Wiki 0.7.6

Clone this wiki locally