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

gui
Class CMiniMap

IGUIObject
   |
   +--CMiniMap

   in MiniMap.h
   in MiniMap.cpp

class CMiniMap
extends IGUIObject


Field Summary
protected CCamera* m_Camera
          
protected bool m_Clicking
          
protected u32 m_Height
          
protected u8* m_LOSData
          
protected u32 m_LOSTexture
          
protected u32 m_MapSize
          
protected const CTerrain* m_Terrain
          
protected u32* m_TerrainData
          
protected u32 m_TerrainTexture
          
protected u32 m_TextureSize
          
protected const CUnitManager* m_UnitManager
          
protected u32 m_Width
          
   
Fields inherited from class IGUIObject
m_CachedActualSize, m_Name, m_Children, m_pParent, m_LastClickTime, m_MouseHovering, m_Settings
 
Constructor Summary
CMiniMap()
          
virtual ~CMiniMap()
          
 
Method Summary
protected void CreateTextures()
          
protected void Destroy()
          
protected virtual void Draw()
          
protected void DrawViewRect()
          
protected void FireWorldClickEvent( uint button, int clicks )
          
protected CVector2D GetMapSpaceCoords( CVector3D worldPos )
          
protected virtual void HandleMessage( const SGUIMessage& Message )
          
protected void RebuildLOSTexture()
          
protected void RebuildTerrainTexture()
          
protected void SetCameraPos()
          
   
Methods inherited from class IGUIObject
AddChild, AddToPointersMap, Destroy, AddSetting, MouseOver, GetMousePos, SettingExists, SetSetting, GetSettingType, GetParent, UpdateCachedSize, LoadStyle, LoadStyle, GetBufferedZ, CheckSettingsValidity, RegisterScriptHandler, SetScriptHandler, ScriptEvent, GetJSObject, GetPresentableName, SetFocus, IsFocused, GetName, SetName, ChildrenItBegin, ChildrenItEnd, HandleMessage, Draw, ManuallyHandleEvent, GetGUI, SetGUI, SetParent, ResetStates, HandleAdditionalChildren
 

Field Detail

m_Camera

protected CCamera* m_Camera;

m_Clicking

protected bool m_Clicking;

m_Height

protected u32 m_Height;

m_LOSData

protected u8* m_LOSData;

m_LOSTexture

protected u32 m_LOSTexture;

m_MapSize

protected u32 m_MapSize;

m_Terrain

protected const CTerrain* m_Terrain;

m_TerrainData

protected u32* m_TerrainData;

m_TerrainTexture

protected u32 m_TerrainTexture;

m_TextureSize

protected u32 m_TextureSize;

m_UnitManager

protected const CUnitManager* m_UnitManager;

m_Width

protected u32 m_Width;


Constructor Detail

CMiniMap

public CMiniMap();

~CMiniMap

public virtual ~CMiniMap();


Method Detail

CreateTextures

protected void CreateTextures();

Destroy

protected void Destroy();

Draw

protected virtual void Draw();

DrawViewRect

protected void DrawViewRect();

FireWorldClickEvent

protected void FireWorldClickEvent( uint button, int clicks );

GetMapSpaceCoords

protected CVector2D GetMapSpaceCoords( CVector3D worldPos );

HandleMessage

protected virtual void HandleMessage( const SGUIMessage& Message );

RebuildLOSTexture

protected void RebuildLOSTexture();

RebuildTerrainTexture

protected void RebuildTerrainTexture();

SetCameraPos

protected void SetCameraPos();

 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