00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef CONFIG_ADAPTER_HPP_INCLUDED
00020 #define CONFIG_ADAPTER_HPP_INCLUDED
00021
00022
00023 #include <set>
00024 #include <string>
00025 #include <vector>
00026 #include "config.hpp"
00027
00028 class gamestatus;
00029 class game_state;
00030 class gamemap;
00031 class unit_map;
00032 class team;
00033
00034
00035
00036
00037 std::string get_unique_saveid(const config& cfg, std::set<std::string>& seen_save_ids);
00038 int get_first_human_team(const config::child_list::const_iterator& cfg, const config::child_list& unit_cfg);
00039 void get_player_info(const config& cfg, game_state& gamestate, std::string save_id, std::vector<team>& teams, const config& level, gamemap& map, unit_map& units, gamestatus& game_status, bool snapshot, bool replay);
00040 const config* get_theme(const config& game_config, std::string theme_name);
00041
00042 #endif