summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-09-02Add const to more classes.Andrei Karas1-1/+1
2012-08-25Add const to other classes.Andrei Karas1-1/+1
2012-08-25change vars and methods to const.Andrei Karas1-17/+17
2012-08-23Remove useless includes.Andrei Karas1-2/+0
2012-08-01Fix code style.Andrei Karas1-1/+1
2012-07-18Another warning fixes.Andrei Karas1-1/+1
2012-07-01Fix leak in animatedsprite.Andrei Karas1-1/+5
2012-06-25Add missing check to animated sprite class.Andrei Karas1-0/+4
2012-06-21Add delayed images load.Andrei Karas1-2/+50
Can work for now only in OpenGL modes.
2012-06-05Fix code style.Andrei Karas1-1/+4
2012-06-03Improve a bit animation speed.Andrei Karas1-6/+8
2012-05-27Fix incorrect reset animation.Andrei Karas1-3/+4
2012-03-27Add pause animation tag.Andrei Karas1-1/+2
Example: <pause delay="10"/>
2012-02-18Fix code style.Andrei Karas1-1/+6
2012-02-03Add some missing getters.Andrei Karas1-1/+1
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-24Remove some debug messages and old comments.Andrei Karas1-1/+0
2011-11-24Add ability to play different animation depend on monster hp.Andrei Karas1-2/+21
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-8/+8
2011-09-12Add missing checks to some files.Andrei Karas1-2/+2
2011-09-01Eliminate asserts from most files.Andrei Karas1-4/+0
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-08-02Fix perfomance issue with caching complex sprites.Andrei Karas1-0/+11
2011-08-01Fix random opacity issue in complex sprites in software mode.Andrei Karas1-0/+8
2011-07-02Replace some getters to direct member access in Image class.Andrei Karas1-2/+2
2011-06-08Zero variables after calling decRef().Andrei Karas1-0/+3
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-05-14Add missing checks.Andrei Karas1-4/+4
2011-04-18Rename sprites method setDirection to setSpriteDirection.Andrei Karas1-1/+1
2011-04-13Fix compilation warning.Andrei Karas1-1/+1
2011-04-13Impliment new tags in sprites animations and random condition.Andrei Karas1-11/+58
Tags: <label>, <goto>
2011-04-09Add enum to animation actions support.Andrei Karas1-1/+1
2011-04-03Add spawn animation to mobs.Andrei Karas1-0/+5
Also impliment sound events: SOUND_EVENT_MOVE, SOUND_EVENT_SIT, SOUND_EVENT_SPAWN
2011-03-18Fix most old style cast except manaserv and libxml2 defines.Andrei Karas1-2/+3
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+241
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.