summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-07-28move bools in compoundsprite.Andrei Karas1-3/+3
2013-06-27Revert "improve a bit draw speed."Andrei Karas1-3/+1
This reverts commit ffabda4c473711ffa8fdfe37c2a4460fe31347ac.
2013-06-14improve a bit draw speed.Andrei Karas1-1/+3
2013-06-03Remove subdir SDL from SDL includes.Andrei Karas1-1/+1
2013-06-03fix SDL includes.Andrei Karas1-1/+1
2013-04-20fix style in other files.Andrei Karas1-1/+3
2013-04-14some more style fixes from cpplint.Andrei Karas1-2/+1
2013-04-07some fixes after auto check.Andrei Karas1-2/+1
2013-03-20fix compound objects height.Andrei Karas1-1/+1
2013-03-11Add some fixes after automatic checks.Andrei Karas1-14/+6
2013-02-23add const and some minor changes in compoundsprite class.Andrei Karas1-16/+2
2013-02-05Add missing checks to being class.Andrei Karas1-3/+4
2013-02-05Add checks and const to animatedsprites and related classes.Andrei Karas1-3/+4
2013-01-20Replace for to FOR_EACH in some classes.Andrei Karas1-28/+14
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-11-18Add support for persistent directory under Android.Andrei Karas1-1/+2
This directory used for updates, configs, logs.
2012-11-07Add own profiler and profiler info to some code.Andrei Karas1-0/+1
2012-09-02Add const to more classes.Andrei Karas1-1/+1
2012-08-25Add const to other classes.Andrei Karas1-25/+25
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