139 #endif // !__EDITOR_H__
void EditorMainLoop()
Editor main event loop.
Definition: editloop.cpp:1928
int SelectedPlayer
Player under the cursor.
Definition: editor.h:92
void Init()
Definition: editloop.cpp:1803
Icon reference (used in config tables)
Definition: icons.h:139
int UnitIndex
Unit used to display the start location.
Definition: editor.h:83
char TileToolRandom
Definition: editloop.cpp:94
int CursorUnitIndex
Unit icon draw index.
Definition: editor.h:84
CEditor Editor
Definition: script_editor.cpp:44
std::vector< const CUnitType * > ShownUnitTypes
Sorted editor unit-type table.
Definition: editor.h:74
int SelectedTileIndex
tile icon under cursor.
Definition: editor.h:89
int CursorTileIndex
tile icon draw index.
Definition: editor.h:88
Not Running.
Definition: editor.h:50
void CreateRandomMap() const
Make random map.
Definition: edmap.cpp:359
const CUnitType * StartUnit
name of the Unit used to display the start location.
Definition: editor.h:81
std::vector< std::string > UnitTypes
Definition: editor.h:73
void StartEditor(const char *filename)
Start the editor.
Definition: editloop.cpp:2049
bool MapLoaded
Player selected for draw.
Definition: editor.h:94
Edit tiles.
Definition: editor.h:58
Edit units.
Definition: editor.h:59
CEditor()
Definition: editor.cpp:76
void EditorUpdateDisplay()
Update editor display.
Definition: editloop.cpp:1030
Select.
Definition: editor.h:57
int PopUpY
Definition: editor.h:102
Definition: unittype.h:467
int CursorPlayer
tile type to draw.
Definition: editor.h:91
Editor Enabled at all.
Definition: editor.h:51
std::string StartUnitName
Editor's units icon.
Definition: editor.h:80
int SelectedUnitIndex
Unit icon under cursor.
Definition: editor.h:85
int PopUpX
Current editor state.
Definition: editor.h:101
int TileIndex
Unit type to draw.
Definition: editor.h:87
int EditorSaveMap(const std::string &file)
Save a map from editor.
Definition: editloop.cpp:1910
EditorStateType
Definition: editor.h:55
Called from Command Line.
Definition: editor.h:52
EditorRunningType Running
Use compression when saving.
Definition: editor.h:97
bool TerrainEditable
Shown editor tile-type table.
Definition: editor.h:77
IconConfig Units
Editor's select icon.
Definition: editor.h:79
std::vector< unsigned int > ShownTileTypes
Shown editor unit-type table.
Definition: editor.h:75
EditorRunningType
Definition: editor.h:48
void EditorChangeTile(const Vec2i &pos, int tileIndex, int d)
Definition: edmap.cpp:97
EditorStateType State
Editor is running.
Definition: editor.h:99
void EditorTileChanged(const Vec2i &pos)
Update surroundings for tile changes.
Definition: edmap.cpp:207
~CEditor()
Definition: editor.h:66
IconConfig Select
Is the terrain editable ?
Definition: editor.h:78
bool WriteCompressedMaps
Map loaded in editor.
Definition: editor.h:95
void EditorCclRegister()
Register ccl features.
Definition: script_editor.cpp:89