Jazz2::Tiles namespace

Tile sets and maps.

Classes

struct AnimatedTile
Represents an animated tile.
struct AnimatedTileFrame
Represents a single frame of an animated tile.
class ITileMapOwner
Interface used to notify tile map owner of various events.
struct LayerDescription
Description of a tile map layer.
struct LayerTile
Represents a single tile in a tile map layer.
struct TileCollisionParams
Describes how the object interacts and collides with the environment.
class TileMap
Represents a renderable tile map, consists of multiple layers.
struct TileMapLayer
Represents a single tile map layer.
class TileSet
Represents tile set used by tile map, consists of texture and collision mask.

Enums

enum class TileDestructType { None = 0x00, Weapon = 0x01, Speed = 0x02, Collapse = 0x04, Special = 0x08, Trigger = 0x10, IgnoreSolidTiles = 0x20, VerticalMove = 0x40 }
Flags that specify type of collision with tile map, supports a bitwise combination of its member values.
enum class LayerSpeedModel { Default, AlwaysOnTop, FitLevel, SpeedMultipliers }
Layer speed model.
enum class LayerRendererType { Default, Tinted, Sky, Circle }
Layer renderer type.
enum class LayerTileFlags : std::uint8_t { None = 0x00, FlipX = 0x01, FlipY = 0x02, Animated = 0x04, OneWay = 0x10 }
Layer tile flags, supports a bitwise combination of its member values.

Enum documentation

enum class Jazz2::Tiles::TileDestructType

Flags that specify type of collision with tile map, supports a bitwise combination of its member values.

enum class Jazz2::Tiles::LayerSpeedModel

Layer speed model.

Enumerators
Default

Default model.

AlwaysOnTop

Ignores all speed and offset settings to be tied to the top/left side of the screen.

FitLevel

Ignores the speed and auto speed properties, and instead ensures that the full extent of this layer will be visible and no blank space outside of it will be shown.

SpeedMultipliers

Treats the layer's speed and auto speed properties on this axis as multipliers of the current camera size, rather than camera position.

enum class Jazz2::Tiles::LayerRendererType

Layer renderer type.

Enumerators
Default

Default rendering

Tinted

Color-tinted rendering

Sky

Textured background — Sky

Circle

Textured background — Circle

enum class Jazz2::Tiles::LayerTileFlags : std::uint8_t

Layer tile flags, supports a bitwise combination of its member values.

Enumerators
None

None

FlipX

Flipped horizontally

FlipY

Flipped vertically

Animated

Animated tile

OneWay

One-way collision