~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/particle/textparticle.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        /**
41
41
         * Draws the particle image.
42
42
         */
43
 
        virtual bool draw(Graphics *const graphics,
44
 
                          const int offsetX, const int offsetY) const override;
 
43
        bool draw(Graphics *const graphics,
 
44
                  const int offsetX, const int offsetY) const override;
45
45
 
46
46
        // hack to improve text visibility
47
 
        virtual int getPixelY() const override A_WARN_UNUSED
 
47
        int getPixelY() const override A_WARN_UNUSED
48
48
        { return static_cast<int>(mPos.y + mPos.z); }
49
49
 
50
50
        // hack to improve text visibility (for sorting only)
51
 
        virtual int getSortPixelY() const override A_WARN_UNUSED
 
51
        int getSortPixelY() const override A_WARN_UNUSED
52
52
        { return static_cast<int>(mPos.y + mPos.z); }
53
53
 
54
54
    private: