mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 14:05:28 -04:00
Use precompiled headers, fix weak data issues
This commit is contained in:
@@ -14,11 +14,6 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "string.h"
|
||||
|
||||
inline GXAttnFn J3DColorChan::getAttnFn() {
|
||||
u8 attnFnTbl[] = { GX_AF_NONE, GX_AF_SPEC, GX_AF_NONE, GX_AF_SPOT };
|
||||
return GXAttnFn(attnFnTbl[mChanCtrl >> 9 & 0x03]);
|
||||
}
|
||||
|
||||
extern bool isTexNoReg(void*);
|
||||
extern u16 getTexNoReg(void*);
|
||||
extern void loadTexNo(u32, const u16 &);
|
||||
|
||||
@@ -8,10 +8,7 @@
|
||||
#include "JSystem/J3DGraphAnimator/J3DModelData.h"
|
||||
#include "math.h"
|
||||
|
||||
// Needed for the .rodata section to match.
|
||||
static const f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static const f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
static const f32 dummy3[3] = {0.0f, 0.0f, 0.0f};
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
static const f32 Deg2Rad = 0.017453292f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user