Adonthell  0.4
quest.h
1 /*
2  $Id: quest.h,v 1.7 2001/08/04 10:33:52 ksterker Exp $
3 
4  Copyright (C) 2000/2001 Kai Sterker <kaisterker@linuxgames.com>
5  Part of the Adonthell Project http://adonthell.linuxgames.com
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef __QUEST_H__
16 #define __QUEST_H__
17 
18 #include "fileops.h"
19 #include "storage.h"
20 
21 // This class stores flags and variables defining the player's
22 // progress in a specific quest
23 class quest : public storage
24 {
25 public:
26  quest ();
27  ~quest ();
28 
29 #ifndef SWIG
30  void load (igzstream&);
31  void save (ogzstream&);
32 
33  string name;
34 #endif // SWIG
35 };
36 
37 
38 #ifndef SWIG
39 namespace data
40 {
41  /**
42  * All the quests.
43  *
44  */
45  extern dictionary <quest *> quests;
46 }
47 #endif
48 
49 #endif // __QUEST_H__
Class to write data from a Gzip compressed file.
Definition: fileops.h:223
Class to read data from a Gzip compressed file.
Definition: fileops.h:131
Definition: quest.h:23
Stores objects of any kind.
Definition: storage.h:227
Base storage class.
Definition: storage.h:47
Declares the storage and objects classes.
Declares the igzstream, ogzstream and fileops classes.