Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

graphics
Class CPatch

CRenderableObject
   |
   +--CPatch

   in Patch.h
   in Patch.cpp

class CPatch
extends CRenderableObject


Field Summary
 bool m_bWillBeDrawn
          
 CMiniPatch[ PATCH_SIZE ][ PATCH_SIZE ] m_MiniPatches
          
 CTerrain* m_Parent
          
 u32 m_X
          
 u32 m_Z
          
   
Fields inherited from class CRenderableObject
m_Bounds, m_Transform, m_InvTransform, m_RenderData
 
Constructor Summary
CPatch()
          CPatch destructor
~CPatch()
          Initialize: setup patch data
 
Method Summary
 void CalcBounds()
          
 bool getDrawState()
          
 void Initialize( CTerrain* parent, u32 x, u32 z )
          CalcBounds: calculating the bounds of this patch
 void setDrawState( bool value )
          
   
Methods inherited from class CRenderableObject
SetTransform, GetTransform, GetInvTransform, SetDirty, CalcBounds, GetBounds, InvalidateBounds, SetRenderData, GetRenderData
 

Field Detail

m_bWillBeDrawn

public bool m_bWillBeDrawn;

m_MiniPatches

public CMiniPatch m_MiniPatches[ PATCH_SIZE ][ PATCH_SIZE ];

m_Parent

public CTerrain* m_Parent;

m_X

public u32 m_X;

m_Z

public u32 m_Z;


Constructor Detail

CPatch

public CPatch();
CPatch destructor

~CPatch

public ~CPatch();
Initialize: setup patch data


Method Detail

CalcBounds

public void CalcBounds();

getDrawState

public bool getDrawState();

Initialize

public void Initialize( CTerrain* parent, u32 x, u32 z );
CalcBounds: calculating the bounds of this patch

setDrawState

public void setDrawState( bool value );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD