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

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

Go to the source code of this file.
Classes | |
| class | FieldVector |
| class | EditingEnvironment |
Functions | |
| void | clearField (GameMap *map, const MapCoordinate &pos) |
| Building * | placeBuilding (GameMap *map, const MapCoordinate &pos, const BuildingType *bld, int owner) |
| Vehicle * | placeUnit (GameMap *map, const MapCoordinate &pos, const VehicleType *veh, int owner) |
| Object * | placeObject (GameMap *map, const MapCoordinate &pos, const ObjectType *obj, bool force=false) |
| bool | placeTerrain (GameMap *map, const MapCoordinate &pos, const TerrainType *terrain, int weather=0) |
| int | selectPlayer (GameMap *map) |
| MapCoordinate | selectPosition () |
| Resources | putResources (ContainerBase *container, const Resources &resources) |
| FieldVector | getFieldsInDistance (GameMap *map, const MapCoordinate &position, int distance) |
| void | setReactionFire (Vehicle *vehicle, bool state) |
| EditingEnvironment | getEditingEnvironment () |
| void clearField | ( | GameMap * | map, | |
| const MapCoordinate & | pos | |||
| ) |
Definition at line 21 of file mapedcommands.cpp.
References MapField::building, GameMap::getField(), MapField::objects, MapField::removeObject(), and MapField::vehicle.
| EditingEnvironment getEditingEnvironment | ( | ) |
Definition at line 190 of file mapedcommands.cpp.
| FieldVector getFieldsInDistance | ( | GameMap * | map, | |
| const MapCoordinate & | position, | |||
| int | distance | |||
| ) |
Definition at line 145 of file mapedcommands.cpp.
References LuaFieldSearcher::fields, SearchFields::initsearch(), and SearchFields::startsearch().
| Building* placeBuilding | ( | GameMap * | map, | |
| const MapCoordinate & | pos, | |||
| const BuildingType * | bld, | |||
| int | owner | |||
| ) |
Definition at line 49 of file mapedcommands.cpp.
References MapField::building, BuildingType::construction_steps, GameMap::getField(), putbuilding(), and Building::typ.
| Object* placeObject | ( | GameMap * | map, | |
| const MapCoordinate & | pos, | |||
| const ObjectType * | obj, | |||
| bool | force = false | |||
| ) |
Definition at line 37 of file mapedcommands.cpp.
References MapField::addobject(), MapField::checkForObject(), and GameMap::getField().
| bool placeTerrain | ( | GameMap * | map, | |
| const MapCoordinate & | pos, | |||
| const TerrainType * | terrain, | |||
| int | weather = 0 | |||
| ) |
Definition at line 79 of file mapedcommands.cpp.
References calculateobject(), GameMap::getField(), getNeighbouringFieldCoordinate(), MapField::objects, MapField::setparams(), MapField::setWeather(), MapField::typ, and TerrainType::weather.
| Vehicle* placeUnit | ( | GameMap * | map, | |
| const MapCoordinate & | pos, | |||
| const VehicleType * | veh, | |||
| int | owner | |||
| ) |
Definition at line 63 of file mapedcommands.cpp.
References GameMap::getField(), VehicleItem::place(), and MapField::vehicle.
| Resources putResources | ( | ContainerBase * | container, | |
| const Resources & | resources | |||
| ) |
Definition at line 166 of file mapedcommands.cpp.
References ContainerBase::getOwner(), and ContainerBase::putResource().
| int selectPlayer | ( | GameMap * | map | ) |
Definition at line 98 of file mapedcommands.cpp.
References chooseString(), Player::getName(), GameMap::player, and strrr().
| MapCoordinate selectPosition | ( | ) |
Definition at line 153 of file mapedcommands.cpp.
References actmap, ASC_PG_Dialog::RunModal(), and SelectFromMap::Show().
| void setReactionFire | ( | Vehicle * | vehicle, | |
| bool | state | |||
| ) |
Definition at line 171 of file mapedcommands.cpp.
References Vehicle::ReactionFire::disable(), Vehicle::ReactionFire::enable(), and Vehicle::reactionfire.
1.5.1