![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <LevelParser.h>
Public Member Functions | |
| LevelParser () | |
| ~LevelParser () | |
| LevelParseResult | ParseAndAnalyze (const std::string &levelPath) |
Private Member Functions | |
| void | ExtractVisualResources (const TiledMap &map, VisualResourceManifest &manifest) |
| void | BuildObjectCensus (const TiledMap &map, ObjectTypeCensus &census) |
| void | ExtractObjectReferences (const TiledMap &map, std::vector< ObjectReference > &references) |
| std::string | GetDirectory (const std::string &filepath) |
| std::string | ResolvePath (const std::string &baseDir, const std::string &relativePath) |
Definition at line 115 of file LevelParser.h.
| Olympe::Tiled::LevelParser::LevelParser | ( | ) |
Definition at line 30 of file LevelParser.cpp.
| Olympe::Tiled::LevelParser::~LevelParser | ( | ) |
Definition at line 34 of file LevelParser.cpp.
|
private |
Definition at line 217 of file LevelParser.cpp.
References GetComponentTypeID_Static(), Olympe::Tiled::Group, Olympe::Tiled::ObjectGroup, and Olympe::Tiled::String.
Referenced by ParseAndAnalyze().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 261 of file LevelParser.cpp.
References GetComponentTypeID_Static(), Olympe::Tiled::Group, Olympe::Tiled::Int, Olympe::Tiled::ObjectGroup, Olympe::Tiled::ObjectReference::sourceObjectId, and Olympe::Tiled::String.
Referenced by ParseAndAnalyze().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 157 of file LevelParser.cpp.
References GetComponentTypeID_Static(), Olympe::Tiled::Group, Olympe::Tiled::ImageLayer, and Olympe::Tiled::VisualResourceManifest::TilesetRef::sourceFile.
Referenced by ParseAndAnalyze().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 315 of file LevelParser.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:| LevelParseResult Olympe::Tiled::LevelParser::ParseAndAnalyze | ( | const std::string & | levelPath | ) |
Definition at line 38 of file LevelParser.cpp.
References BuildObjectCensus(), ExtractObjectReferences(), ExtractVisualResources(), GetComponentTypeID_Static(), Olympe::Tiled::TiledLevelLoader::GetLastError(), Olympe::Tiled::Hexagonal, Olympe::Tiled::Isometric, Olympe::Tiled::Orthogonal, and Olympe::Tiled::Staggered.
Here is the call graph for this function:
|
private |
Definition at line 325 of file LevelParser.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function: