#include <cBuilding.h>
Public Types | |
enum | Kinds { KIND_CONCRETE, KIND_ROAD_EASTWEST, KIND_ROAD_NORTHSOUTH, KIND_ROAD_JUNKTION, MAX_KINDS } |
Possible models of tile. | |
Public Member Functions | |
cTile (int x, int y, int z, int kind) | |
Initialises a tile of a certain kind at the given tile-grid position. | |
virtual void | drawSolid () |
Render solid non-translucent parts of the object. | |
Protected Attributes | |
int | mKind |
This tile has the named appeareance (as in Kinds-enum). | |
Static Protected Attributes | |
static int | sInstances = 0 |
Counts number of instances. | |
static long | sTextures [MAX_KINDS] |
Contains shared texture(s) of all instances. | |
static long | sDisplaylists [MAX_KINDS *2] = {0,} |
Models an urban street-tile of different types.