Jazz2/Editor/Runtime/PlayTestTypes.h file

Namespaces

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

Classes

struct Jazz2::Editor::PlayPath
Path the player took in a play-test, for the editor to show.
struct Jazz2::Editor::PlayPath::Segment
Part of the path without a break.
struct Jazz2::Editor::PlayTestOptions
How a play-test starts.
class Jazz2::Editor::IPlayTestHost
What a PlayTestController needs of the level editor that hosts it.

Enums

enum class PlayStartMode : std::uint8_t { Resume, Here, FromStart }
Where a play-test starts.
enum class PlayTestMode : std::uint8_t { Edit, Entering, Play, Returning }
State of the play-tests of the level editor, see PlayTestController.

Enum documentation

enum class PlayStartMode : std::uint8_t

Where a play-test starts.

Enumerators
Resume

Where the last play-test was left, as it was if the level wasn't changed since

Here

At the pointer, or at the center of the view

FromStart

At the start of the level

enum class PlayTestMode : std::uint8_t

State of the play-tests of the level editor, see PlayTestController.

Enumerators
Edit

The level is edited

Entering

The view flies into the level, it's played once it's there

Play

The level is played

Returning

The level is edited again, while the ring back into the editor grows