Level.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Scripting
- Scripting-related classes, compiled only if
WITH_ANGELSCRIPT.
Functions
-
auto GetEvent(std::
uint16_t tx, std:: uint16_t ty) -> std:: int32_t - Returns the event ID placed on a tile of the sprite layer.
-
auto GetEventParamWrapper(std::
uint16_t tx, std:: uint16_t ty, std:: int32_t offset, std:: int32_t length) -> std:: int32_t partially supported - Returns one parameter of the event placed on a tile.
-
void SetEventByte(std::
uint16_t tx, std:: uint16_t ty, std:: uint8_t newEventId) partially supported - Replaces the event placed on a tile.
-
void SetEventParam(std::
uint16_t tx, std:: uint16_t ty, int8_t offset, std:: int8_t length, std:: int32_t newValue) partially supported - Changes one parameter of the event placed on a tile.
-
auto GetTileType(std::
uint16_t tile) -> std:: int8_t partially supported - Returns the type of a tile, indexed by tile ID.
-
auto SetTileType(std::
uint16_t tile, std:: uint16_t value) -> std:: int8_t - Sets the type of a tile, indexed by tile ID.
-
auto GetTileIs32Bit(std::
uint16_t tile) -> bool - Whether a tile uses 32-bit colors, indexed by tile ID.