Jazz2/Multiplayer/GameModes/IGameMode.h file

Namespaces

namespace Jazz2
Root namespace of Jazz² Resurrection.
namespace Jazz2::Actors
Implementation of all objects.
namespace Jazz2::Multiplayer
Multiplayer-related classes, compiled only if WITH_MULTIPLAYER.
namespace Jazz2::Multiplayer::GameModes
Rules and HUD of the particular multiplayer game modes, compiled only if WITH_MULTIPLAYER.

Classes

struct Jazz2::Multiplayer::GameModes::RespawnDecision
Result of IGameMode::DecideRespawn.
struct Jazz2::Multiplayer::GameModes::GameEndResult
Result of IGameMode::CheckGameEnds.
struct Jazz2::Multiplayer::GameModes::GameModeObject
Object in the level owned by a game mode.
struct Jazz2::Multiplayer::GameModes::CapturePointInfo
Control point or capture point of the level, see IGameModeContext::FindCapturePoints().
class Jazz2::Multiplayer::GameModes::IGameModeContext
Services a game mode needs from its host level handler.
class Jazz2::Multiplayer::GameModes::IGameModeHUD
Drawing surface a game mode uses to render its own part of the HUD.
class Jazz2::Multiplayer::GameModes::IGameMode
Rules of a single multiplayer game mode.

Enums

enum class LevelExitAction { Ignore, ChangeToNextLevel, EndGameForInitiator, WarpToStartIncrementLap }
What should happen when a player reaches the level exit, as decided by the game mode.
enum class PlayerModeFlags : std::uint8_t { None = 0, It = 0x01, Zombie = 0x02, Jailed = 0x04, Eliminated = 0x08, CarriesFlag = 0x10, BottomFeeder = 0x20 }
Role of a player in a game mode, a bitwise combination is stored in MpPlayerState::ModeFlags.
enum class GameModeObjectType : std::uint8_t { ControlPoint, Jail, Flag, Base }
Type of GameModeObject.
enum class GameModeFontType { Small, Medium }
Selects which HUD font a game mode draws text with.
enum class GameModeHudIcon { Food, GemRed, GemGreen }
A semantic HUD icon a game mode can draw; the HUD maps it to a concrete sprite.