summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw1-1/+1
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2009-09-17Partially (but mainly) resolved Mantis #753 by making monsters, NPC, and ↵Bertram1-0/+13
Floor Items visible even covered. Next Step would be to add a caching system for multi-layered sprites + copy functions for SDL and OpenGL. Then, I'll be able to finish this, by making also players visible when covered... But Kage asked me (each and every hour) to do something else first ;)
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer1-2/+2
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-04Code reformattingBjørn Lindeijer1-17/+10
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project. (cherry picked from mainline)
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer1-2/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-05-07Fixed positioning of monster names and target circles.Philipp Sehmisch1-0/+12
2006-12-12Moved Action, Animation and Frame (renamed from AnimationPhase) classes intoBjørn Lindeijer1-4/+5
the resources directory, since they are part of the SpriteDef class.
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-1/+1
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer1-88/+27
2006-11-15Separated getProperty method to an XML utility namespace.Bjørn Lindeijer1-18/+0
2006-11-14Resolve Image* of animation phase at load time instead of storing just theBjørn Lindeijer1-3/+11
spriteset index and looking it up later (checking validity should still be added). Also calculate animation length during loading instead of summing it up each time it is requested.
2006-09-20tweaks at the animation system (mostly about fixing the looping attack ↵Philipp Sehmisch1-3/+2
animations of the monsters)
2006-09-16Fixed the crash when attacking without a weapon, some additional stability ↵Philipp Sehmisch1-2/+4
improvements and more descriptive variable names in the parsing algorithmn.
2006-09-16Fixed line-endings and set missing properties.Björn Steinbrink1-2/+2
2006-09-13some improvements at the animation systemPhilipp Sehmisch1-1/+2
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-23/+31
synchronization problem (resetting all animations).
2006-08-01animations and directions are now passed and stored as enums and no longer ↵Philipp Sehmisch1-6/+45
as strings.
2006-07-30Unified the play methods.Björn Steinbrink1-8/+3
2006-07-29A bunch of cleanups.Björn Steinbrink1-0/+1
2006-07-28Moved AnimatedSprite into its own files, removed useless includes.Björn Steinbrink1-0/+135