DDraceNetwork Docs
CProofMode Class Reference

#include <proof_mode.h>

Inheritance diagram for CProofMode:
[legend]
Collaboration diagram for CProofMode:
[legend]

Public Types

enum  EProofBorder { PROOF_BORDER_OFF , PROOF_BORDER_INGAME , PROOF_BORDER_MENU }
 

Public Member Functions

void OnInit (CEditor *pEditor) override
 
void OnReset () override
 
void OnMapLoad () override
 
void RenderScreenSizes ()
 
bool IsEnabled () const
 
bool IsModeMenu () const
 
bool IsModeIngame () const
 
void Toggle ()
 
void SetModeMenu ()
 
void SetModeIngame ()
 
void SetMenuBackgroundPositionNames ()
 
void ResetMenuBackgroundPositions ()
 
- Public Member Functions inherited from CEditorComponent
virtual bool OnInput (const IInput::CEvent &Event) override
 
void InitSubComponents ()
 
void RegisterSubComponent (CEditorComponent &Component)
 
- Public Member Functions inherited from CEditorObject
virtual ~CEditorObject ()=default
 
virtual void OnInit (CEditor *pEditor)
 
virtual void OnUpdate ()
 
virtual bool OnInput (const IInput::CEvent &Event)
 
virtual void OnRender (CUIRect View)
 
virtual void OnHot ()
 
virtual void OnActive ()
 
virtual void OnReset ()
 
virtual void OnMapLoad ()
 
bool IsHot ()
 
void SetHot ()
 
void UnsetHot ()
 
bool IsActive ()
 
void SetActive ()
 
void SetInactive ()
 
CEditorEditor ()
 
const CEditorEditor () const
 
IInputInput ()
 
IClientClient ()
 
CConfigConfig ()
 
IConsoleConsole ()
 
IEngineEngine ()
 
IGraphicsGraphics ()
 
ISoundSound ()
 
ITextRenderTextRender ()
 
IStorageStorage ()
 
CUiUi ()
 
CRenderToolsRenderTools ()
 

Public Attributes

EProofBorder m_ProofBorders
 
int m_CurrentMenuProofIndex
 
std::vector< vec2m_vMenuBackgroundPositions
 
std::vector< const char * > m_vpMenuBackgroundPositionNames
 
std::vector< std::vector< int > > m_vMenuBackgroundCollisions
 

Member Enumeration Documentation

◆ EProofBorder

Enumerator
PROOF_BORDER_OFF 
PROOF_BORDER_INGAME 
PROOF_BORDER_MENU 

Member Function Documentation

◆ IsEnabled()

bool CProofMode::IsEnabled ( ) const

◆ IsModeIngame()

bool CProofMode::IsModeIngame ( ) const

◆ IsModeMenu()

bool CProofMode::IsModeMenu ( ) const

◆ OnInit()

void CProofMode::OnInit ( CEditor pEditor)
overridevirtual

Initialise the component and interface pointers. Needs to be the first function that is called. The default implentation also resets the component.

Reimplemented from CEditorObject.

◆ OnMapLoad()

void CProofMode::OnMapLoad ( )
overridevirtual

Reimplemented from CEditorObject.

◆ OnReset()

void CProofMode::OnReset ( )
overridevirtual

Reimplemented from CEditorObject.

◆ RenderScreenSizes()

void CProofMode::RenderScreenSizes ( )

◆ ResetMenuBackgroundPositions()

void CProofMode::ResetMenuBackgroundPositions ( )

◆ SetMenuBackgroundPositionNames()

void CProofMode::SetMenuBackgroundPositionNames ( )

◆ SetModeIngame()

void CProofMode::SetModeIngame ( )

◆ SetModeMenu()

void CProofMode::SetModeMenu ( )

◆ Toggle()

void CProofMode::Toggle ( )

Member Data Documentation

◆ m_CurrentMenuProofIndex

int CProofMode::m_CurrentMenuProofIndex

◆ m_ProofBorders

EProofBorder CProofMode::m_ProofBorders

◆ m_vMenuBackgroundCollisions

std::vector<std::vector<int> > CProofMode::m_vMenuBackgroundCollisions

◆ m_vMenuBackgroundPositions

std::vector<vec2> CProofMode::m_vMenuBackgroundPositions

◆ m_vpMenuBackgroundPositionNames

std::vector<const char *> CProofMode::m_vpMenuBackgroundPositionNames

The documentation for this class was generated from the following files: