Author: jhinrichs
Date: Tue Apr  7 22:56:03 2009
New Revision: 34623

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34623&view=rev
Log:
Savegame reorganization Step 1: Providing a simpler interface to saving and 
loading.
Move write_game_snapshot to a better place.

Modified:
    trunk/src/savegame.hpp

Modified: trunk/src/savegame.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/savegame.hpp?rev=34623&r1=34622&r2=34623&view=diff
==============================================================================
--- trunk/src/savegame.hpp (original)
+++ trunk/src/savegame.hpp Tue Apr  7 22:56:03 2009
@@ -91,8 +91,6 @@
        /** Build the filename according to the specific savegame's needs. 
Subclasses will have to
                override this to take effect. */
        virtual void create_filename() {}
-       /** For normal game saves. Builds a snapshot config object out of the 
relevant information. */
-       virtual void write_game_snapshot(const display& /*gui*/) {}
 
        /** The actual method for saving the game to disk. All interactive 
filename choosing and 
                data manipulation has to happen before calling this method */
@@ -128,6 +126,7 @@
        virtual void create_filename();
        /** Builds the snapshot config. */
        virtual void before_save();
+       /** For normal game saves. Builds a snapshot config object out of the 
relevant information. */
        void write_game_snapshot();
 
 protected:


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to