![]() |
DDNet documentation
|
#include "editor_history.h"#include "editor_server_settings.h"#include "editor_trackers.h"#include "editor_ui.h"#include "font_typer.h"#include "layer_selector.h"#include "map_view.h"#include "quad_art.h"#include <base/bezier.h>#include <base/fs.h>#include <engine/editor.h>#include <engine/graphics.h>#include <game/client/ui.h>#include <game/client/ui_listbox.h>#include <game/editor/enums.h>#include <game/editor/envelope_editor.h>#include <game/editor/file_browser.h>#include <game/editor/mapitems/envelope.h>#include <game/editor/mapitems/layer.h>#include <game/editor/mapitems/layer_front.h>#include <game/editor/mapitems/layer_game.h>#include <game/editor/mapitems/layer_group.h>#include <game/editor/mapitems/layer_quads.h>#include <game/editor/mapitems/layer_sounds.h>#include <game/editor/mapitems/layer_speedup.h>#include <game/editor/mapitems/layer_switch.h>#include <game/editor/mapitems/layer_tele.h>#include <game/editor/mapitems/layer_tiles.h>#include <game/editor/mapitems/layer_tune.h>#include <game/editor/mapitems/map.h>#include <game/editor/prompt.h>#include <game/editor/quick_action.h>#include <game/mapitems.h>#include <deque>#include <functional>#include <map>#include <memory>#include <string>#include <vector>#include <game/editor/quick_actions.h>Go to the source code of this file.
Classes | |
| class | CProperty |
| class | CEditor |
| class | CEditor::CStringKeyComparator |
| class | CEditor::CPopupMapTab |
| struct | CEditor::SLayerPopupContext |
| class | CEditor::CQuadPopupContext |
| class | CEditor::CPointPopupContext |
| struct | CEditor::SAxisAlignedBoundingBox |
| struct | CEditor::SAlignmentInfo |
| class | CEditor::CRenderLayersState |
Macros | |
| #define | REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description) |
| #define | ALWAYS_FALSE []() -> bool { return false; } |
| #define | DEFAULT_BTN []() -> int { return -1; } |
| #define | REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description) |
| #define | ALWAYS_FALSE []() -> bool { return false; } |
| #define | DEFAULT_BTN []() -> int { return -1; } |
Typedefs | |
| template<typename T> | |
| using | FDropdownRenderCallback = std::function<void(const T &, char (&aOutput)[128], std::vector<STextColorSplit> &)> |
Enumerations | |
| enum | { MODE_LAYERS = 0 , MODE_IMAGES , MODE_SOUNDS , NUM_MODES } |
| enum | { DIALOG_NONE = 0 , DIALOG_FILE , DIALOG_MAPSETTINGS_ERROR , DIALOG_QUICK_PROMPT , DIALOG_PSEUDO_FONT_TYPER } |
| enum | { PROPTYPE_NULL = 0 , PROPTYPE_BOOL , PROPTYPE_INT , PROPTYPE_ANGLE_SCROLL , PROPTYPE_COLOR , PROPTYPE_IMAGE , PROPTYPE_ENVELOPE , PROPTYPE_SHIFT , PROPTYPE_SOUND , PROPTYPE_AUTOMAPPER , PROPTYPE_AUTOMAPPER_REFERENCE } |
| #define ALWAYS_FALSE []() -> bool { return false; } |
| #define ALWAYS_FALSE []() -> bool { return false; } |
| #define DEFAULT_BTN []() -> int { return -1; } |
| #define DEFAULT_BTN []() -> int { return -1; } |
| #define REGISTER_QUICK_ACTION | ( | name, | |
| text, | |||
| callback, | |||
| disabled, | |||
| active, | |||
| button_color, | |||
| description ) |
| #define REGISTER_QUICK_ACTION | ( | name, | |
| text, | |||
| callback, | |||
| disabled, | |||
| active, | |||
| button_color, | |||
| description ) |
| using FDropdownRenderCallback = std::function<void(const T &, char (&aOutput)[128], std::vector<STextColorSplit> &)> |
| anonymous enum |