Adonthell  0.4
quest.h
1 /*
2  Copyright (C) 2000/2001 Kai Sterker <kai.sterker@gmail.com>
3  Part of the Adonthell Project <http://adonthell.nongnu.org>
4 
5  Adonthell is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  Adonthell is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with Adonthell. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef __QUEST_H__
20 #define __QUEST_H__
21 
22 #include "fileops.h"
23 #include "storage.h"
24 
25 // This class stores flags and variables defining the player's
26 // progress in a specific quest
27 class quest : public storage
28 {
29 public:
30  quest ();
31  ~quest ();
32 
33 #ifndef SWIG
34  void load (igzstream&);
35  void save (ogzstream&);
36 
37  string name;
38 #endif // SWIG
39 };
40 
41 
42 #ifndef SWIG
43 namespace data
44 {
45  /**
46  * All the quests.
47  *
48  */
49  extern dictionary <quest *> quests;
50 }
51 #endif
52 
53 #endif // __QUEST_H__
igzstream
Class to read data from a Gzip compressed file.
Definition: fileops.h:135
dictionary
Stores objects of any kind.
Definition: storage.h:231
ogzstream
Class to write data from a Gzip compressed file.
Definition: fileops.h:227
fileops.h
Declares the igzstream, ogzstream and fileops classes.
quest
Definition: quest.h:27
storage.h
Declares the storage and objects classes.
storage
Base storage class.
Definition: storage.h:51