HOG2
|
#include <cassert>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <unistd.h>
#include <iostream>
#include <stdint.h>
#include "GLUtil.h"
Go to the source code of this file.
Classes | |
class | halfTile |
class | Tile |
class | Map |
A tile-based representation of the world. More... | |
Enumerations | |
enum | tTileset { kFall, kFallTile, kWinter, kWinterTile, kFast, kBitmap } |
enum | tDisplay { kPolygons, kLines, kPoints } |
enum | tTerrain { kOutOfBounds =0x0, kOutOfBounds2 =0x1, kWater =0x10, kGround =0x20, kSwamp =0x21, kGrass =0x22, kBlight =0x23, kTrees =0x30, kUndefined =0x40 } |
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 | |
bool | CanPass (long a, long b) |
Variables | |
const int | terrainBits = 4 |
const int | kNoGraphNode = -1 |
enum tCorner |
enum tEdge |
enum tSplitSide |
enum tTerrain |
enum tTileset |
const int kNoGraphNode = -1 |
Definition at line 93 of file Map.h.
Referenced by GraphSearchConstants::AddEdges(), AddMapEdges(), GraphSearchConstants::AddNodesToGraph(), GetMapGraph(), Map::loadOctile(), Map::loadOctileCorner(), Map::loadRaw(), Map::paintRoomInside(), and Map::tryLoadRollingStone().
const int terrainBits = 4 |
Definition at line 49 of file Map.h.
Referenced by Map3DGrid::AddMap(), Map3DGrid::AddMapPoints(), GraphSearchConstants::AddNodesToGraph(), Map::AdjacentEdges(), CanonicalGrid::CanonicalGrid::CanonicalGrid(), Map::CanStep(), CanonicalGrid::CanonicalGrid::Draw(), CanonicalGrid::CanonicalGrid::SVGDraw(), and MapEnvironment::SVGDraw().