Summer of Code:SavegameWMLMapping
From The Battle for Wesnoth Wiki
config tag | attribute | C++ object | task | multiplayer | campaign |
root | label | game_state.label | name of the savefile | x | x |
root | abbrev | game_state.abbrev | info, not used | x | |
root | version | game_state.version | wesnoth version | x | x |
root | scenario | game_state.scenario | name of the scenario | x | |
root | completion | game_state.completion | control linger mode | x | x |
root | campaign | game_state.campaign | objectives message game_config ID | x | |
root | campaign_type | game_state.campaign_type | process control | x | x |
root | difficulty | game_state.difficulty | process control (scenario WML) cache loading | x | x |
root | campaign_define | game_state.campaign_define | cache loading | x | |
root | random_seed | game_state.random_seed | initialize rng | x | x |
root | random_calls | game_state.random_calls | initialize rng | x | x |
root | next_underlying_unit_id | nunit.id_manager.instance().save_id | nunit support | x | x |
root | end_text_duration | game_state.end_text_duration | control display of campaigns ending text | x | x |
variables | various | game_state.variables | store game variables | x | x |
player | game_state.players | store player information | x | ||
player | save_id | game_state.players | map key | x | |
player | gold | player_info.gold | x | ||
player | gold_add | player_info.gold_add | x | ||
player | name | player_info.name | x | ||
player | can_recruit | player_info.can_recruit | units available for recruiting | x | |
player.unit | player_info.available_units | recall list | x | ||
replay | game_state.replay_data | replay information | x | x | |
snapshot | game_state.snapshot | current gamestate information | x | x | |
snapshot | abbrev | game_state.abbrev | info, not used | x | |
snapshot | campaign | game_state.campaign | objectives message game_config ID | x | |
snapshot | campaign_define | game_state.campaign_define | cache loading | x | |
snapshot | campaign_type | game_state.campaign_type | process control | x | x |
snapshot | completion | game_state.completion | control linger mode | x | x |
snapshot | current_tod | gamestatus.areas_ | current time of day | x | x |
snapshot | difficulty | game_state.difficulty | process control (scenario WML) cache loading | x | x |
snapshot | #textdomain | preprocessor | translation support | x | x |
snapshot | description | tooltips | minimap description | x | |
snapshot | end_text_duration | game_state.end_text_duration | control display of campaigns ending text | x | x |
snapshot | experience_modifier | play_controller.xp_mod_ unit_type::experience_accelerator | experience modifier | x | |
snapshot | hash | config | mp game verification | x | |
snapshot | id | ? | ? | x | x |
snapshot | label | game_state.label | savefile name (without specification) | x | x |
snapshot | map_data | game_state.snapshot
game_state.starting_pos cfg_summary play_controller.map_ |
map information | x | x |
snapshot | mp*** | play_controller.level_ (config) | mp game parameter | x | |
snapshot | name | ? | scenario name | x | x |
snapshot | next_scenario | game_state.next_scenario | id of the next scenario of a campaign | x | |
snapshot | next_underlying_unit_id | nunit.id_manager.instance().save_id | nunit support | x | x |
snapshot | objectives | team.info_.objectives | objective string | x | |
snapshot | observer | game_item.observers level (config) | allow / disallow observers | x | |
snapshot | playing_team | play_controller.first_player_ | first team to continue playing | x | x |
snapshot | random_seed | game_state.random_seed | initialize rng | x | x |
snapshot | random_calls | game_state.random_calls | initialize rng | x | x |
snapshot | random_start_time | level_ (config) | activate random start time for scenario | x | |
snapshot | scenario | game_state.scenario | name of the scenario | x | |
snapshot | snapshot | game_state.snapshot play_controller.snapshot_ | snapshot yes / no | x | x |
snapshot | turn_at | gamestatus ? | current turn | x | x |
snapshot | turns | gamestatus ? | max number of turns | x | x |
snapshot | unit_wml_ids | manager (game_events) | used unit_type ID's | x | x |
snapshot | version | game_state.version | wesnoth version | x | x |
snapshot | side | level_ (config) | player information | x | x |
snapshot.side | action_bonus_count | team.action_bonus_count_ | timer support | x | |
snapshot.side | aggression | team.info_.aggresion_ | AI behaviour | x | x |
snapshot.side | allow_player | team.info_.allow_player | multiplayer game setup | x | x |
snapshot.side | caution | team.info_.caution_ | AI behaviour | x | x |
snapshot.side | colour | team.info_.colour | Team display | x | x |
snapshot.side | controller | team.info_.controller | type of controller for this side | x | x |
snapshot.side | countdown_time | team.countdown_time_ | time remaining for the current / next turn | x | x |
snapshot.side | current_player | team.info_.current_player | name of the current player (name of leader?) | x | x |
snapshot.side | disallow_observers | team.info_.disallow_observers | prohibits observing this side | x | x |
snapshot.side | fog | team.fog_ | turns fog on / off | x | x |
snapshot.side | global_recruitment_pattern | team.info_.global_recruitment_pattern | AI recruitment behaviour | x | x |
snapshot.side | gold | team.gold_ | available gold | x | x |
snapshot.side | hidden | team.info_.hidden | display control (status table) | x | x |
snapshot.side | id | ? | ? | x | |
snapshot.side | income | team.info_.income | gold income | x | |
snapshot.side | leader_value | team.info_.leader_value | AI target parameter | x | x |
snapshot.side | name | team.info_.name | team name | x | x |
snapshot.side | no_leader | team.info_.no_leader | side has (not) a leader | x | x |
snapshot.side | number_of_possible_recruits_to_force_recruit | team.info_.number_of_possible_recruits_to_force_recruit | AI recruitment behaviour | x | x |
snapshot.side | objectives | team.info_.objectives | team objectives | x | x |
snapshot.side | objectives_changed | team.info_.objectives_changed | objectives changed mid scenario | x | x |
snapshot.side | recruit | team.info_.can_recruit | unit types to recruit | x | x |
snapshot.side | recruitment_pattern | team.info_.recruitment_pattern | AI recruitment behaviour | x | x |
snapshot.side | save_id | team.info_.save_id | identification information | x | x |
snapshot.side | share_maps | team.info_.share_maps | display control | x | x |
snapshot.side | share_view | team.info_.share_view | display control | x | x |
snapshot.side | shroud | team.shroud_ | turns shroud on /off | x | x |
snapshot.side | side | team vector index? | side number (identification) | x | x |
snapshot.side | start_gold | team.info_.start_gold | starting gold for this team / scenario | x | x |
snapshot.side | team_name | team.info_.team_name | team name | x | x |
snapshot.side | user_team_name | team.info_.user_team_name | translatable team name | x | x |
snapshot.side | village_gold | team.info_.income_per_village | village income | x | x |
snapshot.side | village_value | team.info_.village_value | AI rating parameter | x | x |
snapshot.side | villages_per_scout | team.info_.villages_per_scout | AI recruitment behaviour | x | x |
snapshot.side.unit | player_info.available_units | recall list | x | x | |
snapshot.side.ai | team.aiparams_ | AI parameter | x | x | |
snapshot.side.villages | team.villages_ | villages owned by the team | x | x | |
snapshot.time | gamestatus.times_ | time cycle definition | x | x | |
snapshot.music | sound.cpp::current_track_list | music playlist | x | x | |
snapshot.variables | game_state.variables | variables | x | x | |
snapshot.player | game_state.players | player information | x | x | |
snapshot.event | game_events, event_handler? | event handler definition | x | x | |
replay_start | current_tod | gamestatus.areas_ | current time of day | x | x |
replay_start | description | tooltips | minimap description | x | |
replay_start | experience_modifier | play_controller.xp_mod_ unit_type::experience_accelerator | experience modifier | x | |
replay_start | hash | config | mp game verification | x | |
replay_start | id | ? | ? | x | x |
replay_start | map_data | game_state.snapshot
game_state.starting_pos cfg_summary play_controller.map_ |
map information | x | x |
replay_start | mp*** | play_controller.level_ (config) | mp game parameter | x | |
replay_start | name | ? | scenario name | x | x |
replay_start | next_scenario | game_state.next_scenario | id of the next scenario of a campaign | x | |
replay_start | next_underlying_unit_id | nunit.id_manager.instance().save_id | nunit support | x | x |
replay_start | objectives | team.info_.objectives | objective string | x | |
replay_start | observer | game_item.observers level (config) | allow / disallow observers | x | |
replay_start | random_seed | game_state.random_seed | initialize rng | x | x |
replay_start | random_start_time | level_ (config) | activate random start time for scenario | x | |
replay_start | scenario | game_state.scenario | name of the scenario | x | |
replay_start | turns | gamestatus ? | max number of turns | x | x |
replay_start | version | game_state.version | wesnoth version | x | x |
replay_start.time | gamestatus.times_ | time cycle definition | x | x | |
replay_start.music | sound.cpp::current_track_list | music playlist | x | x | |
replay_start.event | game_events, event_handler? | event handler definition | x | x | |
replay_start.era | |||||
replay_start.story | |||||
replay_start.side | |||||
replay_start.player | |||||
statistics |