DDraceNetwork Documentation
Loading...
Searching...
No Matches
CEditor Class Reference

#include <editor.h>

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

Classes

class  CHoverTile
 
struct  SAlignmentInfo
 
struct  SAxisAlignedBoundingBox
 
struct  SLayerPopupContext
 
struct  SStringKeyComparator
 

Public Types

enum class  EAxisLock { Start , None , Horizontal , Vertical }
 
enum  {
  POPEVENT_EXIT = 0 , POPEVENT_LOAD , POPEVENT_LOADCURRENT , POPEVENT_LOADDROP ,
  POPEVENT_NEW , POPEVENT_LARGELAYER , POPEVENT_PREVENTUNUSEDTILES , POPEVENT_IMAGEDIV16 ,
  POPEVENT_IMAGE_MAX , POPEVENT_SOUND_MAX , POPEVENT_PLACE_BORDER_TILES , POPEVENT_TILEART_BIG_IMAGE ,
  POPEVENT_TILEART_MANY_COLORS , POPEVENT_TILEART_TOO_MANY_COLORS , POPEVENT_QUADART_BIG_IMAGE , POPEVENT_REMOVE_USED_IMAGE ,
  POPEVENT_REMOVE_USED_SOUND , POPEVENT_RESTART_SERVER , POPEVENT_RESTARTING_SERVER
}
 
enum class  EUnusedEntities { ALLOWED_IMPLICIT = -1 , NOT_ALLOWED = 0 , ALLOWED_EXPLICIT = 1 }
 
enum  EShowTile { SHOW_TILE_OFF , SHOW_TILE_DECIMAL , SHOW_TILE_HEXADECIMAL }
 
enum  EExtraEditor {
  EXTRAEDITOR_NONE = -1 , EXTRAEDITOR_ENVELOPES , EXTRAEDITOR_SERVER_SETTINGS , EXTRAEDITOR_HISTORY ,
  NUM_EXTRAEDITORS
}
 
enum  EShowEnvelope { SHOWENV_NONE = 0 , SHOWENV_SELECTED , SHOWENV_ALL }
 
enum  ECursorType { CURSOR_NORMAL , CURSOR_RESIZE_V , CURSOR_RESIZE_H , NUM_CURSORS }
 
enum class  EAxis { AXIS_NONE = 0 , AXIS_X , AXIS_Y }
 
enum class  EDragSide { SIDE_BOTTOM , SIDE_LEFT , SIDE_TOP , SIDE_RIGHT }
 

Public Member Functions

class IInputInput () const
 
class IClientClient () const
 
class IConfigManagerConfigManager () const
 
class CConfigConfig () const
 
class IConsoleConsole () const
 
class IEngineEngine () const
 
class IGraphicsGraphics () const
 
class ISoundSound () const
 
class ITextRenderTextRender () const
 
class IStorageStorage () const
 
CUiUi ()
 
CRenderMapRenderMap ()
 
CMapViewMapView ()
 
const CMapViewMapView () const
 
CLayerSelectorLayerSelector ()
 
void SelectNextLayer ()
 
void SelectPreviousLayer ()
 
void FillGameTiles (EGameTileOp FillTile) const
 
bool CanFillGameTiles () const
 
void AddQuadOrSound ()
 
void AddGroup ()
 
void AddSoundLayer ()
 
void AddTileLayer ()
 
void AddQuadsLayer ()
 
void AddSwitchLayer ()
 
void AddFrontLayer ()
 
void AddTuneLayer ()
 
void AddSpeedupLayer ()
 
void AddTeleLayer ()
 
void DeleteSelectedLayer ()
 
void LayerSelectImage ()
 
bool IsNonGameTileLayerSelected () const
 
void MapDetails ()
 
void TestMapLocally ()
 
 CEditor ()
 
const std::vector< CHoverTile > & HoverTiles () const
 
void Init () override
 
void OnUpdate () override
 
void OnRender () override
 
void OnActivate () override
 
void OnWindowResize () override
 
void OnClose () override
 
void OnDialogClose ()
 
bool HasUnsavedData () const override
 
void UpdateMentions () override
 
void ResetMentions () override
 
void OnIngameMoved () override
 
void ResetIngameMoved () override
 
void HandleCursorMovement ()
 
void OnMouseMove (vec2 MousePos)
 
void MouseAxisLock (vec2 &CursorRel)
 
void HandleAutosave ()
 
bool PerformAutosave ()
 
void HandleWriterFinishJobs ()
 
void ShowFileDialogError (const char *pFormat,...)
 
void Reset (bool CreateDefault=true)
 
bool Save (const char *pFilename) override
 
bool Load (const char *pFilename, int StorageType) override
 
bool HandleMapDrop (const char *pFilename, int StorageType) override
 
bool Append (const char *pFilename, int StorageType, bool IgnoreHistory=false)
 
void LoadCurrentMap ()
 
void Render ()
 
void RenderPressedKeys (CUIRect View)
 
void RenderSavingIndicator (CUIRect View)
 
void FreeDynamicPopupMenus ()
 
void UpdateColorPipette ()
 
void RenderMousePointer ()
 
void RenderGameEntities (const std::shared_ptr< CLayerTiles > &pTiles)
 
void RenderSwitchEntities (const std::shared_ptr< CLayerTiles > &pTiles)
 
std::vector< CQuad * > GetSelectedQuads ()
 
std::shared_ptr< CLayerGetSelectedLayerType (int Index, int Type) const
 
std::shared_ptr< CLayerGetSelectedLayer (int Index) const
 
std::shared_ptr< CLayerGroupGetSelectedGroup () const
 
CSoundSourceGetSelectedSource () const
 
void SelectLayer (int LayerIndex, int GroupIndex=-1)
 
void AddSelectedLayer (int LayerIndex)
 
void SelectQuad (int Index)
 
void ToggleSelectQuad (int Index)
 
void DeselectQuads ()
 
void DeselectQuadPoints ()
 
void SelectQuadPoint (int QuadIndex, int Index)
 
void ToggleSelectQuadPoint (int QuadIndex, int Index)
 
void DeleteSelectedQuads ()
 
bool IsQuadSelected (int Index) const
 
bool IsQuadCornerSelected (int Index) const
 
bool IsQuadPointSelected (int QuadIndex, int Index) const
 
int FindSelectedQuadIndex (int Index) const
 
int FindEnvPointIndex (int Index, int Channel) const
 
void SelectEnvPoint (int Index)
 
void SelectEnvPoint (int Index, int Channel)
 
void ToggleEnvPoint (int Index, int Channel)
 
bool IsEnvPointSelected (int Index, int Channel) const
 
bool IsEnvPointSelected (int Index) const
 
void DeselectEnvPoints ()
 
void SelectTangentOutPoint (int Index, int Channel)
 
bool IsTangentOutPointSelected (int Index, int Channel) const
 
void SelectTangentInPoint (int Index, int Channel)
 
bool IsTangentInPointSelected (int Index, int Channel) const
 
bool IsTangentInSelected () const
 
bool IsTangentOutSelected () const
 
bool IsTangentSelected () const
 
std::pair< CFixedTime, intEnvGetSelectedTimeAndValue () const
 
template<typename E >
SEditResult< EDoPropertiesWithState (CUIRect *pToolbox, CProperty *pProps, int *pIds, int *pNewVal, const std::vector< ColorRGBA > &vColors={})
 
int DoProperties (CUIRect *pToolbox, CProperty *pProps, int *pIds, int *pNewVal, const std::vector< ColorRGBA > &vColors={})
 
void DoColorPickerButton (const void *pId, const CUIRect *pRect, ColorRGBA Color, const std::function< void(ColorRGBA Color)> &SetColor)
 
bool IsAllowPlaceUnusedTiles () const
 
IGraphics::CTextureHandle GetEntitiesTexture ()
 
void EnvelopeEval (int TimeOffsetMillis, int Env, ColorRGBA &Result, size_t Channels) override
 
void AddTileart (bool IgnoreHistory=false)
 
void TileartCheckColors ()
 
void AddQuadArt (bool IgnoreHistory=false)
 
void PlaceBorderTiles ()
 
void UpdateTooltip (const void *pId, const CUIRect *pRect, const char *pToolTip)
 
int DoButton_Editor_Common (const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip)
 
int DoButton_Editor (const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip)
 
int DoButton_Env (const void *pId, const char *pText, int Checked, const CUIRect *pRect, const char *pToolTip, ColorRGBA Color, int Corners)
 
int DoButton_Ex (const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip, int Corners, float FontSize=EditorFontSizes::MENU, int Align=TEXTALIGN_MC)
 
int DoButton_FontIcon (const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags, const char *pToolTip, int Corners, float FontSize=10.0f)
 
int DoButton_MenuItem (const void *pId, const char *pText, int Checked, const CUIRect *pRect, int Flags=BUTTONFLAG_LEFT, const char *pToolTip=nullptr)
 
int DoButton_DraggableEx (const void *pId, const char *pText, int Checked, const CUIRect *pRect, bool *pClicked, bool *pAbrupted, int Flags, const char *pToolTip=nullptr, int Corners=IGraphics::CORNER_ALL, float FontSize=10.0f)
 
bool DoEditBox (CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners=IGraphics::CORNER_ALL, const char *pToolTip=nullptr, const std::vector< STextColorSplit > &vColorSplits={})
 
bool DoClearableEditBox (CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners=IGraphics::CORNER_ALL, const char *pToolTip=nullptr, const std::vector< STextColorSplit > &vColorSplits={})
 
void DoMapSettingsEditBox (CMapSettingsBackend::CContext *pContext, const CUIRect *pRect, float FontSize, float DropdownMaxHeight, int Corners=IGraphics::CORNER_ALL, const char *pToolTip=nullptr)
 
template<typename T >
int DoEditBoxDropdown (SEditBoxDropdownContext *pDropdown, CLineInput *pLineInput, const CUIRect *pEditBoxRect, int x, float MaxHeight, bool AutoWidth, const std::vector< T > &vData, const FDropdownRenderCallback< T > &pfnMatchCallback)
 
template<typename T >
int RenderEditBoxDropdown (SEditBoxDropdownContext *pDropdown, CUIRect View, CLineInput *pLineInput, int x, float MaxHeight, bool AutoWidth, const std::vector< T > &vData, const FDropdownRenderCallback< T > &pfnMatchCallback)
 
void RenderBackground (CUIRect View, IGraphics::CTextureHandle Texture, float Size, float Brightness) const
 
SEditResult< intUiDoValueSelector (void *pId, CUIRect *pRect, const char *pLabel, int Current, int Min, int Max, int Step, float Scale, const char *pToolTip, bool IsDegree=false, bool IsHex=false, int Corners=IGraphics::CORNER_ALL, const ColorRGBA *pColor=nullptr, bool ShowValue=true)
 
void PopupSelectImageInvoke (int Current, float x, float y)
 
int PopupSelectImageResult ()
 
void PopupSelectGametileOpInvoke (float x, float y)
 
int PopupSelectGameTileOpResult ()
 
void PopupSelectConfigAutoMapInvoke (int Current, float x, float y)
 
int PopupSelectConfigAutoMapResult ()
 
void PopupSelectSoundInvoke (int Current, float x, float y)
 
int PopupSelectSoundResult ()
 
void PopupSelectAutoMapReferenceInvoke (int Current, float x, float y)
 
int PopupSelectAutoMapReferenceResult ()
 
void DoQuadEnvelopes (const std::vector< CQuad > &vQuads, IGraphics::CTextureHandle Texture=IGraphics::CTextureHandle())
 
void DoQuadEnvPoint (const CQuad *pQuad, int QIndex, int pIndex)
 
void DoQuadPoint (int LayerIndex, const std::shared_ptr< CLayerQuads > &pLayer, CQuad *pQuad, int QuadIndex, int v)
 
void SetHotQuadPoint (const std::shared_ptr< CLayerQuads > &pLayer)
 
float TriangleArea (vec2 A, vec2 B, vec2 C)
 
bool IsInTriangle (vec2 Point, vec2 A, vec2 B, vec2 C)
 
void DoQuadKnife (int QuadIndex)
 
void DoSoundSource (int LayerIndex, CSoundSource *pSource, int Index)
 
void DoMapEditor (CUIRect View)
 
void DoToolbarLayers (CUIRect Toolbar)
 
void DoToolbarImages (CUIRect Toolbar)
 
void DoToolbarSounds (CUIRect Toolbar)
 
void DoQuad (int LayerIndex, const std::shared_ptr< CLayerQuads > &pLayer, CQuad *pQuad, int Index)
 
void PreparePointDrag (const std::shared_ptr< CLayerQuads > &pLayer, CQuad *pQuad, int QuadIndex, int PointIndex)
 
void DoPointDrag (const std::shared_ptr< CLayerQuads > &pLayer, CQuad *pQuad, int QuadIndex, int PointIndex, int OffsetX, int OffsetY)
 
EAxis GetDragAxis (int OffsetX, int OffsetY) const
 
void DrawAxis (EAxis Axis, CPoint &OriginalPoint, CPoint &Point) const
 
void DrawAABB (const SAxisAlignedBoundingBox &AABB, int OffsetX=0, int OffsetY=0) const
 
ColorRGBA GetButtonColor (const void *pId, int Checked)
 
void ComputePointAlignments (const std::shared_ptr< CLayerQuads > &pLayer, CQuad *pQuad, int QuadIndex, int PointIndex, int OffsetX, int OffsetY, std::vector< SAlignmentInfo > &vAlignments, bool Append=false) const
 
void ComputePointsAlignments (const std::shared_ptr< CLayerQuads > &pLayer, bool Pivot, int OffsetX, int OffsetY, std::vector< SAlignmentInfo > &vAlignments) const
 
void ComputeAABBAlignments (const std::shared_ptr< CLayerQuads > &pLayer, const SAxisAlignedBoundingBox &AABB, int OffsetX, int OffsetY, std::vector< SAlignmentInfo > &vAlignments) const
 
void DrawPointAlignments (const std::vector< SAlignmentInfo > &vAlignments, int OffsetX, int OffsetY) const
 
void QuadSelectionAABB (const std::shared_ptr< CLayerQuads > &pLayer, SAxisAlignedBoundingBox &OutAABB)
 
void ApplyAlignments (const std::vector< SAlignmentInfo > &vAlignments, int &OffsetX, int &OffsetY)
 
void ApplyAxisAlignment (int &OffsetX, int &OffsetY) const
 
bool ReplaceImage (const char *pFilename, int StorageType, bool CheckDuplicate)
 
bool ReplaceSound (const char *pFileName, int StorageType, bool CheckDuplicate)
 
bool IsEnvelopeUsed (int EnvelopeIndex) const
 
void RemoveUnusedEnvelopes ()
 
void RenderLayers (CUIRect LayersBox)
 
void RenderImagesList (CUIRect Toolbox)
 
void RenderSelectedImage (CUIRect View)
 
void RenderSounds (CUIRect Toolbox)
 
void RenderModebar (CUIRect View)
 
void RenderStatusbar (CUIRect View, CUIRect *pTooltipRect)
 
void RenderTooltip (CUIRect TooltipRect)
 
void RenderEnvelopeEditor (CUIRect View)
 
void RenderEnvelopeEditorColorBar (CUIRect ColorBar, const std::shared_ptr< CEnvelope > &pEnvelope)
 
void RenderMapSettingsErrorDialog ()
 
void RenderServerSettingsEditor (CUIRect View, bool ShowServerSettingsEditorLast)
 
void RenderEditorHistory (CUIRect View)
 
void DoEditorDragBar (CUIRect View, CUIRect *pDragBar, EDragSide Side, float *pValue, float MinValue=100.0f, float MaxValue=400.0f)
 
void SetHotEnvelopePoint (const CUIRect &View, const std::shared_ptr< CEnvelope > &pEnvelope, int ActiveChannels)
 
void RenderMenubar (CUIRect Menubar)
 
void SelectGameLayer ()
 
std::vector< intSortImages ()
 
void DoAudioPreview (CUIRect View, const void *pPlayPauseButtonId, const void *pStopButtonId, const void *pSeekBarId, int SampleId)
 
void ZoomAdaptOffsetX (float ZoomFactor, const CUIRect &View)
 
void UpdateZoomEnvelopeX (const CUIRect &View)
 
void ZoomAdaptOffsetY (float ZoomFactor, const CUIRect &View)
 
void UpdateZoomEnvelopeY (const CUIRect &View)
 
void ResetZoomEnvelope (const std::shared_ptr< CEnvelope > &pEnvelope, int ActiveChannels)
 
void RemoveTimeOffsetEnvelope (const std::shared_ptr< CEnvelope > &pEnvelope)
 
float ScreenToEnvelopeX (const CUIRect &View, float x) const
 
float EnvelopeToScreenX (const CUIRect &View, float x) const
 
float ScreenToEnvelopeY (const CUIRect &View, float y) const
 
float EnvelopeToScreenY (const CUIRect &View, float y) const
 
float ScreenToEnvelopeDX (const CUIRect &View, float DeltaX)
 
float ScreenToEnvelopeDY (const CUIRect &View, float DeltaY)
 
IGraphics::CTextureHandle GetFrontTexture ()
 
IGraphics::CTextureHandle GetTeleTexture ()
 
IGraphics::CTextureHandle GetSpeedupTexture ()
 
IGraphics::CTextureHandle GetSwitchTexture ()
 
IGraphics::CTextureHandle GetTuneTexture ()
 
void AdjustBrushSpecialTiles (bool UseNextFree, int Adjust=0)
 
- Public Member Functions inherited from IEditor
virtual ~IEditor ()=default
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()=default
 
- Public Member Functions inherited from IEnvelopeEval
virtual ~IEnvelopeEval ()=default
 

Static Public Member Functions

static CUi::EPopupMenuFunctionResult PopupMenuFile (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupMenuTools (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupMenuSettings (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupGroup (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupLayer (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupQuad (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSource (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupPoint (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEnvPoint (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEnvPointMulti (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEnvPointCurveType (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupImage (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSound (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupMapInfo (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEvent (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSelectImage (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSelectSound (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSelectGametileOp (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSelectConfigAutoMap (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSelectAutoMapReference (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupTele (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSpeedup (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupSwitch (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupTune (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupGoto (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEntities (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupProofMode (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupAnimateSettings (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupEnvelopeCurvetype (void *pContext, CUIRect View, bool Active)
 
static CUi::EPopupMenuFunctionResult PopupQuadArt (void *pContext, CUIRect View, bool Active)
 
static bool CallbackOpenMap (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackAppendMap (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackSaveMap (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackSaveCopyMap (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackAddTileart (const char *pFilepath, int StorageType, void *pUser)
 
static bool CallbackAddQuadArt (const char *pFilepath, int StorageType, void *pUser)
 
static bool CallbackSaveImage (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackSaveSound (const char *pFileName, int StorageType, void *pUser)
 
static bool CallbackCustomEntities (const char *pFileName, int StorageType, void *pUser)
 
static bool ReplaceImageCallback (const char *pFilename, int StorageType, void *pUser)
 
static bool ReplaceSoundCallback (const char *pFileName, int StorageType, void *pUser)
 
static bool AddImage (const char *pFilename, int StorageType, void *pUser)
 
static bool AddSound (const char *pFileName, int StorageType, void *pUser)
 
static bool IsAssetUsed (CFileBrowser::EFileType FileType, int Index, void *pUser)
 
static bool IsVanillaImage (const char *pImage)
 
static void MapSettingsDropdownRenderCallback (const SPossibleValueMatch &Match, char(&aOutput)[128], std::vector< STextColorSplit > &vColorSplits)
 
- Static Public Member Functions inherited from IEditor
static const charInterfaceName ()
 

Public Attributes

std::vector< CHoverTilem_vHoverTiles
 
vec2 m_MouseAxisInitialPos = vec2(0.0f, 0.0f)
 
enum CEditor::EAxisLock m_MouseAxisLockState = EAxisLock::Start
 
std::map< const char *, CUi::SMessagePopupContext *, SStringKeyComparatorm_PopupMessageContexts
 
CUi::SColorPickerPopupContext m_ColorPickerPopupContext
 
const voidm_pColorPickerPopupActiveId = nullptr
 
int m_Mode
 
int m_Dialog
 
char m_aTooltip [256] = ""
 
bool m_BrushColorEnabled
 
char m_aFileName [IO_MAX_PATH_LENGTH]
 
char m_aFileNamePending [IO_MAX_PATH_LENGTH]
 
bool m_ValidSaveFilename
 
int m_PopupEventType
 
int m_PopupEventActivated
 
int m_PopupEventWasActivated
 
bool m_LargeLayerWasWarned
 
bool m_PreventUnusedTilesWasWarned
 
EUnusedEntities m_AllowPlaceUnusedTiles
 
bool m_BrushDrawDestructive
 
int m_Mentions = 0
 
bool m_IngameMoved = false
 
int m_ToolbarPreviewSound
 
std::vector< std::string > m_vSelectEntitiesFiles
 
std::string m_SelectEntitiesImage
 
CSmoothValue m_ZoomEnvelopeX
 
CSmoothValue m_ZoomEnvelopeY
 
bool m_ResetZoomEnvelope
 
float m_OffsetEnvelopeX
 
float m_OffsetEnvelopeY
 
bool m_ShowMousePointer
 
bool m_GuiActive
 
bool m_PreviewZoom
 
float m_MouseWorldScale = 1.0f
 
vec2 m_MouseWorldPos = vec2(0.0f, 0.0f)
 
vec2 m_MouseWorldNoParaPos = vec2(0.0f, 0.0f)
 
vec2 m_MouseDeltaWorld = vec2(0.0f, 0.0f)
 
const voidm_pContainerPanned
 
const voidm_pContainerPannedLast
 
char m_MapEditorId
 
EShowTile m_ShowTileInfo
 
bool m_ShowDetail
 
bool m_Animate
 
int64_t m_AnimateStart
 
float m_AnimateTime
 
float m_AnimateSpeed
 
bool m_AnimateUpdatePopup
 
EExtraEditor m_ActiveExtraEditor = EXTRAEDITOR_NONE
 
float m_aExtraEditorSplits [NUM_EXTRAEDITORS] = {250.0f, 250.0f, 250.0f}
 
float m_ToolBoxWidth = 100.0f
 
EShowEnvelope m_ShowEnvelopePreview
 
bool m_ShowPicker
 
std::vector< intm_vSelectedLayers
 
std::vector< intm_vSelectedQuads
 
int m_SelectedQuadPoint
 
int m_SelectedQuadIndex
 
int m_SelectedGroup
 
int m_SelectedQuadPoints
 
int m_SelectedEnvelope
 
std::vector< std::pair< int, int > > m_vSelectedEnvelopePoints
 
int m_SelectedQuadEnvelope
 
int m_CurrentQuadIndex
 
int m_SelectedImage
 
int m_SelectedSound
 
int m_SelectedSource
 
std::pair< int, intm_SelectedTangentInPoint
 
std::pair< int, intm_SelectedTangentOutPoint
 
bool m_UpdateEnvPointInfo
 
bool m_QuadKnifeActive
 
int m_QuadKnifeCount
 
vec2 m_aQuadKnifePoints [4]
 
ColorRGBA m_aSavedColors [8]
 
ColorRGBA m_PipetteColor = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f)
 
bool m_ColorPipetteActive = false
 
IGraphics::CTextureHandle m_CheckerTexture
 
IGraphics::CTextureHandle m_aCursorTextures [ECursorType::NUM_CURSORS]
 
ECursorType m_CursorType
 
std::shared_ptr< CLayerGroupm_pBrush
 
std::shared_ptr< CLayerTilesm_pTilesetPicker
 
std::shared_ptr< CLayerQuadsm_pQuadsetPicker
 
const voidm_pUiGotContext = nullptr
 
CEditorMap m_Map
 
std::deque< std::shared_ptr< CDataFileWriterFinishJob > > m_WriterFinishJobs
 
int m_ShiftBy
 
CLineInputBuffered< 256 > m_SettingsCommandInput
 
CMapSettingsBackend m_MapSettingsBackend
 
CMapSettingsBackend::CContext m_MapSettingsCommandContext
 
CImageInfo m_TileartImageInfo
 
char m_aTileartFilename [IO_MAX_PATH_LENGTH]
 
CImageInfo m_QuadArtImageInfo
 
CQuadArtParameters m_QuadArtParameters
 
int m_PopupEnvelopeSelectedPoint = -1
 
unsigned char m_TeleNumber
 
unsigned char m_TeleCheckpointNumber
 
unsigned char m_ViewTeleNumber
 
unsigned char m_TuningNum
 
unsigned char m_ViewTuning
 
unsigned char m_SpeedupForce
 
unsigned char m_SpeedupMaxSpeed
 
short m_SpeedupAngle
 
unsigned char m_SwitchNum
 
unsigned char m_SwitchDelay
 
unsigned char m_ViewSwitch
 
CEditorHistory m_EditorHistory
 
CEditorHistory m_ServerSettingsHistory
 
CEditorHistory m_EnvelopeEditorHistory
 
CQuadEditTracker m_QuadTracker
 
CEnvelopeEditorOperationTracker m_EnvOpTracker
 

Private Types

enum  EPreviewState { PREVIEW_UNLOADED , PREVIEW_LOADED , PREVIEW_ERROR }
 

Private Member Functions

int GetTextureUsageFlag () const
 
CEditorHistoryActiveHistory ()
 

Private Attributes

class IInputm_pInput = nullptr
 
class IClientm_pClient = nullptr
 
class IConfigManagerm_pConfigManager = nullptr
 
class CConfigm_pConfig = nullptr
 
class IConsolem_pConsole = nullptr
 
class IEnginem_pEngine = nullptr
 
class IGraphicsm_pGraphics = nullptr
 
class ITextRenderm_pTextRender = nullptr
 
class ISoundm_pSound = nullptr
 
class IStoragem_pStorage = nullptr
 
CRenderMap m_RenderMap
 
CUi m_UI
 
std::vector< std::reference_wrapper< CEditorComponent > > m_vComponents
 
CMapView m_MapView
 
CLayerSelector m_LayerSelector
 
CFileBrowser m_FileBrowser
 
CPrompt m_Prompt
 
CFontTyper m_FontTyper
 
bool m_EditorWasUsedBefore = false
 
IGraphics::CTextureHandle m_EntitiesTexture
 
IGraphics::CTextureHandle m_FrontTexture
 
IGraphics::CTextureHandle m_TeleTexture
 
IGraphics::CTextureHandle m_SpeedupTexture
 
IGraphics::CTextureHandle m_SwitchTexture
 
IGraphics::CTextureHandle m_TuneTexture
 
std::shared_ptr< CLayerGroupm_apSavedBrushes [10]
 
std::map< int, CPoint[5]> m_QuadDragOriginalPoints
 

Static Private Attributes

static constexpr ColorRGBA ms_DefaultPropColor = ColorRGBA(1, 1, 1, 0.5f)
 

Additional Inherited Members

- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Member Enumeration Documentation

◆ anonymous enum

Enumerator
POPEVENT_EXIT 
POPEVENT_LOAD 
POPEVENT_LOADCURRENT 
POPEVENT_LOADDROP 
POPEVENT_NEW 
POPEVENT_LARGELAYER 
POPEVENT_PREVENTUNUSEDTILES 
POPEVENT_IMAGEDIV16 
POPEVENT_IMAGE_MAX 
POPEVENT_SOUND_MAX 
POPEVENT_PLACE_BORDER_TILES 
POPEVENT_TILEART_BIG_IMAGE 
POPEVENT_TILEART_MANY_COLORS 
POPEVENT_TILEART_TOO_MANY_COLORS 
POPEVENT_QUADART_BIG_IMAGE 
POPEVENT_REMOVE_USED_IMAGE 
POPEVENT_REMOVE_USED_SOUND 
POPEVENT_RESTART_SERVER 
POPEVENT_RESTARTING_SERVER 

◆ EAxis

Enumerator
AXIS_NONE 
AXIS_X 
AXIS_Y 

◆ EAxisLock

Enumerator
Start 
None 
Horizontal 
Vertical 

◆ ECursorType

Enumerator
CURSOR_NORMAL 
CURSOR_RESIZE_V 
CURSOR_RESIZE_H 
NUM_CURSORS 

◆ EDragSide

Enumerator
SIDE_BOTTOM 
SIDE_LEFT 
SIDE_TOP 
SIDE_RIGHT 

◆ EExtraEditor

Enumerator
EXTRAEDITOR_NONE 
EXTRAEDITOR_ENVELOPES 
EXTRAEDITOR_SERVER_SETTINGS 
EXTRAEDITOR_HISTORY 
NUM_EXTRAEDITORS 

◆ EPreviewState

Enumerator
PREVIEW_UNLOADED 
PREVIEW_LOADED 
PREVIEW_ERROR 

◆ EShowEnvelope

Enumerator
SHOWENV_NONE 
SHOWENV_SELECTED 
SHOWENV_ALL 

◆ EShowTile

Enumerator
SHOW_TILE_OFF 
SHOW_TILE_DECIMAL 
SHOW_TILE_HEXADECIMAL 

◆ EUnusedEntities

Enumerator
ALLOWED_IMPLICIT 
NOT_ALLOWED 
ALLOWED_EXPLICIT 

Constructor & Destructor Documentation

◆ CEditor()

CEditor::CEditor ( )
inline

Member Function Documentation

◆ ActiveHistory()

CEditorHistory & CEditor::ActiveHistory ( )
private

◆ AddFrontLayer()

void CEditor::AddFrontLayer ( )

◆ AddGroup()

void CEditor::AddGroup ( )

◆ AddImage()

bool CEditor::AddImage ( const char pFilename,
int  StorageType,
void pUser 
)
static

◆ AddQuadArt()

void CEditor::AddQuadArt ( bool  IgnoreHistory = false)

◆ AddQuadOrSound()

void CEditor::AddQuadOrSound ( )

◆ AddQuadsLayer()

void CEditor::AddQuadsLayer ( )

◆ AddSelectedLayer()

void CEditor::AddSelectedLayer ( int  LayerIndex)

◆ AddSound()

bool CEditor::AddSound ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ AddSoundLayer()

void CEditor::AddSoundLayer ( )

◆ AddSpeedupLayer()

void CEditor::AddSpeedupLayer ( )

◆ AddSwitchLayer()

void CEditor::AddSwitchLayer ( )

◆ AddTeleLayer()

void CEditor::AddTeleLayer ( )

◆ AddTileart()

void CEditor::AddTileart ( bool  IgnoreHistory = false)

◆ AddTileLayer()

void CEditor::AddTileLayer ( )

◆ AddTuneLayer()

void CEditor::AddTuneLayer ( )

◆ AdjustBrushSpecialTiles()

void CEditor::AdjustBrushSpecialTiles ( bool  UseNextFree,
int  Adjust = 0 
)

◆ Append()

bool CEditor::Append ( const char pFilename,
int  StorageType,
bool  IgnoreHistory = false 
)

◆ ApplyAlignments()

void CEditor::ApplyAlignments ( const std::vector< SAlignmentInfo > &  vAlignments,
int OffsetX,
int OffsetY 
)

◆ ApplyAxisAlignment()

void CEditor::ApplyAxisAlignment ( int OffsetX,
int OffsetY 
) const

◆ CallbackAddQuadArt()

bool CEditor::CallbackAddQuadArt ( const char pFilepath,
int  StorageType,
void pUser 
)
static

◆ CallbackAddTileart()

bool CEditor::CallbackAddTileart ( const char pFilepath,
int  StorageType,
void pUser 
)
static

◆ CallbackAppendMap()

bool CEditor::CallbackAppendMap ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackCustomEntities()

bool CEditor::CallbackCustomEntities ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackOpenMap()

bool CEditor::CallbackOpenMap ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackSaveCopyMap()

bool CEditor::CallbackSaveCopyMap ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackSaveImage()

bool CEditor::CallbackSaveImage ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackSaveMap()

bool CEditor::CallbackSaveMap ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CallbackSaveSound()

bool CEditor::CallbackSaveSound ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ CanFillGameTiles()

bool CEditor::CanFillGameTiles ( ) const

◆ Client()

class IClient * CEditor::Client ( ) const
inline

◆ ComputeAABBAlignments()

void CEditor::ComputeAABBAlignments ( const std::shared_ptr< CLayerQuads > &  pLayer,
const SAxisAlignedBoundingBox AABB,
int  OffsetX,
int  OffsetY,
std::vector< SAlignmentInfo > &  vAlignments 
) const

◆ ComputePointAlignments()

void CEditor::ComputePointAlignments ( const std::shared_ptr< CLayerQuads > &  pLayer,
CQuad pQuad,
int  QuadIndex,
int  PointIndex,
int  OffsetX,
int  OffsetY,
std::vector< SAlignmentInfo > &  vAlignments,
bool  Append = false 
) const

◆ ComputePointsAlignments()

void CEditor::ComputePointsAlignments ( const std::shared_ptr< CLayerQuads > &  pLayer,
bool  Pivot,
int  OffsetX,
int  OffsetY,
std::vector< SAlignmentInfo > &  vAlignments 
) const

◆ Config()

class CConfig * CEditor::Config ( ) const
inline

◆ ConfigManager()

class IConfigManager * CEditor::ConfigManager ( ) const
inline

◆ Console()

class IConsole * CEditor::Console ( ) const
inline

◆ DeleteSelectedLayer()

void CEditor::DeleteSelectedLayer ( )

◆ DeleteSelectedQuads()

void CEditor::DeleteSelectedQuads ( )

◆ DeselectEnvPoints()

void CEditor::DeselectEnvPoints ( )

◆ DeselectQuadPoints()

void CEditor::DeselectQuadPoints ( )

◆ DeselectQuads()

void CEditor::DeselectQuads ( )

◆ DoAudioPreview()

void CEditor::DoAudioPreview ( CUIRect  View,
const void pPlayPauseButtonId,
const void pStopButtonId,
const void pSeekBarId,
int  SampleId 
)

◆ DoButton_DraggableEx()

int CEditor::DoButton_DraggableEx ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
bool pClicked,
bool pAbrupted,
int  Flags,
const char pToolTip = nullptr,
int  Corners = IGraphics::CORNER_ALL,
float  FontSize = 10.0f 
)

◆ DoButton_Editor()

int CEditor::DoButton_Editor ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
int  Flags,
const char pToolTip 
)

◆ DoButton_Editor_Common()

int CEditor::DoButton_Editor_Common ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
int  Flags,
const char pToolTip 
)

◆ DoButton_Env()

int CEditor::DoButton_Env ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
const char pToolTip,
ColorRGBA  Color,
int  Corners 
)

◆ DoButton_Ex()

int CEditor::DoButton_Ex ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
int  Flags,
const char pToolTip,
int  Corners,
float  FontSize = EditorFontSizes::MENU,
int  Align = TEXTALIGN_MC 
)

◆ DoButton_FontIcon()

int CEditor::DoButton_FontIcon ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
int  Flags,
const char pToolTip,
int  Corners,
float  FontSize = 10.0f 
)

◆ DoButton_MenuItem()

int CEditor::DoButton_MenuItem ( const void pId,
const char pText,
int  Checked,
const CUIRect pRect,
int  Flags = BUTTONFLAG_LEFT,
const char pToolTip = nullptr 
)

◆ DoClearableEditBox()

bool CEditor::DoClearableEditBox ( CLineInput pLineInput,
const CUIRect pRect,
float  FontSize,
int  Corners = IGraphics::CORNER_ALL,
const char pToolTip = nullptr,
const std::vector< STextColorSplit > &  vColorSplits = {} 
)

◆ DoColorPickerButton()

void CEditor::DoColorPickerButton ( const void pId,
const CUIRect pRect,
ColorRGBA  Color,
const std::function< void(ColorRGBA Color)> &  SetColor 
)

◆ DoEditBox()

bool CEditor::DoEditBox ( CLineInput pLineInput,
const CUIRect pRect,
float  FontSize,
int  Corners = IGraphics::CORNER_ALL,
const char pToolTip = nullptr,
const std::vector< STextColorSplit > &  vColorSplits = {} 
)

◆ DoEditBoxDropdown()

template<typename T >
int CEditor::DoEditBoxDropdown ( SEditBoxDropdownContext pDropdown,
CLineInput pLineInput,
const CUIRect pEditBoxRect,
int  x,
float  MaxHeight,
bool  AutoWidth,
const std::vector< T > &  vData,
const FDropdownRenderCallback< T > &  pfnMatchCallback 
)

◆ DoEditorDragBar()

void CEditor::DoEditorDragBar ( CUIRect  View,
CUIRect pDragBar,
EDragSide  Side,
float pValue,
float  MinValue = 100.0f,
float  MaxValue = 400.0f 
)

◆ DoMapEditor()

void CEditor::DoMapEditor ( CUIRect  View)

◆ DoMapSettingsEditBox()

void CEditor::DoMapSettingsEditBox ( CMapSettingsBackend::CContext pContext,
const CUIRect pRect,
float  FontSize,
float  DropdownMaxHeight,
int  Corners = IGraphics::CORNER_ALL,
const char pToolTip = nullptr 
)

◆ DoPointDrag()

void CEditor::DoPointDrag ( const std::shared_ptr< CLayerQuads > &  pLayer,
CQuad pQuad,
int  QuadIndex,
int  PointIndex,
int  OffsetX,
int  OffsetY 
)

◆ DoProperties()

int CEditor::DoProperties ( CUIRect pToolbox,
CProperty pProps,
int pIds,
int pNewVal,
const std::vector< ColorRGBA > &  vColors = {} 
)

◆ DoPropertiesWithState()

template<typename E >
template SEditResult< ESoundProp > CEditor::DoPropertiesWithState ( CUIRect pToolbox,
CProperty pProps,
int pIds,
int pNewVal,
const std::vector< ColorRGBA > &  vColors = {} 
)

◆ DoQuad()

void CEditor::DoQuad ( int  LayerIndex,
const std::shared_ptr< CLayerQuads > &  pLayer,
CQuad pQuad,
int  Index 
)

◆ DoQuadEnvelopes()

void CEditor::DoQuadEnvelopes ( const std::vector< CQuad > &  vQuads,
IGraphics::CTextureHandle  Texture = IGraphics::CTextureHandle() 
)

◆ DoQuadEnvPoint()

void CEditor::DoQuadEnvPoint ( const CQuad pQuad,
int  QIndex,
int  pIndex 
)

◆ DoQuadKnife()

void CEditor::DoQuadKnife ( int  QuadIndex)

◆ DoQuadPoint()

void CEditor::DoQuadPoint ( int  LayerIndex,
const std::shared_ptr< CLayerQuads > &  pLayer,
CQuad pQuad,
int  QuadIndex,
int  v 
)

◆ DoSoundSource()

void CEditor::DoSoundSource ( int  LayerIndex,
CSoundSource pSource,
int  Index 
)

◆ DoToolbarImages()

void CEditor::DoToolbarImages ( CUIRect  Toolbar)

◆ DoToolbarLayers()

void CEditor::DoToolbarLayers ( CUIRect  Toolbar)

◆ DoToolbarSounds()

void CEditor::DoToolbarSounds ( CUIRect  Toolbar)

◆ DrawAABB()

void CEditor::DrawAABB ( const SAxisAlignedBoundingBox AABB,
int  OffsetX = 0,
int  OffsetY = 0 
) const

◆ DrawAxis()

void CEditor::DrawAxis ( EAxis  Axis,
CPoint OriginalPoint,
CPoint Point 
) const

◆ DrawPointAlignments()

void CEditor::DrawPointAlignments ( const std::vector< SAlignmentInfo > &  vAlignments,
int  OffsetX,
int  OffsetY 
) const

◆ Engine()

class IEngine * CEditor::Engine ( ) const
inline

◆ EnvelopeEval()

void CEditor::EnvelopeEval ( int  TimeOffsetMillis,
int  Env,
ColorRGBA Result,
size_t  Channels 
)
overridevirtual

Implements IEnvelopeEval.

◆ EnvelopeToScreenX()

float CEditor::EnvelopeToScreenX ( const CUIRect View,
float  x 
) const

◆ EnvelopeToScreenY()

float CEditor::EnvelopeToScreenY ( const CUIRect View,
float  y 
) const

◆ EnvGetSelectedTimeAndValue()

std::pair< CFixedTime, int > CEditor::EnvGetSelectedTimeAndValue ( ) const

◆ FillGameTiles()

void CEditor::FillGameTiles ( EGameTileOp  FillTile) const

◆ FindEnvPointIndex()

int CEditor::FindEnvPointIndex ( int  Index,
int  Channel 
) const

◆ FindSelectedQuadIndex()

int CEditor::FindSelectedQuadIndex ( int  Index) const

◆ FreeDynamicPopupMenus()

void CEditor::FreeDynamicPopupMenus ( )

◆ GetButtonColor()

ColorRGBA CEditor::GetButtonColor ( const void pId,
int  Checked 
)

◆ GetDragAxis()

CEditor::EAxis CEditor::GetDragAxis ( int  OffsetX,
int  OffsetY 
) const

◆ GetEntitiesTexture()

IGraphics::CTextureHandle CEditor::GetEntitiesTexture ( )

◆ GetFrontTexture()

IGraphics::CTextureHandle CEditor::GetFrontTexture ( )

◆ GetSelectedGroup()

std::shared_ptr< CLayerGroup > CEditor::GetSelectedGroup ( ) const

◆ GetSelectedLayer()

std::shared_ptr< CLayer > CEditor::GetSelectedLayer ( int  Index) const

◆ GetSelectedLayerType()

std::shared_ptr< CLayer > CEditor::GetSelectedLayerType ( int  Index,
int  Type 
) const

◆ GetSelectedQuads()

std::vector< CQuad * > CEditor::GetSelectedQuads ( )

◆ GetSelectedSource()

CSoundSource * CEditor::GetSelectedSource ( ) const

◆ GetSpeedupTexture()

IGraphics::CTextureHandle CEditor::GetSpeedupTexture ( )

◆ GetSwitchTexture()

IGraphics::CTextureHandle CEditor::GetSwitchTexture ( )

◆ GetTeleTexture()

IGraphics::CTextureHandle CEditor::GetTeleTexture ( )

◆ GetTextureUsageFlag()

int CEditor::GetTextureUsageFlag ( ) const
private

◆ GetTuneTexture()

IGraphics::CTextureHandle CEditor::GetTuneTexture ( )

◆ Graphics()

class IGraphics * CEditor::Graphics ( ) const
inline

◆ HandleAutosave()

void CEditor::HandleAutosave ( )

◆ HandleCursorMovement()

void CEditor::HandleCursorMovement ( )

◆ HandleMapDrop()

bool CEditor::HandleMapDrop ( const char pFilename,
int  StorageType 
)
overridevirtual

Implements IEditor.

◆ HandleWriterFinishJobs()

void CEditor::HandleWriterFinishJobs ( )

◆ HasUnsavedData()

bool CEditor::HasUnsavedData ( ) const
inlineoverridevirtual

Implements IEditor.

◆ HoverTiles()

const std::vector< CHoverTile > & CEditor::HoverTiles ( ) const
inline

◆ Init()

void CEditor::Init ( )
overridevirtual

Implements IEditor.

◆ Input()

class IInput * CEditor::Input ( ) const
inline

◆ IsAllowPlaceUnusedTiles()

bool CEditor::IsAllowPlaceUnusedTiles ( ) const

◆ IsAssetUsed()

bool CEditor::IsAssetUsed ( CFileBrowser::EFileType  FileType,
int  Index,
void pUser 
)
static

◆ IsEnvelopeUsed()

bool CEditor::IsEnvelopeUsed ( int  EnvelopeIndex) const

◆ IsEnvPointSelected() [1/2]

bool CEditor::IsEnvPointSelected ( int  Index) const

◆ IsEnvPointSelected() [2/2]

bool CEditor::IsEnvPointSelected ( int  Index,
int  Channel 
) const

◆ IsInTriangle()

bool CEditor::IsInTriangle ( vec2  Point,
vec2  A,
vec2  B,
vec2  C 
)

◆ IsNonGameTileLayerSelected()

bool CEditor::IsNonGameTileLayerSelected ( ) const

◆ IsQuadCornerSelected()

bool CEditor::IsQuadCornerSelected ( int  Index) const

◆ IsQuadPointSelected()

bool CEditor::IsQuadPointSelected ( int  QuadIndex,
int  Index 
) const

◆ IsQuadSelected()

bool CEditor::IsQuadSelected ( int  Index) const

◆ IsTangentInPointSelected()

bool CEditor::IsTangentInPointSelected ( int  Index,
int  Channel 
) const

◆ IsTangentInSelected()

bool CEditor::IsTangentInSelected ( ) const

◆ IsTangentOutPointSelected()

bool CEditor::IsTangentOutPointSelected ( int  Index,
int  Channel 
) const

◆ IsTangentOutSelected()

bool CEditor::IsTangentOutSelected ( ) const

◆ IsTangentSelected()

bool CEditor::IsTangentSelected ( ) const

◆ IsVanillaImage()

bool CEditor::IsVanillaImage ( const char pImage)
static

◆ LayerSelectImage()

void CEditor::LayerSelectImage ( )

◆ LayerSelector()

CLayerSelector * CEditor::LayerSelector ( )
inline

◆ Load()

bool CEditor::Load ( const char pFilename,
int  StorageType 
)
overridevirtual

Implements IEditor.

◆ LoadCurrentMap()

void CEditor::LoadCurrentMap ( )

◆ MapDetails()

void CEditor::MapDetails ( )

◆ MapSettingsDropdownRenderCallback()

void CEditor::MapSettingsDropdownRenderCallback ( const SPossibleValueMatch Match,
char(&)  aOutput[128],
std::vector< STextColorSplit > &  vColorSplits 
)
static

◆ MapView() [1/2]

CMapView * CEditor::MapView ( )
inline

◆ MapView() [2/2]

const CMapView * CEditor::MapView ( ) const
inline

◆ MouseAxisLock()

void CEditor::MouseAxisLock ( vec2 CursorRel)

◆ OnActivate()

void CEditor::OnActivate ( )
overridevirtual

Implements IEditor.

◆ OnClose()

void CEditor::OnClose ( )
overridevirtual

Implements IEditor.

◆ OnDialogClose()

void CEditor::OnDialogClose ( )

◆ OnIngameMoved()

void CEditor::OnIngameMoved ( )
inlineoverridevirtual

Implements IEditor.

◆ OnMouseMove()

void CEditor::OnMouseMove ( vec2  MousePos)

◆ OnRender()

void CEditor::OnRender ( )
overridevirtual

Implements IEditor.

◆ OnUpdate()

void CEditor::OnUpdate ( )
overridevirtual

Implements IEditor.

◆ OnWindowResize()

void CEditor::OnWindowResize ( )
overridevirtual

Implements IEditor.

◆ PerformAutosave()

bool CEditor::PerformAutosave ( )

◆ PlaceBorderTiles()

void CEditor::PlaceBorderTiles ( )

◆ PopupAnimateSettings()

CUi::EPopupMenuFunctionResult CEditor::PopupAnimateSettings ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEntities()

CUi::EPopupMenuFunctionResult CEditor::PopupEntities ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEnvelopeCurvetype()

CUi::EPopupMenuFunctionResult CEditor::PopupEnvelopeCurvetype ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEnvPoint()

CUi::EPopupMenuFunctionResult CEditor::PopupEnvPoint ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEnvPointCurveType()

CUi::EPopupMenuFunctionResult CEditor::PopupEnvPointCurveType ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEnvPointMulti()

CUi::EPopupMenuFunctionResult CEditor::PopupEnvPointMulti ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupEvent()

CUi::EPopupMenuFunctionResult CEditor::PopupEvent ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupGoto()

CUi::EPopupMenuFunctionResult CEditor::PopupGoto ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupGroup()

CUi::EPopupMenuFunctionResult CEditor::PopupGroup ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupImage()

CUi::EPopupMenuFunctionResult CEditor::PopupImage ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupLayer()

CUi::EPopupMenuFunctionResult CEditor::PopupLayer ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupMapInfo()

CUi::EPopupMenuFunctionResult CEditor::PopupMapInfo ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupMenuFile()

CUi::EPopupMenuFunctionResult CEditor::PopupMenuFile ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupMenuSettings()

CUi::EPopupMenuFunctionResult CEditor::PopupMenuSettings ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupMenuTools()

CUi::EPopupMenuFunctionResult CEditor::PopupMenuTools ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupPoint()

CUi::EPopupMenuFunctionResult CEditor::PopupPoint ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupProofMode()

CUi::EPopupMenuFunctionResult CEditor::PopupProofMode ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupQuad()

CUi::EPopupMenuFunctionResult CEditor::PopupQuad ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupQuadArt()

CUi::EPopupMenuFunctionResult CEditor::PopupQuadArt ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectAutoMapReference()

CUi::EPopupMenuFunctionResult CEditor::PopupSelectAutoMapReference ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectAutoMapReferenceInvoke()

void CEditor::PopupSelectAutoMapReferenceInvoke ( int  Current,
float  x,
float  y 
)

◆ PopupSelectAutoMapReferenceResult()

int CEditor::PopupSelectAutoMapReferenceResult ( )

◆ PopupSelectConfigAutoMap()

CUi::EPopupMenuFunctionResult CEditor::PopupSelectConfigAutoMap ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectConfigAutoMapInvoke()

void CEditor::PopupSelectConfigAutoMapInvoke ( int  Current,
float  x,
float  y 
)

◆ PopupSelectConfigAutoMapResult()

int CEditor::PopupSelectConfigAutoMapResult ( )

◆ PopupSelectGametileOp()

CUi::EPopupMenuFunctionResult CEditor::PopupSelectGametileOp ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectGametileOpInvoke()

void CEditor::PopupSelectGametileOpInvoke ( float  x,
float  y 
)

◆ PopupSelectGameTileOpResult()

int CEditor::PopupSelectGameTileOpResult ( )

◆ PopupSelectImage()

CUi::EPopupMenuFunctionResult CEditor::PopupSelectImage ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectImageInvoke()

void CEditor::PopupSelectImageInvoke ( int  Current,
float  x,
float  y 
)

◆ PopupSelectImageResult()

int CEditor::PopupSelectImageResult ( )

◆ PopupSelectSound()

CUi::EPopupMenuFunctionResult CEditor::PopupSelectSound ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSelectSoundInvoke()

void CEditor::PopupSelectSoundInvoke ( int  Current,
float  x,
float  y 
)

◆ PopupSelectSoundResult()

int CEditor::PopupSelectSoundResult ( )

◆ PopupSound()

CUi::EPopupMenuFunctionResult CEditor::PopupSound ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSource()

CUi::EPopupMenuFunctionResult CEditor::PopupSource ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSpeedup()

CUi::EPopupMenuFunctionResult CEditor::PopupSpeedup ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupSwitch()

CUi::EPopupMenuFunctionResult CEditor::PopupSwitch ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupTele()

CUi::EPopupMenuFunctionResult CEditor::PopupTele ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PopupTune()

CUi::EPopupMenuFunctionResult CEditor::PopupTune ( void pContext,
CUIRect  View,
bool  Active 
)
static

◆ PreparePointDrag()

void CEditor::PreparePointDrag ( const std::shared_ptr< CLayerQuads > &  pLayer,
CQuad pQuad,
int  QuadIndex,
int  PointIndex 
)

◆ QuadSelectionAABB()

void CEditor::QuadSelectionAABB ( const std::shared_ptr< CLayerQuads > &  pLayer,
SAxisAlignedBoundingBox OutAABB 
)

◆ RemoveTimeOffsetEnvelope()

void CEditor::RemoveTimeOffsetEnvelope ( const std::shared_ptr< CEnvelope > &  pEnvelope)

◆ RemoveUnusedEnvelopes()

void CEditor::RemoveUnusedEnvelopes ( )

◆ Render()

void CEditor::Render ( )

◆ RenderBackground()

void CEditor::RenderBackground ( CUIRect  View,
IGraphics::CTextureHandle  Texture,
float  Size,
float  Brightness 
) const

◆ RenderEditBoxDropdown()

template<typename T >
int CEditor::RenderEditBoxDropdown ( SEditBoxDropdownContext pDropdown,
CUIRect  View,
CLineInput pLineInput,
int  x,
float  MaxHeight,
bool  AutoWidth,
const std::vector< T > &  vData,
const FDropdownRenderCallback< T > &  pfnMatchCallback 
)

◆ RenderEditorHistory()

void CEditor::RenderEditorHistory ( CUIRect  View)

◆ RenderEnvelopeEditor()

void CEditor::RenderEnvelopeEditor ( CUIRect  View)

◆ RenderEnvelopeEditorColorBar()

void CEditor::RenderEnvelopeEditorColorBar ( CUIRect  ColorBar,
const std::shared_ptr< CEnvelope > &  pEnvelope 
)

◆ RenderGameEntities()

void CEditor::RenderGameEntities ( const std::shared_ptr< CLayerTiles > &  pTiles)

◆ RenderImagesList()

void CEditor::RenderImagesList ( CUIRect  Toolbox)

◆ RenderLayers()

void CEditor::RenderLayers ( CUIRect  LayersBox)

◆ RenderMap()

CRenderMap * CEditor::RenderMap ( )
inline

◆ RenderMapSettingsErrorDialog()

void CEditor::RenderMapSettingsErrorDialog ( )

◆ RenderMenubar()

void CEditor::RenderMenubar ( CUIRect  Menubar)

◆ RenderModebar()

void CEditor::RenderModebar ( CUIRect  View)

◆ RenderMousePointer()

void CEditor::RenderMousePointer ( )

◆ RenderPressedKeys()

void CEditor::RenderPressedKeys ( CUIRect  View)

◆ RenderSavingIndicator()

void CEditor::RenderSavingIndicator ( CUIRect  View)

◆ RenderSelectedImage()

void CEditor::RenderSelectedImage ( CUIRect  View)

◆ RenderServerSettingsEditor()

void CEditor::RenderServerSettingsEditor ( CUIRect  View,
bool  ShowServerSettingsEditorLast 
)

◆ RenderSounds()

void CEditor::RenderSounds ( CUIRect  Toolbox)

◆ RenderStatusbar()

void CEditor::RenderStatusbar ( CUIRect  View,
CUIRect pTooltipRect 
)

◆ RenderSwitchEntities()

void CEditor::RenderSwitchEntities ( const std::shared_ptr< CLayerTiles > &  pTiles)

◆ RenderTooltip()

void CEditor::RenderTooltip ( CUIRect  TooltipRect)

◆ ReplaceImage()

bool CEditor::ReplaceImage ( const char pFilename,
int  StorageType,
bool  CheckDuplicate 
)

◆ ReplaceImageCallback()

bool CEditor::ReplaceImageCallback ( const char pFilename,
int  StorageType,
void pUser 
)
static

◆ ReplaceSound()

bool CEditor::ReplaceSound ( const char pFileName,
int  StorageType,
bool  CheckDuplicate 
)

◆ ReplaceSoundCallback()

bool CEditor::ReplaceSoundCallback ( const char pFileName,
int  StorageType,
void pUser 
)
static

◆ Reset()

void CEditor::Reset ( bool  CreateDefault = true)

◆ ResetIngameMoved()

void CEditor::ResetIngameMoved ( )
inlineoverridevirtual

Implements IEditor.

◆ ResetMentions()

void CEditor::ResetMentions ( )
inlineoverridevirtual

Implements IEditor.

◆ ResetZoomEnvelope()

void CEditor::ResetZoomEnvelope ( const std::shared_ptr< CEnvelope > &  pEnvelope,
int  ActiveChannels 
)

◆ Save()

bool CEditor::Save ( const char pFilename)
overridevirtual

Implements IEditor.

◆ ScreenToEnvelopeDX()

float CEditor::ScreenToEnvelopeDX ( const CUIRect View,
float  DeltaX 
)

◆ ScreenToEnvelopeDY()

float CEditor::ScreenToEnvelopeDY ( const CUIRect View,
float  DeltaY 
)

◆ ScreenToEnvelopeX()

float CEditor::ScreenToEnvelopeX ( const CUIRect View,
float  x 
) const

◆ ScreenToEnvelopeY()

float CEditor::ScreenToEnvelopeY ( const CUIRect View,
float  y 
) const

◆ SelectEnvPoint() [1/2]

void CEditor::SelectEnvPoint ( int  Index)

◆ SelectEnvPoint() [2/2]

void CEditor::SelectEnvPoint ( int  Index,
int  Channel 
)

◆ SelectGameLayer()

void CEditor::SelectGameLayer ( )

◆ SelectLayer()

void CEditor::SelectLayer ( int  LayerIndex,
int  GroupIndex = -1 
)

◆ SelectNextLayer()

void CEditor::SelectNextLayer ( )

◆ SelectPreviousLayer()

void CEditor::SelectPreviousLayer ( )

◆ SelectQuad()

void CEditor::SelectQuad ( int  Index)

◆ SelectQuadPoint()

void CEditor::SelectQuadPoint ( int  QuadIndex,
int  Index 
)

◆ SelectTangentInPoint()

void CEditor::SelectTangentInPoint ( int  Index,
int  Channel 
)

◆ SelectTangentOutPoint()

void CEditor::SelectTangentOutPoint ( int  Index,
int  Channel 
)

◆ SetHotEnvelopePoint()

void CEditor::SetHotEnvelopePoint ( const CUIRect View,
const std::shared_ptr< CEnvelope > &  pEnvelope,
int  ActiveChannels 
)

◆ SetHotQuadPoint()

void CEditor::SetHotQuadPoint ( const std::shared_ptr< CLayerQuads > &  pLayer)

◆ ShowFileDialogError()

void CEditor::ShowFileDialogError ( const char pFormat,
  ... 
)

◆ SortImages()

std::vector< int > CEditor::SortImages ( )

◆ Sound()

class ISound * CEditor::Sound ( ) const
inline

◆ Storage()

class IStorage * CEditor::Storage ( ) const
inline

◆ TestMapLocally()

void CEditor::TestMapLocally ( )

◆ TextRender()

class ITextRender * CEditor::TextRender ( ) const
inline

◆ TileartCheckColors()

void CEditor::TileartCheckColors ( )

◆ ToggleEnvPoint()

void CEditor::ToggleEnvPoint ( int  Index,
int  Channel 
)

◆ ToggleSelectQuad()

void CEditor::ToggleSelectQuad ( int  Index)

◆ ToggleSelectQuadPoint()

void CEditor::ToggleSelectQuadPoint ( int  QuadIndex,
int  Index 
)

◆ TriangleArea()

float CEditor::TriangleArea ( vec2  A,
vec2  B,
vec2  C 
)

◆ Ui()

CUi * CEditor::Ui ( )
inline

◆ UiDoValueSelector()

SEditResult< int > CEditor::UiDoValueSelector ( void pId,
CUIRect pRect,
const char pLabel,
int  Current,
int  Min,
int  Max,
int  Step,
float  Scale,
const char pToolTip,
bool  IsDegree = false,
bool  IsHex = false,
int  Corners = IGraphics::CORNER_ALL,
const ColorRGBA pColor = nullptr,
bool  ShowValue = true 
)

◆ UpdateColorPipette()

void CEditor::UpdateColorPipette ( )

◆ UpdateMentions()

void CEditor::UpdateMentions ( )
inlineoverridevirtual

Implements IEditor.

◆ UpdateTooltip()

void CEditor::UpdateTooltip ( const void pId,
const CUIRect pRect,
const char pToolTip 
)

◆ UpdateZoomEnvelopeX()

void CEditor::UpdateZoomEnvelopeX ( const CUIRect View)

◆ UpdateZoomEnvelopeY()

void CEditor::UpdateZoomEnvelopeY ( const CUIRect View)

◆ ZoomAdaptOffsetX()

void CEditor::ZoomAdaptOffsetX ( float  ZoomFactor,
const CUIRect View 
)

◆ ZoomAdaptOffsetY()

void CEditor::ZoomAdaptOffsetY ( float  ZoomFactor,
const CUIRect View 
)

Member Data Documentation

◆ m_ActiveExtraEditor

EExtraEditor CEditor::m_ActiveExtraEditor = EXTRAEDITOR_NONE

◆ m_aCursorTextures

◆ m_aExtraEditorSplits

float CEditor::m_aExtraEditorSplits[NUM_EXTRAEDITORS] = {250.0f, 250.0f, 250.0f}

◆ m_aFileName

char CEditor::m_aFileName[IO_MAX_PATH_LENGTH]

◆ m_aFileNamePending

char CEditor::m_aFileNamePending[IO_MAX_PATH_LENGTH]

◆ m_AllowPlaceUnusedTiles

EUnusedEntities CEditor::m_AllowPlaceUnusedTiles

◆ m_Animate

bool CEditor::m_Animate

◆ m_AnimateSpeed

float CEditor::m_AnimateSpeed

◆ m_AnimateStart

int64_t CEditor::m_AnimateStart

◆ m_AnimateTime

float CEditor::m_AnimateTime

◆ m_AnimateUpdatePopup

bool CEditor::m_AnimateUpdatePopup

◆ m_apSavedBrushes

std::shared_ptr<CLayerGroup> CEditor::m_apSavedBrushes[10]
private

◆ m_aQuadKnifePoints

vec2 CEditor::m_aQuadKnifePoints[4]

◆ m_aSavedColors

ColorRGBA CEditor::m_aSavedColors[8]

◆ m_aTileartFilename

char CEditor::m_aTileartFilename[IO_MAX_PATH_LENGTH]

◆ m_aTooltip

char CEditor::m_aTooltip[256] = ""

◆ m_BrushColorEnabled

bool CEditor::m_BrushColorEnabled

◆ m_BrushDrawDestructive

bool CEditor::m_BrushDrawDestructive

◆ m_CheckerTexture

IGraphics::CTextureHandle CEditor::m_CheckerTexture

◆ m_ColorPickerPopupContext

CUi::SColorPickerPopupContext CEditor::m_ColorPickerPopupContext

◆ m_ColorPipetteActive

bool CEditor::m_ColorPipetteActive = false

◆ m_CurrentQuadIndex

int CEditor::m_CurrentQuadIndex

◆ m_CursorType

ECursorType CEditor::m_CursorType

◆ m_Dialog

int CEditor::m_Dialog

◆ m_EditorHistory

CEditorHistory CEditor::m_EditorHistory

◆ m_EditorWasUsedBefore

bool CEditor::m_EditorWasUsedBefore = false
private

◆ m_EntitiesTexture

IGraphics::CTextureHandle CEditor::m_EntitiesTexture
private

◆ m_EnvelopeEditorHistory

CEditorHistory CEditor::m_EnvelopeEditorHistory

◆ m_EnvOpTracker

CEnvelopeEditorOperationTracker CEditor::m_EnvOpTracker

◆ m_FileBrowser

CFileBrowser CEditor::m_FileBrowser
private

◆ m_FontTyper

CFontTyper CEditor::m_FontTyper
private

◆ m_FrontTexture

IGraphics::CTextureHandle CEditor::m_FrontTexture
private

◆ m_GuiActive

bool CEditor::m_GuiActive

◆ m_IngameMoved

bool CEditor::m_IngameMoved = false

◆ m_LargeLayerWasWarned

bool CEditor::m_LargeLayerWasWarned

◆ m_LayerSelector

CLayerSelector CEditor::m_LayerSelector
private

◆ m_Map

CEditorMap CEditor::m_Map

◆ m_MapEditorId

char CEditor::m_MapEditorId

◆ m_MapSettingsBackend

CMapSettingsBackend CEditor::m_MapSettingsBackend

◆ m_MapSettingsCommandContext

CMapSettingsBackend::CContext CEditor::m_MapSettingsCommandContext

◆ m_MapView

CMapView CEditor::m_MapView
private

◆ m_Mentions

int CEditor::m_Mentions = 0

◆ m_Mode

int CEditor::m_Mode

◆ m_MouseAxisInitialPos

vec2 CEditor::m_MouseAxisInitialPos = vec2(0.0f, 0.0f)

◆ m_MouseAxisLockState

enum CEditor::EAxisLock CEditor::m_MouseAxisLockState = EAxisLock::Start

◆ m_MouseDeltaWorld

vec2 CEditor::m_MouseDeltaWorld = vec2(0.0f, 0.0f)

◆ m_MouseWorldNoParaPos

vec2 CEditor::m_MouseWorldNoParaPos = vec2(0.0f, 0.0f)

◆ m_MouseWorldPos

vec2 CEditor::m_MouseWorldPos = vec2(0.0f, 0.0f)

◆ m_MouseWorldScale

float CEditor::m_MouseWorldScale = 1.0f

◆ m_OffsetEnvelopeX

float CEditor::m_OffsetEnvelopeX

◆ m_OffsetEnvelopeY

float CEditor::m_OffsetEnvelopeY

◆ m_pBrush

std::shared_ptr<CLayerGroup> CEditor::m_pBrush

◆ m_pClient

class IClient* CEditor::m_pClient = nullptr
private

◆ m_pColorPickerPopupActiveId

const void* CEditor::m_pColorPickerPopupActiveId = nullptr

◆ m_pConfig

class CConfig* CEditor::m_pConfig = nullptr
private

◆ m_pConfigManager

class IConfigManager* CEditor::m_pConfigManager = nullptr
private

◆ m_pConsole

class IConsole* CEditor::m_pConsole = nullptr
private

◆ m_pContainerPanned

const void* CEditor::m_pContainerPanned

◆ m_pContainerPannedLast

const void* CEditor::m_pContainerPannedLast

◆ m_pEngine

class IEngine* CEditor::m_pEngine = nullptr
private

◆ m_pGraphics

class IGraphics* CEditor::m_pGraphics = nullptr
private

◆ m_pInput

class IInput* CEditor::m_pInput = nullptr
private

◆ m_PipetteColor

ColorRGBA CEditor::m_PipetteColor = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f)

◆ m_PopupEnvelopeSelectedPoint

int CEditor::m_PopupEnvelopeSelectedPoint = -1

◆ m_PopupEventActivated

int CEditor::m_PopupEventActivated

◆ m_PopupEventType

int CEditor::m_PopupEventType

◆ m_PopupEventWasActivated

int CEditor::m_PopupEventWasActivated

◆ m_PopupMessageContexts

std::map<const char *, CUi::SMessagePopupContext *, SStringKeyComparator> CEditor::m_PopupMessageContexts

◆ m_pQuadsetPicker

std::shared_ptr<CLayerQuads> CEditor::m_pQuadsetPicker

◆ m_PreventUnusedTilesWasWarned

bool CEditor::m_PreventUnusedTilesWasWarned

◆ m_PreviewZoom

bool CEditor::m_PreviewZoom

◆ m_Prompt

CPrompt CEditor::m_Prompt
private

◆ m_pSound

class ISound* CEditor::m_pSound = nullptr
private

◆ m_pStorage

class IStorage* CEditor::m_pStorage = nullptr
private

◆ m_pTextRender

class ITextRender* CEditor::m_pTextRender = nullptr
private

◆ m_pTilesetPicker

std::shared_ptr<CLayerTiles> CEditor::m_pTilesetPicker

◆ m_pUiGotContext

const void* CEditor::m_pUiGotContext = nullptr

◆ m_QuadArtImageInfo

CImageInfo CEditor::m_QuadArtImageInfo

◆ m_QuadArtParameters

CQuadArtParameters CEditor::m_QuadArtParameters

◆ m_QuadDragOriginalPoints

std::map<int, CPoint[5]> CEditor::m_QuadDragOriginalPoints
private

◆ m_QuadKnifeActive

bool CEditor::m_QuadKnifeActive

◆ m_QuadKnifeCount

int CEditor::m_QuadKnifeCount

◆ m_QuadTracker

CQuadEditTracker CEditor::m_QuadTracker

◆ m_RenderMap

CRenderMap CEditor::m_RenderMap
private

◆ m_ResetZoomEnvelope

bool CEditor::m_ResetZoomEnvelope

◆ m_SelectedEnvelope

int CEditor::m_SelectedEnvelope

◆ m_SelectedGroup

int CEditor::m_SelectedGroup

◆ m_SelectedImage

int CEditor::m_SelectedImage

◆ m_SelectedQuadEnvelope

int CEditor::m_SelectedQuadEnvelope

◆ m_SelectedQuadIndex

int CEditor::m_SelectedQuadIndex

◆ m_SelectedQuadPoint

int CEditor::m_SelectedQuadPoint

◆ m_SelectedQuadPoints

int CEditor::m_SelectedQuadPoints

◆ m_SelectedSound

int CEditor::m_SelectedSound

◆ m_SelectedSource

int CEditor::m_SelectedSource

◆ m_SelectedTangentInPoint

std::pair<int, int> CEditor::m_SelectedTangentInPoint

◆ m_SelectedTangentOutPoint

std::pair<int, int> CEditor::m_SelectedTangentOutPoint

◆ m_SelectEntitiesImage

std::string CEditor::m_SelectEntitiesImage

◆ m_ServerSettingsHistory

CEditorHistory CEditor::m_ServerSettingsHistory

◆ m_SettingsCommandInput

CLineInputBuffered<256> CEditor::m_SettingsCommandInput

◆ m_ShiftBy

int CEditor::m_ShiftBy

◆ m_ShowDetail

bool CEditor::m_ShowDetail

◆ m_ShowEnvelopePreview

EShowEnvelope CEditor::m_ShowEnvelopePreview

◆ m_ShowMousePointer

bool CEditor::m_ShowMousePointer

◆ m_ShowPicker

bool CEditor::m_ShowPicker

◆ m_ShowTileInfo

EShowTile CEditor::m_ShowTileInfo

◆ m_SpeedupAngle

short CEditor::m_SpeedupAngle

◆ m_SpeedupForce

unsigned char CEditor::m_SpeedupForce

◆ m_SpeedupMaxSpeed

unsigned char CEditor::m_SpeedupMaxSpeed

◆ m_SpeedupTexture

IGraphics::CTextureHandle CEditor::m_SpeedupTexture
private

◆ m_SwitchDelay

unsigned char CEditor::m_SwitchDelay

◆ m_SwitchNum

unsigned char CEditor::m_SwitchNum

◆ m_SwitchTexture

IGraphics::CTextureHandle CEditor::m_SwitchTexture
private

◆ m_TeleCheckpointNumber

unsigned char CEditor::m_TeleCheckpointNumber

◆ m_TeleNumber

unsigned char CEditor::m_TeleNumber

◆ m_TeleTexture

IGraphics::CTextureHandle CEditor::m_TeleTexture
private

◆ m_TileartImageInfo

CImageInfo CEditor::m_TileartImageInfo

◆ m_ToolbarPreviewSound

int CEditor::m_ToolbarPreviewSound

◆ m_ToolBoxWidth

float CEditor::m_ToolBoxWidth = 100.0f

◆ m_TuneTexture

IGraphics::CTextureHandle CEditor::m_TuneTexture
private

◆ m_TuningNum

unsigned char CEditor::m_TuningNum

◆ m_UI

CUi CEditor::m_UI
private

◆ m_UpdateEnvPointInfo

bool CEditor::m_UpdateEnvPointInfo

◆ m_ValidSaveFilename

bool CEditor::m_ValidSaveFilename

◆ m_vComponents

std::vector<std::reference_wrapper<CEditorComponent> > CEditor::m_vComponents
private

◆ m_vHoverTiles

std::vector<CHoverTile> CEditor::m_vHoverTiles

◆ m_ViewSwitch

unsigned char CEditor::m_ViewSwitch

◆ m_ViewTeleNumber

unsigned char CEditor::m_ViewTeleNumber

◆ m_ViewTuning

unsigned char CEditor::m_ViewTuning

◆ m_vSelectedEnvelopePoints

std::vector<std::pair<int, int> > CEditor::m_vSelectedEnvelopePoints

◆ m_vSelectedLayers

std::vector<int> CEditor::m_vSelectedLayers

◆ m_vSelectedQuads

std::vector<int> CEditor::m_vSelectedQuads

◆ m_vSelectEntitiesFiles

std::vector<std::string> CEditor::m_vSelectEntitiesFiles

◆ m_WriterFinishJobs

std::deque<std::shared_ptr<CDataFileWriterFinishJob> > CEditor::m_WriterFinishJobs

◆ m_ZoomEnvelopeX

CSmoothValue CEditor::m_ZoomEnvelopeX

◆ m_ZoomEnvelopeY

CSmoothValue CEditor::m_ZoomEnvelopeY

◆ ms_DefaultPropColor

constexpr ColorRGBA CEditor::ms_DefaultPropColor = ColorRGBA(1, 1, 1, 0.5f)
inlinestaticconstexprprivate

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