mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
221f40e609
* add "global.h" to files that use it * add MSL_C includes to files that use them * remove dolphin includes from headers that don't need them * remove JSupport includes from headers that don't need them * remove JKernel includes from headers that don't need them * remove JUtility includes from headers that don't need them * remove J3D includes from headers that don't need them * remove J2D includes from headers that don't need them * remove JAudio2 includes from headers that don't need them * remove Z2AudioLib includes from headers that don't need them * remove JMessage includes from headers that don't need them * remove JParticle includes from headers that don't need them * remove SComponent includes from headers that don't need them * remove dol includes from headers that don't need them * sort includes
53 lines
1.7 KiB
C++
53 lines
1.7 KiB
C++
#ifndef JFWSYSTEM_H
|
|
#define JFWSYSTEM_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
typedef struct _GXRenderModeObj GXRenderModeObj;
|
|
class JKRExpHeap;
|
|
class JKRThread;
|
|
class JUTConsole;
|
|
class JUTConsoleManager;
|
|
class JUTDbPrint;
|
|
class JUTResFont;
|
|
struct ResFONT;
|
|
|
|
struct JFWSystem {
|
|
struct CSetUpParam {
|
|
static s32 maxStdHeaps;
|
|
static u32 sysHeapSize;
|
|
static u32 fifoBufSize;
|
|
static u32 aramAudioBufSize;
|
|
static u32 aramGraphBufSize;
|
|
static u32 streamPriority;
|
|
static u32 decompPriority;
|
|
static u32 aPiecePriority;
|
|
static ResFONT* systemFontRes;
|
|
static GXRenderModeObj* renderMode;
|
|
static u32 exConsoleBufferSize;
|
|
};
|
|
|
|
/* 80271CD0 */ static void firstInit();
|
|
/* 80271D18 */ static void init();
|
|
|
|
static JUTConsole* getSystemConsole() { return systemConsole; }
|
|
static JKRExpHeap* getSystemHeap() { return systemHeap; }
|
|
|
|
static void setMaxStdHeap(s32 max) { CSetUpParam::maxStdHeaps = max; }
|
|
static void setSysHeapSize(u32 size) { CSetUpParam::sysHeapSize = size; }
|
|
static void setFifoBufSize(u32 size) { CSetUpParam::fifoBufSize = size; }
|
|
static void setAramAudioBufSize(u32 size) { CSetUpParam::aramAudioBufSize = size; }
|
|
static void setAramGraphBufSize(u32 size) { CSetUpParam::aramGraphBufSize = size; }
|
|
static void setRenderMode(GXRenderModeObj* p_modeObj) { CSetUpParam::renderMode = p_modeObj; }
|
|
|
|
static JKRExpHeap* rootHeap;
|
|
static JKRExpHeap* systemHeap;
|
|
static JKRThread* mainThread;
|
|
static JUTDbPrint* debugPrint;
|
|
static JUTResFont* systemFont;
|
|
static JUTConsoleManager* systemConsoleManager;
|
|
static JUTConsole* systemConsole;
|
|
};
|
|
|
|
#endif /* JFWSYSTEM_H */
|