Adonthell
0.4
|
00001 /* 00002 $Id: quest.h,v 1.7 2001/08/04 10:33:52 ksterker Exp $ 00003 00004 Copyright (C) 2000/2001 Kai Sterker <kaisterker@linuxgames.com> 00005 Part of the Adonthell Project http://adonthell.linuxgames.com 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License. 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY. 00011 00012 See the COPYING file for more details. 00013 */ 00014 00015 #ifndef __QUEST_H__ 00016 #define __QUEST_H__ 00017 00018 #include "fileops.h" 00019 #include "storage.h" 00020 00021 // This class stores flags and variables defining the player's 00022 // progress in a specific quest 00023 class quest : public storage 00024 { 00025 public: 00026 quest (); 00027 ~quest (); 00028 00029 #ifndef SWIG 00030 void load (igzstream&); 00031 void save (ogzstream&); 00032 00033 string name; 00034 #endif // SWIG 00035 }; 00036 00037 00038 #ifndef SWIG 00039 namespace data 00040 { 00041 /** 00042 * All the quests. 00043 * 00044 */ 00045 extern dictionary <quest *> quests; 00046 } 00047 #endif 00048 00049 #endif // __QUEST_H__