_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <editor.h>
Public Member Functions | |
| ~CEditor () | |
editor.cpp - Editor functions. | |
| CEditor () | |
editloop.cpp - The editor main loop. | |
| void | Init () |
edmap.cpp - Editor map functions. | |
| void | CreateRandomMap () const |
| Make random map. More... | |
Public Attributes | |
| std::vector< std::string > | UnitTypes |
| std::vector< const CUnitType * > | ShownUnitTypes |
| Sorted editor unit-type table. More... | |
| std::vector< unsigned int > | ShownTileTypes |
| Shown editor unit-type table. More... | |
| bool | TerrainEditable |
| Shown editor tile-type table. More... | |
| IconConfig | Select |
| Is the terrain editable ? More... | |
| IconConfig | Units |
| Editor's select icon. More... | |
| std::string | StartUnitName |
| Editor's units icon. More... | |
| const CUnitType * | StartUnit |
| name of the Unit used to display the start location. More... | |
| int | UnitIndex |
| Unit used to display the start location. More... | |
| int | CursorUnitIndex |
| Unit icon draw index. More... | |
| int | SelectedUnitIndex |
| Unit icon under cursor. More... | |
| int | TileIndex |
| Unit type to draw. More... | |
| int | CursorTileIndex |
| tile icon draw index. More... | |
| int | SelectedTileIndex |
| tile icon under cursor. More... | |
| int | CursorPlayer |
| tile type to draw. More... | |
| int | SelectedPlayer |
| Player under the cursor. More... | |
| bool | MapLoaded |
| Player selected for draw. More... | |
| bool | WriteCompressedMaps |
| Map loaded in editor. More... | |
| EditorRunningType | Running |
| Use compression when saving. More... | |
| EditorStateType | State |
| Editor is running. More... | |
| int | PopUpX |
| Current editor state. More... | |
| int | PopUpY |
| CEditor::CEditor | ( | ) |
|
inline |
| void CEditor::CreateRandomMap | ( | ) | const |
Make random map.
Create a random map
| void CEditor::Init | ( | ) |
Create editor.
| int CEditor::CursorPlayer |
tile type to draw.
| int CEditor::CursorTileIndex |
tile icon draw index.
| int CEditor::CursorUnitIndex |
Unit icon draw index.
| bool CEditor::MapLoaded |
Player selected for draw.
| int CEditor::PopUpX |
Current editor state.
| int CEditor::PopUpY |
| EditorRunningType CEditor::Running |
Use compression when saving.
| IconConfig CEditor::Select |
Is the terrain editable ?
| int CEditor::SelectedPlayer |
Player under the cursor.
| int CEditor::SelectedTileIndex |
tile icon under cursor.
| int CEditor::SelectedUnitIndex |
Unit icon under cursor.
| std::vector<unsigned int> CEditor::ShownTileTypes |
Shown editor unit-type table.
| std::vector<const CUnitType *> CEditor::ShownUnitTypes |
Sorted editor unit-type table.
| const CUnitType* CEditor::StartUnit |
name of the Unit used to display the start location.
| std::string CEditor::StartUnitName |
Editor's units icon.
| EditorStateType CEditor::State |
Editor is running.
| bool CEditor::TerrainEditable |
Shown editor tile-type table.
| int CEditor::TileIndex |
Unit type to draw.
| int CEditor::UnitIndex |
Unit used to display the start location.
| IconConfig CEditor::Units |
Editor's select icon.
| std::vector<std::string> CEditor::UnitTypes |
| bool CEditor::WriteCompressedMaps |
Map loaded in editor.
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.