~ubuntu-branches/ubuntu/precise/lordsawar/precise

« back to all changes in this revision

Viewing changes to src/QKillHero.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2007-10-29 15:38:06 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071029153806-z2j47adhmdjc7wae
Tags: 0.0.4-1
* New upstream release
* Add desktop file and simple manpage for new binary lordsawar-army-editor
* Syntax fixes on manpages
* Move manpages to correct section (6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "hero.h"
23
23
#include "playerlist.h"
24
24
 
 
25
 
25
26
/** Kill hero quest
26
27
  * 
27
28
  * This specific quest demands a certain hero to be killed.
67
68
         //! Returns the hunted hero
68
69
         Uint32 getVictim() const {return d_victim;}
69
70
 
 
71
        void armyDied(Army *a, bool heroIsCulprit);
 
72
 
 
73
        void cityAction(City *c, CityDefeatedAction action, 
 
74
                        bool heroIsCulprit, int gold);
70
75
    private:
71
 
        /** slot that would receive the sdyingArmy (signal) */
72
 
        void dyingArmy(Army *stack, std::vector<Uint32> culprits);
73
76
 
74
77
        //! Initializes the description string
75
78
        void initDescription();