FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
default map saver class implementing the IMapSaver interface More...
#include <mapsaver.h>
Public Member Functions | |
MapSaver () | |
constructor More... | |
~MapSaver () | |
destructor More... | |
virtual void | setObjectSaver (const FIFE::ObjectSaverPtr &objectSaver) |
allows setting which object saver will be used to save object files More... | |
virtual void | setAnimationSaver (const FIFE::AnimationSaverPtr &animationSaver) |
allows setting which animation saver will be used to save animation files More... | |
virtual void | setAtlasSaver (const FIFE::AtlasSaverPtr &atlasSaver) |
allows setting which atlas saver will be used to save atlas files More... | |
virtual void | save (const Map &map, const std::string &filename, const std::vector< std::string > &importFiles) |
responsible for saving the map resource used to save map files More... | |
Public Member Functions inherited from FIFE::IMapSaver | |
virtual | ~IMapSaver () |
Private Attributes | |
ObjectSaverPtr | m_objectSaver |
AnimationSaverPtr | m_animationSaver |
AtlasSaverPtr | m_atlasSaver |
default map saver class implementing the IMapSaver interface
Definition at line 40 of file mapsaver.h.
FIFE::MapSaver::MapSaver | ( | ) |
constructor
Definition at line 50 of file mapsaver.cpp.
FIFE::MapSaver::~MapSaver | ( | ) |
destructor
Definition at line 56 of file mapsaver.cpp.
|
virtual |
responsible for saving the map resource used to save map files
Implements FIFE::IMapSaver.
Definition at line 75 of file mapsaver.cpp.
References FIFE::CELL_EDGES_AND_DIAGONALS, FIFE::CELL_EDGES_ONLY, FIFE::CTYPE_CELL_BLOCKER, FIFE::CTYPE_CELL_NO_BLOCKER, FIFE::Cell::defaultCost(), FIFE::Cell::defaultSpeed(), FIFE::Math< T >::Equal(), FIFE::CellCache::existsCostForCell(), FIFE::TriggerController::getAllTriggers(), FIFE::Map::getCameras(), FIFE::CellCache::getCellAreas(), FIFE::CellCache::getCells(), FIFE::Object::getCellStackPosition(), FIFE::Cell::getCellType(), FIFE::Object::getCost(), FIFE::CellCache::getCost(), FIFE::Object::getCostId(), FIFE::Cell::getCostMultiplier(), FIFE::CellCache::getCosts(), FIFE::CellCache::getDefaultCostMultiplier(), FIFE::CellCache::getDefaultSpeedMultiplier(), FIFE::Object::getId(), FIFE::Map::getId(), FIFE::Layer::getId(), FIFE::Cell::getInstances(), FIFE::Cell::getLayerCoordinates(), FIFE::Map::getLayers(), FIFE::Object::getNamespace(), FIFE::CellCache::getNarrowCells(), FIFE::CellGrid::getRotation(), FIFE::Cell::getSpeedMultiplier(), FIFE::InstanceVisual::getStackPosition(), FIFE::Cell::getTransition(), FIFE::Map::getTriggerController(), FIFE::CellGrid::getType(), FIFE::CellGrid::getXScale(), FIFE::CellGrid::getXShift(), FIFE::CellGrid::getYScale(), FIFE::CellGrid::getYShift(), FIFE::CellGrid::getZShift(), FIFE::RectType< T >::h, FIFE::Object::isMultiPart(), FIFE::CellCache::isSearchNarrowCells(), FIFE::Object::isSpecialCost(), FIFE::TransitionInfo::m_immediate, FIFE::TransitionInfo::m_layer, FIFE::TransitionInfo::m_mc, FIFE::SORTING_CAMERA, FIFE::SORTING_CAMERA_AND_LOCATION, FIFE::SORTING_LOCATION, FIFE::RectType< T >::w, FIFE::PointType2D< T >::x, FIFE::RectType< T >::x, FIFE::PointType3D< T >::x, FIFE::PointType2D< T >::y, FIFE::RectType< T >::y, FIFE::PointType3D< T >::y, and FIFE::PointType3D< T >::z.
|
virtual |
allows setting which animation saver will be used to save animation files
Implements FIFE::IMapSaver.
Definition at line 66 of file mapsaver.cpp.
References m_animationSaver.
|
virtual |
allows setting which atlas saver will be used to save atlas files
Implements FIFE::IMapSaver.
Definition at line 71 of file mapsaver.cpp.
References m_atlasSaver.
|
virtual |
allows setting which object saver will be used to save object files
Implements FIFE::IMapSaver.
Definition at line 61 of file mapsaver.cpp.
References m_objectSaver.
|
private |
Definition at line 72 of file mapsaver.h.
Referenced by setAnimationSaver().
|
private |
Definition at line 73 of file mapsaver.h.
Referenced by setAtlasSaver().
|
private |
Definition at line 71 of file mapsaver.h.
Referenced by setObjectSaver().