cTile Class Reference

#include <cBuilding.h>

Inheritance diagram for cTile:
cObject

List of all members.

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,}

Detailed Description

Models an urban street-tile of different types.


The documentation for this class was generated from the following files:

Generated on Tue Feb 16 18:32:39 2010 for Linwarrior 3D by  doxygen 1.6.1