summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
AgeCommit message (Collapse)AuthorFilesLines
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.