![]() |
DDNet documentation
|
#include <map_object.h>
Public Member Functions | |
| CMapObject (CEditorMap *pMap) | |
| CMapObject (const CMapObject &Other) | |
| virtual | ~CMapObject ()=default |
| virtual void | OnAttach (CEditorMap *pMap) |
| const CEditor * | Editor () const |
| CEditor * | Editor () |
| const CEditorMap * | Map () const |
| CEditorMap * | Map () |
| const IGraphics * | Graphics () const |
| IGraphics * | Graphics () |
| const ISound * | Sound () const |
| ISound * | Sound () |
| const IStorage * | Storage () const |
| IStorage * | Storage () |
| const ITextRender * | TextRender () const |
| ITextRender * | TextRender () |
Public Attributes | |
| float | m_aLayerOffset [2] |
| bool | m_UseClipping |
| float | m_aaClipArea [2][2] |
| float | m_aSpeed [2] |
| float | m_aaScreenOffset [2][2] |
| float | m_aaBaseArea [2][2] |
| float | m_aaExtendedArea [2][2] |
Static Public Attributes | |
| static constexpr float | ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f} |
Private Attributes | |
| CEditorMap * | m_pMap |
|
explicit |
| CMapObject::CMapObject | ( | const CMapObject & | Other | ) |
|
virtualdefault |
| CEditor * CMapObject::Editor | ( | ) |
| const CEditor * CMapObject::Editor | ( | ) | const |
| IGraphics * CMapObject::Graphics | ( | ) |
| const IGraphics * CMapObject::Graphics | ( | ) | const |
| CEditorMap * CMapObject::Map | ( | ) |
| const CEditorMap * CMapObject::Map | ( | ) | const |
|
virtual |
Reimplemented in CEditorImage, and CLayerGroup.
| ISound * CMapObject::Sound | ( | ) |
| const ISound * CMapObject::Sound | ( | ) | const |
| IStorage * CMapObject::Storage | ( | ) |
| const IStorage * CMapObject::Storage | ( | ) | const |
| ITextRender * CMapObject::TextRender | ( | ) |
| const ITextRender * CMapObject::TextRender | ( | ) | const |
| float CMapObject::m_aaBaseArea[2][2] |
| float CMapObject::m_aaClipArea[2][2] |
| float CMapObject::m_aaExtendedArea[2][2] |
| float CMapObject::m_aaScreenOffset[2][2] |
| float CMapObject::m_aLayerOffset[2] |
| float CMapObject::m_aSpeed[2] |
|
private |
| bool CMapObject::m_UseClipping |
|
staticconstexpr |