/[adonthell]/adonthell/src/rpg/quest.h
ViewVC logotype

Diff of /adonthell/src/rpg/quest.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by ksterker, Mon Aug 23 06:33:47 2004 UTC revision 1.3 by ksterker, Mon Oct 18 07:40:23 2004 UTC
# Line 40  namespace rpg Line 40  namespace rpg
40      /**      /**
41       * Location in which the quests are kept       * Location in which the quests are kept
42       */       */
43      #define QUEST_DATA "data/quest.data"      #define QUEST_DATA "/data/quest.data"
44            
45      /**      /**
46       * An internal class to represent the structure of a quest. Depending on its       * An internal class to represent the structure of a quest. Depending on its
# Line 248  namespace rpg Line 248  namespace rpg
248               */               */
249              static bool get_state (base::flat & in);              static bool get_state (base::flat & in);
250              /**              /**
251               * Load all quests from %quest file.               * Load all quests from %quest file. The file to load is
252                 * determined through the search path defined in base::Paths.
253               * @return \b true if loading successful, \b false otherwise.               * @return \b true if loading successful, \b false otherwise.
254               */               */
255              static bool get_state ();              static bool get_state ();
# Line 258  namespace rpg Line 259  namespace rpg
259               */               */
260              static void put_state (base::flat & out);              static void put_state (base::flat & out);
261              /**              /**
262               * Save all quests to %quest file.               * Save all quests to %quest file in given directory. This
263                 * will usually be a saved game directory.
264                 * @param path directory to save quest to.
265               */               */
266              static void put_state ();              static void put_state (const std::string & path);
267              //@}              //@}
268    
269  #ifndef SWIG  #ifndef SWIG

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26