2023-10-13 10:50:53 +03:00
|
|
|
#ifndef GLOBAL_H
|
|
|
|
#define GLOBAL_H
|
|
|
|
|
2023-10-30 00:19:30 +03:00
|
|
|
#include "PR/xstdio.h"
|
2023-10-23 23:02:01 +03:00
|
|
|
#include "PR/os_internal.h"
|
2023-10-30 00:19:30 +03:00
|
|
|
#include "PR/controller.h"
|
2023-10-23 23:02:01 +03:00
|
|
|
#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 10:50:53 +03:00
|
|
|
#include "functions.h"
|
|
|
|
#include "variables.h"
|
2023-10-23 19:01:29 +03:00
|
|
|
#include "structs.h"
|
2023-10-13 10:50:53 +03:00
|
|
|
#include "macros.h"
|
2023-10-19 01:54:19 +03:00
|
|
|
#include "sf64math.h"
|
2023-10-13 10:50:53 +03:00
|
|
|
|
2023-10-23 23:02:01 +03:00
|
|
|
#define SCREEN_WIDTH 320
|
|
|
|
#define SCREEN_HEIGHT 240
|
|
|
|
|
2023-11-08 01:32:09 +03:00
|
|
|
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_8,
|
|
|
|
} ThreadID;
|
|
|
|
|
2023-10-13 12:19:10 +03:00
|
|
|
#endif // GLOBAL_H
|