![]() |
DDNet documentation
|
#include <proof_mode.h>
Classes | |
| class | CState |
Public Types | |
| enum class | EProofBorder { OFF , INGAME , MENU } |
Public Member Functions | |
| void | OnInit (CEditor *pEditor) override |
| void | OnMapLoad () override |
| void | RenderScreenSizes () |
| bool | IsEnabled () const |
| bool | IsModeMenu () const |
| bool | IsModeIngame () const |
| void | Toggle () |
| void | SetModeMenu () |
| void | SetModeIngame () |
| int | CurrentMenuProofIndex () const |
| void | SetCurrentMenuProofIndex (int MenuProofIndex) |
| const std::vector< vec2 > & | MenuBackgroundPositions () const |
| vec2 | CurrentMenuBackgroundPosition () const |
| const char * | MenuBackgroundPositionName (int MenuProofIndex) const |
| const std::vector< int > & | MenuBackgroundCollisions (int MenuProofIndex) const |
| void | InitMenuBackgroundPositions () |
| Public Member Functions inherited from CEditorComponent | |
| virtual void | OnReset () |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| virtual void | OnUpdate () |
| void | InitSubComponents () |
| void | RegisterSubComponent (CEditorComponent &Component) |
| Public Member Functions inherited from CEditorObject | |
| virtual | ~CEditorObject ()=default |
| CEditor * | Editor () |
| const CEditor * | Editor () const |
| CEditorMap * | Map () |
| const CEditorMap * | Map () const |
| IInput * | Input () |
| const IInput * | Input () const |
| IClient * | Client () |
| const IClient * | Client () const |
| CConfig * | Config () |
| const CConfig * | Config () const |
| IEngine * | Engine () |
| const IEngine * | Engine () const |
| IGraphics * | Graphics () |
| const IGraphics * | Graphics () const |
| ISound * | Sound () |
| const ISound * | Sound () const |
| ITextRender * | TextRender () |
| const ITextRender * | TextRender () const |
| IStorage * | Storage () |
| const IStorage * | Storage () const |
| CUi * | Ui () |
| const CUi * | Ui () const |
| CRenderMap * | RenderMap () |
| const CRenderMap * | RenderMap () const |
Private Member Functions | |
| void | InitMenuBackgroundPositionNames () |
Private Attributes | |
| std::vector< const char * > | m_vpMenuBackgroundPositionNames |
|
strong |
| vec2 CProofMode::CurrentMenuBackgroundPosition | ( | ) | const |
| int CProofMode::CurrentMenuProofIndex | ( | ) | const |
|
private |
| void CProofMode::InitMenuBackgroundPositions | ( | ) |
| bool CProofMode::IsEnabled | ( | ) | const |
| bool CProofMode::IsModeIngame | ( | ) | const |
| bool CProofMode::IsModeMenu | ( | ) | const |
| const std::vector< int > & CProofMode::MenuBackgroundCollisions | ( | int | MenuProofIndex | ) | const |
| const char * CProofMode::MenuBackgroundPositionName | ( | int | MenuProofIndex | ) | const |
| const std::vector< vec2 > & CProofMode::MenuBackgroundPositions | ( | ) | const |
|
overridevirtual |
Initialize the component and interface pointers. Needs to be the first function that is called. The default implementation also resets the component.
Reimplemented from CEditorComponent.
|
overridevirtual |
Reimplemented from CEditorComponent.
| void CProofMode::RenderScreenSizes | ( | ) |
| void CProofMode::SetCurrentMenuProofIndex | ( | int | MenuProofIndex | ) |
| void CProofMode::SetModeIngame | ( | ) |
| void CProofMode::SetModeMenu | ( | ) |
| void CProofMode::Toggle | ( | ) |
|
private |