summaryrefslogtreecommitdiff
path: root/src/resources/spriteset.h
AgeCommit message (Collapse)AuthorFilesLines
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-0/+67
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.