#include "../typen.h"#include "../paradialog.h"Include dependency graph for common.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | StringArray |
| class | PropertyDialog |
Functions | |
| GameMap * | getActiveMap () |
| const ObjectType * | getObjectType (int id) |
| const BuildingType * | getBuildingType (int id) |
| const VehicleType * | getUnitType (int id) |
| const TerrainType * | getTerrainType (int id) |
| int | selectString (const ASCString &title, const StringArray &entries, int defaultEntry=-1) |
| GameMap * | getLoadingMap () |
| void | setLocalizedEventMessage (GameMap *map, int eventID, const ASCString &message) |
| void | setLocalizedContainerName (GameMap *map, const MapCoordinate &pos, const std::string &name) |
| MapCoordinate | getCursorPosition (const GameMap *gamemap) |
| void | setCursorPosition (const GameMap *gamemap, const MapCoordinate &pos) |
| void | assertSuccess (const ActionResult &result) |
| void assertSuccess | ( | const ActionResult & | result | ) |
Definition at line 218 of file common.cpp.
References ActionResult::getMessage(), and ActionResult::successful().
| GameMap* getActiveMap | ( | ) |
| const BuildingType* getBuildingType | ( | int | id | ) |
| MapCoordinate getCursorPosition | ( | const GameMap * | gamemap | ) |
| GameMap* getLoadingMap | ( | ) |
| const ObjectType* getObjectType | ( | int | id | ) |
| const TerrainType* getTerrainType | ( | int | id | ) |
| const VehicleType* getUnitType | ( | int | id | ) |
| int selectString | ( | const ASCString & | title, | |
| const StringArray & | entries, | |||
| int | defaultEntry = -1 | |||
| ) |
| void setCursorPosition | ( | const GameMap * | gamemap, | |
| const MapCoordinate & | pos | |||
| ) |
Definition at line 211 of file common.cpp.
References GameMap::getCursor(), MapCoordinate::valid(), MapCoordinate::x, GameMap::xsize, MapCoordinate::y, and GameMap::ysize.
| void setLocalizedContainerName | ( | GameMap * | map, | |
| const MapCoordinate & | pos, | |||
| const std::string & | name | |||
| ) |
Definition at line 182 of file common.cpp.
References checkModificationConstraints(), MapField::getContainer(), GameMap::getField(), and ContainerBase::setName().
1.5.1