Commands.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Editor
Classes
- class Jazz2::Editor::SetTilesCommand
- Changes tiles of a layer.
- struct Jazz2::Editor::SetTilesCommand::Change
- Change of a single tile.
- class Jazz2::Editor::SetEventsCommand
- Changes events of the grid.
- struct Jazz2::Editor::SetEventsCommand::Change
- Change of a single event.
- class Jazz2::Editor::SnapshotCommand
- Change of parts of a level kept as snapshots before and after it.
- class Jazz2::Editor::SetChunkCommand
- Changes the payload of a chunk, as an undoable step.
- class Jazz2::Editor::MoveLayerCommand
- Moves a layer to another position in the list of layers.
- class Jazz2::Editor::InsertLayerCommand
- Adds a layer or removes one.
- class Jazz2::Editor::SetLayerPropertiesCommand
- Changes the description or the name of a layer, its size stays the same.
- class Jazz2::Editor::SetLayerTextureCommand
- Replaces the texture of its own of a layer, or removes it, see DocumentLayer::
Texture. - class Jazz2::Editor::SetAnimationCommand
- Changes the timing and the frames of an animated tile, the number of animated tiles stays the same.
- class Jazz2::Editor::SetOffGridEventsCommand
- Changes the events placed off the grid, all of them at once.
- class Jazz2::Editor::SetLevelPropertiesCommand
- Changes the level flags and properties.
- class Jazz2::Editor::SetTileOverrideCommand
- Changes how the level overrides the pixels and the collision mask of a tile.
- class Jazz2::Editor::SetLevelPaletteCommand
- Changes the palette of the level, and whether the level uses it.
- class Jazz2::Editor::SetAdditionalPaletteCommand
- Changes the colors of an additional palette of the level, as an undoable step.
- class Jazz2::Editor::SetLevelTilesCommand
- Changes the pixels or the masks of tiles the level stores in itself, see Formats::
ExtraTileSetRecord:: Embedded.
Functions
-
void ExecuteGrowingTileIdSpace(CommandHistory& history,
std::
unique_ptr<EditCommand> command, DocumentChanges& changes, bool allowMerge = false) - Executes a change, the tile ID space of the level grows in the same step if the change uses a tile past it.
Function documentation
void ExecuteGrowingTileIdSpace(CommandHistory& history,
std:: unique_ptr<EditCommand> command,
DocumentChanges& changes,
bool allowMerge = false)
Executes a change, the tile ID space of the level grows in the same step if the change uses a tile past it.
A tile of the tile sets the level can't address yet (see LevelDocument::