summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-10-30Add unused warnings to some files.Andrei Karas1-12/+13
2012-10-15Fix compilation warnings without C++11 support.Andrei Karas1-2/+2
2012-10-10Delete copy constructor in some classes.Andrei Karas1-0/+4
2012-09-22Add override keyword to most overriden methods.Andrei Karas1-12/+12
2012-09-22Add final keyword to most classes.Andrei Karas1-1/+1
2012-09-02Add const to more classes.Andrei Karas1-1/+1
2012-08-25Add const to other classes.Andrei Karas1-4/+4
2012-06-21Add option to enable/disable software mode compoundsprite update delay.Andrei Karas1-0/+4
2012-06-21Add software mode compoundsprite update delay.Andrei Karas1-0/+1
2012-01-29Removed inheritance from std::vector by CompoundSpriteThorbjørn Lindeijer1-10/+11
In my opinion, the code is clearer when using aggregation. For performance it makes no difference. This also fixes a memory leak in CompountSprite::clear, which forgot to delete any existing sprites. Reviewed-by: Erik Schilling Conflicts: src/compoundsprite.cpp src/compoundsprite.h
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-24Add ability to play different animation depend on monster hp.Andrei Karas1-0/+2
Disabled for legacy servers because monster hp unknown and compilated hp can be wrong (version <= 0). For usage need add to action tag attribute hp="xx" Example: <action name="stand" hp="50" imageset="base"> ... </action> Here 50 mean 50% of health or less. Default action tag mean hp=100
2011-09-14Replace some size() calls to empty().Andrei Karas1-0/+3
2011-08-09Add new perfomance parameters.Andrei Karas1-0/+4
2011-08-02Fix perfomance issue with caching complex sprites.Andrei Karas1-1/+26
2011-08-01Fix random opacity issue in complex sprites in software mode.Andrei Karas1-0/+2
2011-04-18Rename sprites method setDirection to setSpriteDirection.Andrei Karas1-1/+1
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+112
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.