From 13e48bb0b5872499bcc849496cf299b853b226ef Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 24 Jul 2006 00:13:24 +0000 Subject: Implemented caching of spritesets, including a lot of cleanups to the new 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. --- graphics/sprites/npc.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'graphics/sprites/npc.xml') diff --git a/graphics/sprites/npc.xml b/graphics/sprites/npc.xml index bc75d230..bbf05229 100644 --- a/graphics/sprites/npc.xml +++ b/graphics/sprites/npc.xml @@ -1,11 +1,10 @@ - - + + - + - - \ No newline at end of file + -- cgit v1.2.3-70-g09d2