Move extern forward decls from cpps to headers

This commit is contained in:
LagoLunatic
2026-04-01 19:38:51 -04:00
parent 36c9a1e4b4
commit 765f88e4f3
35 changed files with 73 additions and 79 deletions
+8 -10
View File
@@ -1,15 +1,13 @@
#include "SSystem/SComponent/c_API.h"
#include "dolphin/types.h"
extern u8 g_mDoGph_graphicInfo;
extern bool mDoGph_Create();
extern bool mDoGph_BeforeOfDraw();
extern bool mDoGph_AfterOfDraw();
extern bool mDoGph_Painter();
extern bool mDoGph_BlankingON();
extern bool mDoGph_BlankingOFF();
#include "m_Do/m_Do_graphic.h"
cAPIGph__Iface g_cAPI_Interface = {
&g_mDoGph_graphicInfo, mDoGph_Create, mDoGph_BeforeOfDraw, mDoGph_AfterOfDraw,
mDoGph_Painter, mDoGph_BlankingON, mDoGph_BlankingOFF,
/* mpGInfo */ &g_mDoGph_graphicInfo,
/* mpCreate */ (cAPIGph_Mthd)mDoGph_Create,
/* mpBeforeOfDraw */ (cAPIGph_Mthd)mDoGph_BeforeOfDraw,
/* mpAfterOfDraw */ (cAPIGph_Mthd)mDoGph_AfterOfDraw,
/* mpPainter */ (cAPIGph_Mthd)mDoGph_Painter,
/* mpBlankingOn */ (cAPIGph_Mthd)mDoGph_BlankingON,
/* mpBlankingOff */ (cAPIGph_Mthd)mDoGph_BlankingOFF,
};
+1 -2
View File
@@ -4,10 +4,9 @@
//
#include "SSystem/SComponent/c_angle.h"
#include "SSystem/SComponent/c_math.h"
#include "dolphin/types.h"
extern f32 cM_atan2f(f32, f32);
const cSAngle cSAngle::_0(static_cast<s16>(0));
const cSAngle cSAngle::_1(static_cast<s16>(0xb6));
const cSAngle cSAngle::_90(static_cast<s16>(0x4000));