8 #include "GAFAnimationSequence.h"
18 typedef std::vector<GAFTextureAtlas*> TextureAtlases_t;
19 typedef std::map<unsigned int, unsigned int> AnimationMasks_t;
20 typedef std::map<unsigned int, unsigned int> AnimationObjects_t;
21 typedef std::vector<GAFAnimationFrame*> AnimationFrames_t;
22 typedef std::map<unsigned int, GAFSprite*> SubObjects_t;
23 typedef std::vector<GAFFilterData*> Filters_t;
25 typedef std::map<unsigned int, int> CaptureObjects_t;
28 typedef std::map<std::string, GAFAnimationSequence> AnimationSequences_t;
29 typedef std::map<std::string, unsigned int> NamedParts_t;
31 #define GAF_SAFE_RELEASE_MAP(__type, __instance)\
32 for (__type::iterator i = __instance.begin(), e = __instance.end(); i != e; ++i) {\
33 i->second->release(); \
36 #define GAF_SAFE_RELEASE_ARRAY(__type, __instance)\
37 for (__type::iterator i = __instance.begin(), e = __instance.end(); i != e; ++i) {\
41 #define GAF_RELEASE_ARRAY(__type, __instance)\
42 for (__type::iterator i = __instance.begin(), e = __instance.end(); i != e; ++i) {\
46 #define GAF_RELEASE_MAP(__type, __instance)\
47 for (__type::iterator i = __instance.begin(), e = __instance.end(); i != e; ++i) {\
Definition: GAFSprite.h:23
Definition: GAFFilterData.h:10
Definition: GAFTextureAtlas.h:9
Definition: GAFAnimationFrame.h:9