Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
TTreeType Struct Reference

The individual data for a tree type. More...

#include <W3DTreeBuffer.h>

Public Attributes

MeshClassm_mesh
 Mesh for this kind of tree.
 
SphereClass m_bounds
 Bounding boxes for the base tree models.
 
const W3DTreeDrawModuleDatam_data
 
ICoord2D m_textureOrigin
 Texture origin in the mega texture.
 
Int m_numTiles
 Number of tex tiles.
 
Int m_firstTile
 First texture tile.
 
Int m_tileWidth
 Width in tiles of texture;.
 
Bool m_halfTile
 Tiles are 64x64 pixels, half tile supports a 32x32 bit texture. Have to adjust the uv values.
 
Vector3 m_offset
 
Real m_shadowSize
 Shadow radius.
 
Bool m_doShadow
 Draw shadow.
 

Detailed Description

The individual data for a tree type.

Definition at line 129 of file W3DTreeBuffer.h.

Member Data Documentation

◆ m_bounds

SphereClass TTreeType::m_bounds

Bounding boxes for the base tree models.

Definition at line 131 of file W3DTreeBuffer.h.

◆ m_data

const W3DTreeDrawModuleData* TTreeType::m_data

Definition at line 132 of file W3DTreeBuffer.h.

◆ m_doShadow

Bool TTreeType::m_doShadow

Draw shadow.

Definition at line 140 of file W3DTreeBuffer.h.

◆ m_firstTile

Int TTreeType::m_firstTile

First texture tile.

Definition at line 135 of file W3DTreeBuffer.h.

◆ m_halfTile

Bool TTreeType::m_halfTile

Tiles are 64x64 pixels, half tile supports a 32x32 bit texture. Have to adjust the uv values.

Definition at line 137 of file W3DTreeBuffer.h.

◆ m_mesh

MeshClass* TTreeType::m_mesh

Mesh for this kind of tree.

Definition at line 130 of file W3DTreeBuffer.h.

◆ m_numTiles

Int TTreeType::m_numTiles

Number of tex tiles.

Definition at line 134 of file W3DTreeBuffer.h.

◆ m_offset

Vector3 TTreeType::m_offset

Definition at line 138 of file W3DTreeBuffer.h.

◆ m_shadowSize

Real TTreeType::m_shadowSize

Shadow radius.

Definition at line 139 of file W3DTreeBuffer.h.

◆ m_textureOrigin

ICoord2D TTreeType::m_textureOrigin

Texture origin in the mega texture.

Definition at line 133 of file W3DTreeBuffer.h.

◆ m_tileWidth

Int TTreeType::m_tileWidth

Width in tiles of texture;.

Definition at line 136 of file W3DTreeBuffer.h.


The documentation for this struct was generated from the following file: