1#ifndef ALCHEMY_CALLBACK_SCHEDULER_H
2#define ALCHEMY_CALLBACK_SCHEDULER_H
34#define SCHEDULER_KEY_VBLANK 0x480
35#define SCHEDULER_KEY_MAIN_LOOP 0xc80
37#define TASK_STATE_HIGH(task) (((u8 *)&(task)->state)[1])
s32 Scheduler_CountCallbacksByKey(s32 key)
struct SchedulerTask gSchedulerTaskTable[]
void Scheduler_RunCallbacksBeforeBoundary(s32 key)
void Scheduler_RunCallbacksByKey(s32 key)
u8 gSchedulerReady
1 once the task table is set up
volatile u8 gSchedulerStatus
void(*) SchedulerCallback(void)
@ SCHEDULER_TLA_TASK_COUNT
@ SCHEDULER_TBS_TASK_COUNT
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
void Runtime_CallWorkEntryWithArgs(struct SoundPlayer *player, struct SoundTrack *track)
Finishes a track through the base command table entry.
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
A scheduled task: its routine's address, its order (see SCHEDULER_KEY_) and its flags,...
The integer types, TRUE, UNUSED and the fixed-address macros.