◆ CLevelParser() [1/4]
CLevelParser::CLevelParser |
( |
| ) |
|
Create an empty level file.
◆ CLevelParser() [2/4]
CLevelParser::CLevelParser |
( |
std::string |
filename | ) |
|
◆ CLevelParser() [3/4]
CLevelParser::CLevelParser |
( |
LevelCategory |
category, |
|
|
int |
chapter, |
|
|
int |
rank |
|
) |
| |
◆ CLevelParser() [4/4]
CLevelParser::CLevelParser |
( |
std::string |
category, |
|
|
int |
chapter, |
|
|
int |
rank |
|
) |
| |
◆ BuildCategoryPath() [1/2]
std::string CLevelParser::BuildCategoryPath |
( |
LevelCategory |
category | ) |
|
|
static |
◆ BuildCategoryPath() [2/2]
std::string CLevelParser::BuildCategoryPath |
( |
std::string |
category | ) |
|
|
static |
◆ BuildScenePath() [1/2]
std::string CLevelParser::BuildScenePath |
( |
LevelCategory |
category, |
|
|
int |
chapter, |
|
|
int |
rank, |
|
|
bool |
sceneFile = true |
|
) |
| |
|
static |
◆ BuildScenePath() [2/2]
std::string CLevelParser::BuildScenePath |
( |
std::string |
category, |
|
|
int |
chapter, |
|
|
int |
rank, |
|
|
bool |
sceneFile = true |
|
) |
| |
|
static |
◆ Exists()
bool CLevelParser::Exists |
( |
| ) |
|
Check if level file exists.
◆ Load()
void CLevelParser::Load |
( |
| ) |
|
◆ Save()
void CLevelParser::Save |
( |
| ) |
|
◆ SetLevelPaths()
void CLevelParser::SetLevelPaths |
( |
LevelCategory |
category, |
|
|
int |
chapter = 0 , |
|
|
int |
rank = 0 |
|
) |
| |
Configure level paths for the given level.
◆ InjectLevelPaths()
std::string CLevelParser::InjectLevelPaths |
( |
const std::string & |
path, |
|
|
const std::string & |
defaultDir = "" |
|
) |
| |
◆ GetFilename()
const std::string & CLevelParser::GetFilename |
( |
| ) |
|
◆ GetLines()
const std::vector<CLevelParserLineUPtr>& CLevelParser::GetLines |
( |
| ) |
|
|
inline |
◆ AddLine()
void CLevelParser::AddLine |
( |
CLevelParserLineUPtr |
line | ) |
|
◆ Get()
Find first line with given command.
◆ GetIfDefined()
Find first line with given command, null if doesn't exist.
◆ CountLines()
int CLevelParser::CountLines |
( |
const std::string & |
command | ) |
|
Count lines with given command.
The documentation for this class was generated from the following files:
- src/level/parser/parser.h
- src/level/parser/parser.cpp