seqpScript.h
555 Bytes
#ifndef __seqpScript__
#define __seqpScript__
#define kNumScripts 8
#define ONE_SEC 60
#define END_OF_SCRIPT 0x7FFFFFFF
typedef void (*TScriptActionProc)(void);
typedef struct
{
s32 fDeltaFrames;
TScriptActionProc fActionProc;
} TScriptAction;
typedef struct
{
s32 fActionIndex;
TScriptAction * fActionTable;
} TScript;
void SeqpScript_Init (int scriptNum);
void SeqpScript_Fini (void);
void SeqpScript_RetraceProc (TRetraceData data);
void SeqpScript_ButtonProc (u16 oldButtons,u16 newButtons);
#endif /* __seqpScript__ */