#include <W3DRoadBuffer.h>
Public Member Functions | |
| RoadType (void) | |
| ~RoadType (void) | |
| void | loadTexture (AsciiString path, Int id) |
| void | applyTexture (void) |
| Int | getStacking (void) |
| void | setStacking (Int order) |
| Int | getUniqueID (void) |
| DX8VertexBufferClass * | getVB (void) |
| DX8IndexBufferClass * | getIB (void) |
| Int | getNumVertices (void) |
| void | setNumIndices (Int num) |
| void | setNumVertices (Int num) |
| Int | getNumIndices (void) |
Protected Attributes | |
| TextureClass * | m_roadTexture |
| Roads texture. | |
| DX8VertexBufferClass * | m_vertexRoad |
| Road vertex buffer. | |
| DX8IndexBufferClass * | m_indexRoad |
| indices defining a triangles for the road drawing. | |
| Int | m_numRoadVertices |
| Number of vertices used in m_vertexRoad. | |
| Int | m_numRoadIndices |
| Number of indices used in b_indexRoad;. | |
| Int | m_uniqueID |
| ID of the road type in INI. | |
| Bool | m_isAutoLoaded |
| Int | m_stackingOrder |
| Order in the drawing. 0 drawn first, then 1 and so on. | |
Definition at line 153 of file W3DRoadBuffer.h.
| RoadType::RoadType | ( | void | ) |
Nulls index & vertex data.
Definition at line 139 of file W3DRoadBuffer.cpp.
| RoadType::~RoadType | ( | void | ) |
Frees index & vertex data.
Definition at line 153 of file W3DRoadBuffer.cpp.
| void RoadType::applyTexture | ( | void | ) |
Sets the W3D texture.
Definition at line 165 of file W3DRoadBuffer.cpp.
|
inline |
Definition at line 177 of file W3DRoadBuffer.h.
|
inline |
Definition at line 181 of file W3DRoadBuffer.h.
|
inline |
Definition at line 178 of file W3DRoadBuffer.h.
|
inline |
Definition at line 173 of file W3DRoadBuffer.h.
|
inline |
Definition at line 175 of file W3DRoadBuffer.h.
|
inline |
Definition at line 176 of file W3DRoadBuffer.h.
| void RoadType::loadTexture | ( | AsciiString | path, |
| Int | ID ) |
Sets the W3D texture.
Definition at line 178 of file W3DRoadBuffer.cpp.
|
inline |
Definition at line 179 of file W3DRoadBuffer.h.
|
inline |
Definition at line 180 of file W3DRoadBuffer.h.
|
inline |
Definition at line 174 of file W3DRoadBuffer.h.
|
protected |
indices defining a triangles for the road drawing.
Definition at line 160 of file W3DRoadBuffer.h.
|
protected |
Definition at line 164 of file W3DRoadBuffer.h.
|
protected |
Number of indices used in b_indexRoad;.
Definition at line 162 of file W3DRoadBuffer.h.
|
protected |
Number of vertices used in m_vertexRoad.
Definition at line 161 of file W3DRoadBuffer.h.
|
protected |
Roads texture.
Definition at line 158 of file W3DRoadBuffer.h.
|
protected |
Order in the drawing. 0 drawn first, then 1 and so on.
Definition at line 165 of file W3DRoadBuffer.h.
|
protected |
ID of the road type in INI.
Definition at line 163 of file W3DRoadBuffer.h.
|
protected |
Road vertex buffer.
Definition at line 159 of file W3DRoadBuffer.h.