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

« back to all changes in this revision

Viewing changes to src/ai_fast.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:
73
73
        bool save(XML_Helper* helper) const;
74
74
 
75
75
        //! Sets whether the ai joins close armies to make them stronger
76
 
        void setJoin(bool join) {d_join = join;}
 
76
        void setJoin(bool join) {d_join = join;};
77
77
 
78
78
        //! Returns the current behaviour regarding joining armies
79
 
        bool getJoin() const {return d_join;}
 
79
        bool getJoin() const {return d_join;};
80
80
 
81
81
        //! Set maniac/normal mode
82
 
        void setManiac(bool maniac) {d_maniac = maniac;}
 
82
        void setManiac(bool maniac) {d_maniac = maniac;};
83
83
 
84
84
        //! Returns the current behaviour
85
 
        bool getManiac() const {return d_maniac;}
 
85
        bool getManiac() const {return d_maniac;};
86
86
 
87
 
        
 
87
        virtual void abortTurn();
88
88
        virtual bool startTurn();
89
89
        virtual void invadeCity(City* c);
90
90
        virtual void levelArmy(Army* a);
107
107
 
108
108
        AI_Analysis* d_analysis;
109
109
        AI_Diplomacy* d_diplomacy;
 
110
        bool d_abort_requested;
110
111
};
111
112
 
112
113
#endif // AI_FAST_H