10#ifndef GUI_ANIMATION_RESOURCE__H_
11#define GUI_ANIMATION_RESOURCE__H_
33#define ANIMATION_TABLE \
34 ENTRY(DUMMY_ANIMATION)
37#define ENTRY_ENUM(a) -1
38#define ENTRY(anim_id) -1
43#ifndef GUILIANI_GUILIANILIB
44 #include "UserAnimationResource.h"
51#define ENTRY_ENUM(a) a,
52#define ENTRY(anim_id) anim_id,
54#ifndef GUILIANI_GUILIANILIB
60 GUILIANI_INTERNAL_ANIMID = INT_MAX
67#define MAP_ANIMID_TO_ARRAY(ANIM_ID) static_cast<eC_UInt>(ANIM_ID-ANIMATION_START_TAG-1)
69#define UNMAP_ANIM_ENTRY_TO_ARRAY(ANIM_ENTRY) static_cast<AnimationHandle_t>(ANIM_ENTRY+ANIMATION_START_TAG+1)
int static_assert_something[(DUMMY_ANIMATION==0) ? 1 :-1]
Will throw compile error negative subscript if NO_HANDLE is NOT 0!
Definition: GUIAnimationResource.h:64
#define ANIMATION_TABLE
AnimationIDs.
Definition: GUIAnimationResource.h:33
AnimationHandle_t
List of animation resource ids.
Definition: GUIAnimationResource.h:49
const eC_UInt cuiNOFAnimationHandles
Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);.
const int ciCalculatedAnimStartTag
preprocessor generates for all entries of ANIMATION_TABLE: -1 -1 -1..., resulting in a mathematical e...
Definition: GUIAnimationResource.h:39