Jazz2/Editor/Common/TileSource.h file

Namespaces

namespace Jazz2
Root namespace of Jazz² Resurrection.
namespace Jazz2::Editor

Classes

struct Jazz2::Editor::TileSource
The tile set a source of tiles of a level takes them from, see ResolveTileSource().

Functions

auto ResolveTileSource(const LevelDocument& document, std::uint8_t source, TileSource& result) -> bool
Finds the tile set a source of tiles of a level takes them from.

Function documentation

bool ResolveTileSource(const LevelDocument& document, std::uint8_t source, TileSource& result)

Finds the tile set a source of tiles of a level takes them from.

Returns false for animated and raw tiles, which aren't of any tile set, and for an extra tile set the level doesn't have.