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

« back to all changes in this revision

Viewing changes to src/counter.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:
39
39
class FL_Counter : public sigc::trackable
40
40
{
41
41
    public:
 
42
        //! The xml tag of this object in a saved-game file.
 
43
        static std::string d_tag; 
 
44
 
42
45
        //! Initialise the counter with a start value
43
46
        FL_Counter(Uint32 start = 0);
44
47
 
49
52
        //! Returns a unique id
50
53
        Uint32 getNextId();
51
54
 
 
55
        void syncToId(Uint32 id);
 
56
 
52
57
        //! Saves the current counter position
53
58
        bool save(XML_Helper* helper);
54
59