Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

DefTile class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

DefTile Class Reference

Holds game constants for tile bitmap and size. More...

#include <ODEFTILE.H>

List of all members.

Public Types

enum  {
  NUM_TILE = 3, BIG = 0, SMALL, BIGGEST,
  GRASS_BMP = 12, MARK_BMP = 13, TREE_BMP = 20, NUM_TREE_BMP = 3
}
enum  { MAX_WIDTH = 7, MAX_HEIGHT = 10 }

Static Public Methods

bool is_firm (unsigned short id)
bool is_not_valid_type (short tileType)

Static Public Attributes

const short CELL_FULL_WIDTH [NUM_TILE] = { 32, 8, 64 }
const short CELL_FULL_HEIGHT [NUM_TILE] = { 16, 4, 32 }


Detailed Description

Holds game constants for tile bitmap and size.

Definition at line 8 of file ODEFTILE.H.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NUM_TILE 
BIG 
SMALL 
BIGGEST 
GRASS_BMP 
MARK_BMP 
TREE_BMP 
NUM_TREE_BMP 

Definition at line 11 of file ODEFTILE.H.

anonymous enum
 

Enumeration values:
MAX_WIDTH 
MAX_HEIGHT 

Definition at line 21 of file ODEFTILE.H.


Member Function Documentation

bool DefTile::is_firm unsigned short    id [inline, static]
 

Definition at line 27 of file ODEFTILE.H.

References NUM_TREE_BMP, and TREE_BMP.

bool DefTile::is_not_valid_type short    tileType [inline, static]
 

Definition at line 34 of file ODEFTILE.H.


Member Data Documentation

const short DefTile::CELL_FULL_HEIGHT = { 16, 4, 32 } [static]
 

Definition at line 13 of file ODEFTILE.CPP.

const short DefTile::CELL_FULL_WIDTH = { 32, 8, 64 } [static]
 

Definition at line 12 of file ODEFTILE.CPP.


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:04 2002 for VirtualU by doxygen1.2.17