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

« back to all changes in this revision

Viewing changes to src/shield.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:
23
23
#include <sigc++/trackable.h>
24
24
#include <sigc++/signal.h>
25
25
 
26
 
#include "defs.h"
27
26
#include "shieldstyle.h"
28
27
 
29
28
class Player;
38
37
{
39
38
    public:
40
39
 
 
40
        //! The xml tag of this object in a shieldset configuration file.
 
41
        static std::string d_tag; 
 
42
 
41
43
        //! The notional player that the Shield goes with.
42
44
        enum ShieldColour {WHITE = 0, GREEN = 1, YELLOW = 2, LIGHT_BLUE = 3,
43
45
        RED = 4, DARK_BLUE = 5, ORANGE = 6, BLACK = 7, NEUTRAL = 8};
63
65
 
64
66
        SDL_Color getMaskColor() const;
65
67
 
66
 
        void instantiatePixmaps(Shieldset *sh);
67
 
 
68
68
        /**
69
69
         * Get the default colour for the Player with the given Id.
70
70
         *