mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-01 08:22:58 -04:00
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:
@@ -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,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"
|
||||
|
||||
|
||||
@@ -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,6 +1,7 @@
|
||||
#ifndef C_PHASE_H
|
||||
#define C_PHASE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef int (*cPhs__Handler)(void*);
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user