Game ABI / headers refactoring (#2215)

* Game ABI / headers refactoring

* Delete dusk/imgui.h
This commit is contained in:
Luke Street
2026-07-14 19:24:08 -06:00
committed by GitHub
parent 49a3c9e2ac
commit a6f059827b
221 changed files with 665 additions and 601 deletions
+15 -1
View File
@@ -4,10 +4,14 @@
#include "JSystem/J3DGraphBase/J3DSys.h"
#include "JSystem/J3DGraphBase/J3DTevs.h"
#include "JSystem/J3DGraphBase/J3DTexture.h"
#include "dusk/gx_helper.h"
#include "helpers/gx_helper.h"
#include "global.h"
#include "tracy/Tracy.hpp"
#if TARGET_PC
#include "dusk/frame_interpolation.h"
#endif
DUSK_GAME_DATA J3DSys j3dSys;
DUSK_GAME_DATA Mtx J3DSys::mCurrentMtx;
@@ -370,3 +374,13 @@ void J3DSys::reinitPixelProc() {
GXSetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);
GXSetZCompLoc(GX_TRUE);
}
#if TARGET_PC
void J3DSys::setViewMtx(const Mtx m) {
Mtx patched;
if (dusk::frame_interp::lookup_replacement(m, patched)) {
m = patched;
}
MTXCopy(m, mViewMtx);
}
#endif