MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)

* cleanup SSystem files

* MSL_C fully matched

* fix build

* remove asm

* reorganize MSL_C/Runtime libs into more accurate setup

* little more cleanup

* cleanup some MSL headers

* obj_rgate OK

* remove asm

* some rgate documentation
This commit is contained in:
TakaRikka
2023-12-25 07:31:05 -08:00
committed by GitHub
parent 54e5104f56
commit 8b3a582278
399 changed files with 5321 additions and 12620 deletions
+10 -2
View File
@@ -1,9 +1,17 @@
#ifndef C_API_H
#define C_API_H
typedef void (*cAPIGph_Mthd)(void);
extern cAPIGph_Mthd g_cAPI_Interface[6];
struct cAPI_Interface {
/* 0x00 */ cAPIGph_Mthd createMtd;
/* 0x04 */ cAPIGph_Mthd beforeOfDrawMtd;
/* 0x08 */ cAPIGph_Mthd afterOfDrawMtd;
/* 0x0C */ cAPIGph_Mthd painterMtd;
/* 0x10 */ cAPIGph_Mthd blankingOnMtd;
/* 0x14 */ cAPIGph_Mthd blankingOffMtd;
};
extern cAPI_Interface g_cAPI_Interface;
#endif /* C_API_H */
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef C_M3D_H_
#define C_M3D_H_
#include "MSL_C/math.h"
#include "math.h"
#include "dolphin/types.h"
#include "dolphin/mtx/vec.h"
+2 -2
View File
@@ -8,11 +8,11 @@ u16 U_GetAtanTable(float, float);
s16 cM_atan2s(float y, float x);
float cM_atan2f(float y, float x);
void cM_initRnd(int, int, int);
float cM_rnd(void);
float cM_rnd();
float cM_rndF(float);
float cM_rndFX(float);
void cM_initRnd2(int, int, int);
float cM_rnd2(void);
float cM_rnd2();
float cM_rndF2(float);
float cM_rndFX2(float);
+1
View File
@@ -1,6 +1,7 @@
#ifndef C_PHASE_H
#define C_PHASE_H
#include "dolphin/types.h"
typedef int (*cPhs__Handler)(void*);
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef C_XYZ_H
#define C_XYZ_H
#include "MSL_C/math.h"
#include "math.h"
#include "dolphin/mtx/vec.h"
struct cXyz : Vec {