Jazz2/Editor/Input/ActionRegistry.h file

Namespaces

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

Classes

struct Jazz2::Editor::Shortcut
Key and modifiers that run an action.
struct Jazz2::Editor::EditorAction
Something the user can do in the level editor.
class Jazz2::Editor::ActionRegistry
All actions of the level editor.

Enums

enum class ActionScope : std::uint8_t { Edit, Play, Both }
When the shortcut of an action works, see EditorAction::Scope.
enum class KeymapPreset : std::int32_t { Default, Jcs, Mlle }
Set of shortcuts like those of another level editor, see ActionRegistry::ApplyPreset().

Enum documentation

enum class ActionScope : std::uint8_t

When the shortcut of an action works, see EditorAction::Scope.

Enumerators
Edit

While the level is edited

Play

While the level is play-tested, keys no action of it has go to the game

Both

Always

enum class KeymapPreset : std::int32_t

Set of shortcuts like those of another level editor, see ActionRegistry::ApplyPreset().

Enumerators
Default

The shortcuts of this editor, B grabs a block and Ctrl+E / Shift+E take and place events as in the editors of the original game

Jcs

Like Jazz Creation Station: F and I flip, the number keys choose layers as by default

Mlle

Like the Multi-Layer Level Editor: as JCS, and Ctrl+C / Ctrl+X into the brush, Ctrl+V events, Ctrl+R plays, the comma picks