18 #ifndef PLAYCAMPAIGN_H_INCLUDED
19 #define PLAYCAMPAIGN_H_INCLUDED
23 #include <boost/shared_ptr.hpp>
70 , game_config_(game_config)
72 , is_unit_test_(is_unit_test)
91 #endif // PLAYCAMPAIGN_H_INCLUDED
LEVEL_RESULT play_replay()
int skip_replay_until_turn
bool skip_replay_blindfolded
boost::shared_ptr< terrain_type_data > tdata_cache
mp_campaign_info * mp_info_
void set_mp_info(mp_campaign_info *mp_info)
const config & game_config_
static void report_victory(std::ostringstream &report, team &t, int finishing_bonus_per_turn, int turns_left, int finishing_bonus)
std::set< std::string > connected_players
players and observers
static int report(lua_State *L, int status)
Contains the exception interfaces used to signal completion of a scenario, campaign or turn...
LEVEL_RESULT playmp_scenario(end_level_data &end_level)
This class stores all the data for a single 'side' (in game nomenclature).
A class that represents a TCP/IP connection to the wesnothd server.
mp_campaign_info(twesnothd_connection &wdc)
LEVEL_RESULT playsingle_scenario(end_level_data &end_level)
twesnothd_connection & wesnothd_connection
campaign_controller(CVideo &video, saved_game &state, const config &game_config, const tdata_cache &tdata, bool is_unit_test=false)
void show_carryover_message(playsingle_controller &playcontroller, const end_level_data &end_level, LEVEL_RESULT res)
const tdata_cache & tdata_
Game configuration data as global variables.
Additional information on the game outcome which can be provided by WML.
A config object defines a single node in a WML file, with access to child nodes.