#include "vec2i.h"
#include <vector>
Go to the source code of this file.
#define MapFieldAirUnit 0x2000 |
#define MapFieldBuilding 0x8000 |
#define MapFieldCoastAllowed 0x0020 |
#define MapFieldForest 0x0800 |
#define MapFieldHuman 0x0008 |
#define MapFieldLandAllowed 0x0010 |
#define MapFieldLandUnit 0x1000 |
#define MapFieldNoBuilding 0x0080 |
#define MapFieldRocks 0x0400 |
#define MapFieldSeaUnit 0x4000 |
#define MapFieldSpeedMask 0x0007 |
#define MapFieldUnpassable 0x0100 |
#define MapFieldWall 0x0200 |
#define MapFieldWaterAllowed 0x0040 |
These are used for lookup tiles types mainly used for the FOW implementation of the seen woods/rocks
- Todo:
- I think this can be removed, we can use the flags? I'm not sure, if we have seen and real time to considere.
Enumerator |
---|
TileTypeUnknown |
|
TileTypeWood |
Unknown tile type.
|
TileTypeRock |
Any wood tile.
|
TileTypeCoast |
Any rock tile.
|
TileTypeHumanWall |
Any coast tile.
|
TileTypeOrcWall |
Any human wall tile.
|
TileTypeWater |
Any orc wall tile.
Any water tile
|
void ParseTilesetTileFlags |
( |
lua_State * |
l, |
|
|
int * |
back, |
|
|
int * |
j |
|
) |
| |
Parse the flag section of a tile definition.
- Parameters
-
l | Lua state. |
back | pointer for the flags (return). |
j | pointer for the location in the array. in and out |
(C) Copyright 1998-2012 by The