Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > b7784b024bf0aaa96a4797b23fdf5f58 > files > 85

adonthell-debug-0.3.5-1mdv2009.1.x86_64.rpm

/*
   $Id: quest.h,v 1.7 2001/08/04 10:33:52 ksterker Exp $
   
   Copyright (C) 2000/2001 Kai Sterker <kaisterker@linuxgames.com>
   Part of the Adonthell Project http://adonthell.linuxgames.com

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY.

   See the COPYING file for more details.
*/

#ifndef __QUEST_H__
#define __QUEST_H__

#include "fileops.h"
#include "storage.h"

// This class stores flags and variables defining the player's
// progress in a specific quest
class quest : public storage
{
public:
    quest ();
    ~quest ();

#ifndef SWIG
    void load (igzstream&);
    void save (ogzstream&);

    string name;
#endif // SWIG
};


#ifndef SWIG 
namespace data
{
    /**
     * All the quests.
     * 
     */ 
    extern dictionary <quest *> quests;
} 
#endif

#endif // __QUEST_H__