summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-23Add new sprite actions for water and sky.Andrei Karas1-13/+26
New actions: fly, swim, standsky, standwater, sitsky, sitwater, attacksky, attackwater, spawnsky, spawnwater, deadsky, deadwater For now attacksky and attackwater unused.
2013-05-28fix guard header part3.Andrei Karas1-3/+3
2013-04-20fix style in resources directory.Andrei Karas1-1/+12
2013-04-16improve spritedef class.Andrei Karas1-2/+4
2013-04-14another fixes from cpplint.Andrei Karas1-2/+2
2013-04-10Add option to left all per map sprites in memory if once was loaded.Andrei Karas1-1/+1
This can prevent random lags and also can use more memory.
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-10-30Add unused warnings to other files.Andrei Karas1-5/+6
2012-10-15Fix compilation warnings without C++11 support.Andrei Karas1-2/+2
2012-10-10Delete copy constructor from other classes.Andrei Karas1-0/+4
2012-09-23Add missing final keywords to classes.Andrei Karas1-3/+3
2012-09-08Improve constructors in some classes.Andrei Karas1-1/+2
2012-09-04add const to more classes,Andrei Karas1-1/+1
fix other small style issues.
2012-09-04Add const to more classes.Andrei Karas1-16/+19
2012-06-06Fix some issues after auto checking.Andrei Karas1-3/+2
2012-05-31Add sittop sprites support.Andrei Karas1-0/+1
Add groundtop collision support (not collision but special selected tiles).
2012-03-29Replace vectors with strings to short names.Andrei Karas1-3/+2
2012-03-27Extend sequence animation tag. Allow set in attribute value any frame numbers.Andrei Karas1-0/+7
Examples what doing same: <sequence start="55" end="60" delay="75" /> <sequence value="55-60" delay="75" /> <sequence value="55,56,57,58,59,60" delay="75" /> Other examples: <sequence value="55,p,56,p,58,p,59,p,60" delay="75" /> p mean pause.
2012-02-26Fix incorrect last dead frame delay for old servers.Andrei Karas1-0/+7
2012-01-10Replace all xmlNodePtr to XmlNodePtr.Andrei Karas1-5/+5
2012-01-10Move libxml2 includes to xml.hAndrei Karas1-1/+1
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-24Refactoring in spritedef after last commit.Andrei Karas1-2/+4
Add missing checks.
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-3/+9
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-10Change empty strings initializations.Andrei Karas1-1/+1
2011-09-09Fix first part of shadow variables/methods errors.Andrei Karas1-3/+3
2011-07-25Add removing palyers sprite logic depend on players direction.Andrei Karas1-8/+8
2011-07-01Replace some lists to vectors.Andrei Karas1-3/+4
2011-04-03Add spawn animation to mobs.Andrei Karas1-0/+1
Also impliment sound events: SOUND_EVENT_MOVE, SOUND_EVENT_SIT, SOUND_EVENT_SPAWN
2011-03-16Add checks and fix some code style.Andrei Karas1-1/+4
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-21Add diagonal animations.Andrei Karas1-0/+4
New animation names: upleft, upright, downleft, downright Tested atleast at mobs.
2011-01-21Add floor items attribute for drawing floor items.Andrei Karas1-0/+1
2011-01-02Initial commit.Andrei Karas1-0/+176
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.