summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-08-24replace defines to consts.Andrei Karas1-12/+12
2012-08-24Small style changes.Andrei Karas1-2/+2
Also fix overloaded methods visibility.
2012-07-20Fix code style.Andrei Karas1-3/+1
2012-07-19Rename openglgraphics to normalopenglgraphics.Andrei Karas1-1/+1
2012-07-19Rename opengl1graphics to safeopenglgraphics.Andrei Karas1-1/+1
2012-07-18Another warning fixes.Andrei Karas1-1/+1
2012-06-23Improve a bit iterators again.Andrei Karas1-2/+2
2012-06-21Add option to enable/disable software mode compoundsprite update delay.Andrei Karas1-4/+7
2012-06-21Add software mode compoundsprite update delay.Andrei Karas1-1/+7
2012-06-10Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.Andrei Karas1-4/+6
2012-06-09Move static methods from Image class to ImageHelper class.Andrei Karas1-5/+6
Remove SDL merge method. It was very slow and unused.
2012-06-06Fix some issues after auto checking.Andrei Karas1-4/+4
2012-04-25Improve iterators part 2.Andrei Karas1-31/+30
2012-02-11Remove some unneeded includes.Andrei Karas1-1/+2
2012-01-29Fix memory leak after last commit.Andrei Karas1-10/+6
2012-01-29Removed inheritance from std::vector by CompoundSpriteThorbjørn Lindeijer1-37/+43
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/+15
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-11-08Fix more gcc 4.7 warnings.Andrei Karas1-20/+21
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-5/+5
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-3/+3
Some other minor changes.
2011-09-02Fix compilation with different flags.Andrei Karas1-0/+4
2011-08-09Add new perfomance parameters.Andrei Karas1-9/+23
2011-08-07For opengl and uncacheble complex sprites return behaviorAndrei Karas1-5/+7
like was before commit 4e7096f15eba73e6ea28066df6ab389aab3f052c.
2011-08-03Dont create in software alpha surface for complex sprites only if gui alpha ↵Andrei Karas1-1/+1
disabled.
2011-08-02Dont create surface with alpha if alpha = 1 in software mode.Andrei Karas1-3/+9
2011-08-02Fix perfomance issue with caching complex sprites.Andrei Karas1-16/+131
2011-08-01Fix random opacity issue in complex sprites in software mode.Andrei Karas1-10/+15
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-04-18Rename sprites method setDirection to setSpriteDirection.Andrei Karas1-2/+2
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-15Fix code style, apply some fixes after checking with cppcheck from git.Andrei Karas1-12/+12
2011-01-02Initial commit.Andrei Karas1-0/+408
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.