Jazz2/Editor/Document/DocumentChanges.h file

Namespaces

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

Classes

struct Jazz2::Editor::DocumentTileArea
Area of a layer whose tiles changed.
class Jazz2::Editor::DocumentChanges
Collects what changed in a level being edited.

Enums

enum class DocumentChangeKind : std::uint32_t { None = 0, Tiles = 0x01, LayerProperties = 0x02, LayerStructure = 0x04, AnimationTiming = 0x08, AnimationStructure = 0x10, Events = 0x20, Palette = 0x40, TileSets = 0x80, TileOverrides = 0x100, Texts = 0x200, LevelProperties = 0x400, EditorState = 0x800, Chunks = 0x1000, All = 0x1FFF }
Kind of a change of a level being edited, supports a bitwise combination of its member values.

Enum documentation

enum class DocumentChangeKind : std::uint32_t

Kind of a change of a level being edited, supports a bitwise combination of its member values.

Enumerators
None

Nothing changed

Tiles

Tiles of layers, see DocumentChanges::GetTileAreas()

LayerProperties

Descriptions or names of layers

LayerStructure

Layers were added, removed, moved or resized

AnimationTiming

Timing of animated tiles

AnimationStructure

Animated tiles were added or removed, or their frames changed

Events

Events, see DocumentChanges::GetEventArea()

Palette

Palettes

TileSets

Tile sets

TileOverrides

Overridden tile diffuse or masks

Texts

Level texts

LevelProperties

Level properties or flags

EditorState

State saved with the level only for the editor, such as hidden layers

Chunks

Other chunks

All

Everything