|
Classes |
class | halfTile |
class | Map |
| A tile-based representation of the world. More...
|
class | Tile |
Enumerations |
enum | tTileset {
kFall,
kFallTile,
kWinter,
kWinterTile,
kFast
} |
enum | tDisplay { kPolygons,
kLines,
kPoints
} |
enum | tTerrain {
kOutOfBounds = 0x0,
kOutOfBounds2 = 0x1,
kWater = 0x10,
kGround = 0x20,
kSwamp = 0x21,
kGrass = 0x22,
kBlight = 0x23,
kTrees = 0x30,
kUndefined
} |
enum | tSplit { kNoSplit = 0,
kForwardSplit = 1,
kBackwardSplit = 2
} |
enum | tSplitSide { kWholeTile = 1,
kLeftSide = 2,
kRightSide = 3
} |
enum | tEdge {
kInternalEdge,
kLeftEdge,
kRightEdge,
kTopEdge,
kBottomEdge
} |
enum | { kUndefinedHeight = -999
} |
enum | tCorner {
kNone = 0,
kTopLeft = 1,
kTopRight = 2,
kBottomLeft = 3,
kBottomRight = 4
} |
enum | tMapType { kOctile,
kOctileCorner,
kSokoban,
kRaw
} |
Functions |
void | makeMaze (Map *map, int pathSize=1) |
| makeMaze(map, pathsize)
|
Variables |
const double | ONE = 1.0f |
const double | TWO = 2.0f |
const double | ROOT_TWO = 1.414213562f |
const double | ONE_OVER_ROOT_TWO = 1.0/ROOT_TWO |
const int | terrainBits = 4 |
const int | kNoGraphNode = -1 |