|
| class IInput * | Input () const |
| |
| class IClient * | Client () const |
| |
| class IConfigManager * | ConfigManager () const |
| |
| class CConfig * | Config () const |
| |
| class IConsole * | Console () const |
| |
| class IEngine * | Engine () const |
| |
| class IGraphics * | Graphics () const |
| |
| class ISound * | Sound () const |
| |
| class ITextRender * | TextRender () const |
| |
| class IStorage * | Storage () const |
| |
| CUi * | Ui () |
| |
| CRenderMap * | RenderMap () |
| |
| CMapView * | MapView () |
| |
| const CMapView * | MapView () const |
| |
| CLayerSelector * | LayerSelector () |
| |
| 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< CLayer > | GetSelectedLayerType (int Index, int Type) const |
| |
| std::shared_ptr< CLayer > | GetSelectedLayer (int Index) const |
| |
| std::shared_ptr< CLayerGroup > | GetSelectedGroup () const |
| |
| CSoundSource * | GetSelectedSource () 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, int > | EnvGetSelectedTimeAndValue () const |
| |
| template<typename E > |
| SEditResult< E > | DoPropertiesWithState (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< int > | 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) |
| |
| 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< int > | SortImages () |
| |
| 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) |
| |
| virtual | ~IEditor ()=default |
| |
| | IInterface () |
| |
| virtual void | Shutdown () |
| |
| virtual | ~IInterface ()=default |
| |
| virtual | ~IEnvelopeEval ()=default |
| |
|
| 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 const char * | InterfaceName () |
| |