sf64/include/global.h

57 lines
1.0 KiB
C
Raw Normal View History

2023-10-13 07:50:53 +00:00
#ifndef GLOBAL_H
#define GLOBAL_H
#include "PR/xstdio.h"
#include "PR/os_internal.h"
#include "PR/controller.h"
#include "libultra/ultra64.h"
#include "libc/math.h"
#include "libc/stdarg.h"
#include "libc/stdbool.h"
#include "libc/stdint.h"
#include "libc/stddef.h"
#include "libc/string.h"
2023-10-13 07:50:53 +00:00
#include "functions.h"
#include "variables.h"
#include "structs.h"
2023-10-13 07:50:53 +00:00
#include "macros.h"
2023-10-18 22:54:19 +00:00
#include "sf64math.h"
#include "gfx.h"
2023-10-13 07:50:53 +00:00
typedef enum {
SI_MESG_10 = 10,
SI_MESG_11,
SI_MESG_12,
SI_MESG_13,
SI_MESG_14,
SI_MESG_15,
SI_MESG_16,
} SerialMesg;
#define MSG_QUEUE_EMPTY -1
#define FAULT_MESG_BREAK 1
#define FAULT_MESG_FAULT 2
#define TASK_MESG_1 1
#define TASK_MESG_2 2
#define EVENT_MESG_SP 1
#define EVENT_MESG_DP 2
#define EVENT_MESG_VI 3
#define EVENT_MESG_PRENMI 4
typedef enum {
THREAD_ID_SYSTEM,
THREAD_ID_IDLE,
THREAD_ID_FAULT,
THREAD_ID_MAIN,
THREAD_ID_4,
THREAD_ID_AUDIO,
THREAD_ID_GRAPHICS,
THREAD_ID_7,
THREAD_ID_SERIAL,
} ThreadID;
2023-10-13 09:19:10 +00:00
#endif // GLOBAL_H