Difference between revisions of "Map Cell2gat"
From Hercules Wiki
Mysterious (Talk | contribs) (Created page with "== Function to return gat type of given cell == static int map_cell2gat(struct mapcell cell) map_cell2gat(cell); * cell = struct mapcell Notes: will return one of the fo...") |
Latest revision as of 03:28, 13 January 2013
Function to return gat type of given cell
static int map_cell2gat(struct mapcell cell) map_cell2gat(cell);
- cell = struct mapcell
Notes:
will return one of the following numbers
- 0 (walkable and shootoverable ground and not water)(normal ground)
- 1 (not walkable and not shootoverable ground and not water)(wall)
- 3 (walkable and shootoverable ground and water)
- 5 (not walkable and shootoverable ground and not water)