
364 9. The complete package: OpenFX
typedef struct tagANI_STRUCTURE {
..
short *Nnodes,*Nground,*Nrobots,
*Nskys,*Ncameras;
struct NODE **MainNp,**FirstNp,
**SelectedCamera,**SelectedNode;
..
long *Nframes,*CurrentFrame;
short (*fpGetTransform)(short, ... );
void (*fp_scal)(double [4][4], double, double, double);
struct OBJECT * (*fpCreateActor)(struct NODE *, long, long);
struct NODE * (*fpCreateNode)(void);
..
void *dummyf[64];
} ANI_STRUCTURE;
Listing 9.23: The Animator’s structure used for pa s s in g API information to a Preset
template.
symbolically substituted into var iab le references and function calls using a num-
ber of #defines of the same name.