Public Member Functions | Private Member Functions

savegame::scenariostart_savegame Class Reference

Class for start-of-scenario saves. More...

#include <savegame.hpp>

Inheritance diagram for savegame::scenariostart_savegame:
Inheritance graph
[legend]
Collaboration diagram for savegame::scenariostart_savegame:
Collaboration graph
[legend]

List of all members.

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]).

Detailed Description

Class for start-of-scenario saves.

Definition at line 275 of file savegame.hpp.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

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.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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