$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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. | |
Public Attributes | |
std::vector< std::string > | UnitTypes |
std::vector< const CUnitType * > | ShownUnitTypes |
Sorted editor unit-type table. | |
std::vector< unsigned int > | ShownTileTypes |
Shown editor unit-type table. | |
bool | TerrainEditable |
Shown editor tile-type table. | |
IconConfig | Select |
Is the terrain editable ? | |
IconConfig | Units |
Editor's select icon. | |
std::string | StartUnitName |
Editor's units icon. | |
const CUnitType * | StartUnit |
name of the Unit used to display the start location. | |
int | UnitIndex |
Unit used to display the start location. | |
int | CursorUnitIndex |
Unit icon draw index. | |
int | SelectedUnitIndex |
Unit icon under cursor. | |
int | TileIndex |
Unit type to draw. | |
int | CursorTileIndex |
tile icon draw index. | |
int | SelectedTileIndex |
tile icon under cursor. | |
int | CursorPlayer |
tile type to draw. | |
int | SelectedPlayer |
Player under the cursor. | |
bool | MapLoaded |
Player selected for draw. | |
bool | WriteCompressedMaps |
Map loaded in editor. | |
EditorRunningType | Running |
Use compression when saving. | |
EditorStateType | State |
Editor is running. | |
int | PopUpX |
Current editor state. | |
int | PopUpY |
CEditor::CEditor | ( | ) |
CEditor::~CEditor | ( | ) | [inline] |
void CEditor::Init | ( | ) |
Create editor.
void CEditor::CreateRandomMap | ( | ) | const |
Make random map.
Create a random map
std::vector<std::string> CEditor::UnitTypes |
std::vector<const CUnitType *> CEditor::ShownUnitTypes |
Sorted editor unit-type table.
std::vector<unsigned int> CEditor::ShownTileTypes |
Shown editor unit-type table.
Shown editor tile-type table.
Is the terrain editable ?
Editor's select icon.
std::string CEditor::StartUnitName |
Editor's units icon.
const CUnitType* CEditor::StartUnit |
name of the Unit used to display the start location.
Unit used to display the start location.
Unit icon draw index.
Unit icon under cursor.
Unit type to draw.
tile icon draw index.
tile icon under cursor.
tile type to draw.
Player under the cursor.
bool CEditor::MapLoaded |
Player selected for draw.
Map loaded in editor.
Use compression when saving.
Editor is running.
int CEditor::PopUpX |
Current editor state.
int CEditor::PopUpY |