Jazz2::Compatibility::AssetConverter::LevelPackConversion struct

How the levels of a level pack are converted, and what came out of it, see ConvertLevelPack().

Levels of no episode go to the episode EpisodePrefix, levels of an episode e of the pack to <EpisodePrefix>_e, so the links between them stay inside the pack.

Public types

struct Level
A converted level.
struct Episode
A converted episode.

Public variables

String EpisodePrefix
Episode of the levels of no episode, e.g. +1234.
Function<String(StringView)> TileSetPath
Maps a tile set name, lowercase without extension, to the path written into the levels.
Function<String(StringView)> MusicPath
Maps a music file name, lowercase with extension, to the name written into the levels.
bool CopyScripts
Whether the scripts of the levels are copied next to them.
SmallVector<Level, 0> Levels
Levels that were converted.
SmallVector<Episode, 0> Episodes
Episodes that were converted.
SmallVector<String, 0> UsedTileSets
Original names of the tile sets the levels use, they're converted by the caller.
SmallVector<String, 0> UsedMusic
Original names of the music files the levels use.