EpisodeLevelInfo struct
#include <Jazz2/Editor/Files/EpisodeFile.h>
What the editor needs to know of a level of an episode without loading it.
Public static functions
- static auto Read(StringView path, EpisodeLevelInfo& info) -> bool
- Reads the start of a level file, returns
falseif it isn't a level of the game's own format. - static void ReadDirectory(StringView directory, SmallVectorImpl<EpisodeLevelInfo>& levels)
- Reads all levels of the game's own format in a directory, sorted by their names.
Public variables
- String Name
- Name of the level, its file name without the extension, in lower case.
- String Path
- Path of the file.
- String DisplayName
- Name shown.
- String NextLevel
- Next level, as the level refers to it.
- String SecretLevel
- Secret level, as the level refers to it.
- String BonusLevel
- Bonus level, as the level refers to it.
- String DefaultTileSet
- Default tile set.
- SmallVector<String, 0> ExtraTileSets
- Extra tile sets that aren't stored in the level.
- String Music
- Music file.