summaryrefslogtreecommitdiff
path: root/src/animation.h
AgeCommit message (Collapse)AuthorFilesLines
2006-09-20tweaks at the animation system (mostly about fixing the looping attack ↵Philipp Sehmisch1-0/+16
animations of the monsters)
2006-08-26Applied patch by Bahamut81 which implements resetting of Animation, Action andBjørn Lindeijer1-2/+14
AnimatedSprite. This fixes the animation synchronization issues.
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-6/+22
synchronization problem (resetting all animations).
2006-08-01animations and directions are now passed and stored as enums and no longer ↵Philipp Sehmisch1-4/+3
as strings.
2006-07-29Moved include from header to source file.Björn Steinbrink1-2/+0
2006-07-28Moved AnimatedSprite into its own files, removed useless includes.Björn Steinbrink1-98/+0
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-23/+77
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-07-21Removed unused code, fixed a numeric conversion, used a more meaningful speed.Eugenio Favalli1-5/+0
2006-07-20Fixed left bow attack animation, made the attack animation stay in sync with ↵Eugenio Favalli1-3/+11
attack speed.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-0/+160