Skip to content

Game Types

The following constants are used to identify game types.

Game Type Constants
// Custom scenario.
extern const int cGameTypeScenario = 0;

// Saved game.
extern const int cGameTypeSaved = 1;

// Random map.
extern const int cGameTypeRandom = 2;

// Single player campaign.
extern const int cGameTypeCampaign = 4;

// Current Game Type. Can be any of the above.
extern const int cGameTypeCurrent;