mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
506e215547
* lights.c * z64skin_matrix.h * Move out some stuff from macros.h * gamealloc.h * move most transition functions to z64transition.h * z64lib.h * `include` cleanup on transition files * z_overlay cleanup * z64malloc.h * format * forgot to remove those * forgot this * fix borken includes
22 lines
446 B
C
22 lines
446 B
C
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include "ultra64.h"
|
|
#include "scheduler.h"
|
|
#include "padmgr.h"
|
|
|
|
extern s32 gScreenWidth;
|
|
extern s32 gScreenHeight;
|
|
extern size_t gSystemHeapSize;
|
|
|
|
extern uintptr_t gSegments[NUM_SEGMENTS];
|
|
extern SchedContext gSchedContext;
|
|
extern OSThread gGraphThread;
|
|
extern PadMgr gPadMgr;
|
|
|
|
void Main(void* arg);
|
|
|
|
#define SEGMENTED_TO_K0(addr) (void*)((gSegments[SEGMENT_NUMBER(addr)] + K0BASE) + SEGMENT_OFFSET(addr))
|
|
|
|
#endif
|