_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <editor.h>
|
int | BaseTileIndex |
| Variables for random map creation. More...
|
|
std::vector< std::tuple< int, int, int > > | RandomTiles |
| Tile to fill the map with initially;. More...
|
|
std::vector< std::tuple< std::string, int, int, int > > | RandomUnits |
| other tiles to fill randomly. (tile, count, area size) More...
|
|
std::vector< std::string > | UnitTypes |
| neutral units to add randomly. (name, count, initial resources, tile under unit) More...
|
|
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()
◆ CreateRandomMap()
void CEditor::CreateRandomMap |
( |
bool |
shuffleTranslitions = false | ) |
const |
Make random map.
Create a random map
◆ Init()
◆ BaseTileIndex
int CEditor::BaseTileIndex |
Variables for random map creation.
◆ CursorPlayer
int CEditor::CursorPlayer |
◆ CursorTileIndex
int CEditor::CursorTileIndex |
◆ CursorUnitIndex
int CEditor::CursorUnitIndex |
◆ MapLoaded
Player selected for draw.
◆ PopUpX
◆ PopUpY
◆ RandomTiles
std::vector<std::tuple<int, int, int> > CEditor::RandomTiles |
Tile to fill the map with initially;.
◆ RandomUnits
std::vector<std::tuple<std::string, int, int, int> > CEditor::RandomUnits |
other tiles to fill randomly. (tile, count, area size)
◆ Running
Use compression when saving.
◆ Select
Is the terrain editable ?
◆ SelectedPlayer
int CEditor::SelectedPlayer |
◆ SelectedTileIndex
int CEditor::SelectedTileIndex |
◆ SelectedUnitIndex
int CEditor::SelectedUnitIndex |
◆ ShownTileTypes
std::vector<unsigned int> CEditor::ShownTileTypes |
Shown editor unit-type table.
◆ ShownUnitTypes
std::vector<const CUnitType *> CEditor::ShownUnitTypes |
Sorted editor unit-type table.
◆ StartUnit
name of the Unit used to display the start location.
◆ StartUnitName
std::string CEditor::StartUnitName |
◆ State
◆ TerrainEditable
bool CEditor::TerrainEditable |
Shown editor tile-type table.
◆ TileIndex
◆ UnitIndex
Unit used to display the start location.
◆ Units
◆ UnitTypes
std::vector<std::string> CEditor::UnitTypes |
neutral units to add randomly. (name, count, initial resources, tile under unit)
◆ WriteCompressedMaps
bool CEditor::WriteCompressedMaps |
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The