Class for start-of-scenario saves. More...
#include <savegame.hpp>


Public Member Functions | |
| scenariostart_savegame (game_state &gamestate, const bool compress_saves) | |
Private Member Functions | |
| virtual void | before_save () |
| Adds the player information to the starting position (= [replay_start]). | |
Class for start-of-scenario saves.
Definition at line 275 of file savegame.hpp.
| savegame::scenariostart_savegame::scenariostart_savegame | ( | game_state & | gamestate, | |
| const bool | compress_saves | |||
| ) |
Definition at line 1025 of file savegame.cpp.
References game_state::classification(), game_classification::label, and savegame::savegame::set_filename().

| void savegame::scenariostart_savegame::before_save | ( | ) | [private, virtual] |
Adds the player information to the starting position (= [replay_start]).
Reimplemented from savegame::savegame.
Definition at line 1031 of file savegame.cpp.
References config::add_child(), config::child_range(), savegame::savegame::gamestate(), savegame::savegame::snapshot(), and game_state::starting_pos.

| Generated by doxygen 1.7.1 on Thu May 24 2012 01:25:36 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |