~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/Quest.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
class Quest 
54
54
{
55
55
    public:
 
56
        //! The xml tag of this object in a saved-game file.
 
57
        static std::string d_tag; 
56
58
 
57
59
        //! The various kinds of Quest objects.
58
60
        enum Type {
219
221
        //! Returns if the Quest will be deleted at the end of the round.
220
222
        bool isPendingDeletion() const {return d_pending;}
221
223
 
 
224
        //! Determine the name of the hero, even if it's dead.
 
225
        std::string getHeroNameForDeadHero();
 
226
 
 
227
        //! Determine the name of a hero, given the id.
 
228
        static std::string getHeroNameForDeadHero(Uint32 id);
 
229
 
222
230
    protected:
223
231
        //! The QuestsManager object that this Quest object is associated with.
224
232
        QuestsManager& d_q_mgr;