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