15 #ifndef GAME_CLASSIFICATION_HPP_INCLUDED
16 #define GAME_CLASSIFICATION_HPP_INCLUDED
43 (MULTIPLAYER,
"multiplayer")
45 (TUTORIAL,
"tutorial")
47 CAMPAIGN_TYPE campaign_type;
unsigned int end_text_duration
for how long the end-of-campaign text is shown
bool end_credits
whether to show the standard credits at the end
std::string label
Name of the game (e.g.
std::string get_tagname() const
const std::string DEFAULT_DIFFICULTY
The default difficulty setting for campaigns.
std::string campaign_define
If there is a define the campaign uses to customize data.
std::string end_text
end-of-campaign text
std::string campaign
the campaign being played
std::string era_define
If there is a define the era uses to customize data.
std::string abbrev
the campaign abbreviation
std::vector< std::string > campaign_xtra_defines
more customization of data
MAKE_ENUM(CAMPAIGN_TYPE,(SCENARIO,"scenario")(MULTIPLAYER,"multiplayer")(TEST,"test")(TUTORIAL,"tutorial")) CAMPAIGN_TYPE campaign_type
std::string scenario_define
If there is a define the scenario uses to customize data.
std::vector< std::string > mod_defines
If there are defines the modifications use to customize data.
std::string difficulty
The difficulty level the game is being played on.
bool is_normal_mp_game() const
A config object defines a single node in a WML file, with access to child nodes.
Defines the MAKE_ENUM macro.
GLsizei const GLcharARB ** string
std::string version
Version game was created with.