mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 23:30:05 -04:00
standard compiler compatibility changes (#3040)
* move math to cmath * replace stdarg to cstdarg * change stdint to stdint.h * minor fixes * change stdio to cstdio * change stdlib to stdlib * renamed ctype to cctype * fix missing argument for UNSET_FLAG
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "CaptureScreen.h"
|
||||
#include "global.h"
|
||||
|
||||
CaptureScreen::CaptureScreen(const JFWDisplay* pDisplay) {
|
||||
mpDisplay = pDisplay;
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
#include "JSystem/JKernel/JKRFileCache.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#include "JSystem/J2DGraph/J2DPrint.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTFont.h"
|
||||
#include <stdio>
|
||||
#include <stdlib>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
char* J2DPrint::mStrBuff;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "JSystem/J2DGraph/J2DTevs.h"
|
||||
#include "JSystem/J2DGraph/J2DMaterial.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "dolphin/gx.h"
|
||||
|
||||
void J2DTexMtx::load(u32 mtxIdx) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DShapeDraw.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include <string>
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
#include <dolphin/gx.h>
|
||||
|
||||
u32 J3DShapeDraw::countVertex(u32 stride) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/J3DU/J3DUClipper.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void J3DUClipper::init() {
|
||||
mNear = 1.0f;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JAHostIO/JAHioUtil.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
|
||||
char JAHioUtil::mStringBuffer[256];
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "dolphin/ai.h"
|
||||
#include <dolphin/os.h>
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
s16* JASDriver::sDmaDacBuffer[3];
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "JSystem/JAudio2/JASReport.h"
|
||||
#include "JSystem/JKernel/JKRSolidHeap.h"
|
||||
#include "dolphin/dsp.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JASAudioThread::JASAudioThread(int stackSize, int msgCount, u32 threadPriority)
|
||||
:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/JAudio2/JASMutex.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JASBasicWaveBank::JASBasicWaveBank() {
|
||||
mWaveTable = NULL;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JAudio2/JASCalc.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
void JASCalc::imixcopy(const s16* s1, const s16* s2, s16* dst, u32 n) {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/JAudio2/JASCalc.h"
|
||||
#include "JSystem/JAudio2/JASMutex.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
|
||||
static OSMutex sMutex;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JAudio2/JASSimpleWaveBank.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JASSimpleWaveBank::JASSimpleWaveBank() {
|
||||
mWaveTable = NULL;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JKernel/JKRDvdAramRipper.h"
|
||||
#include <string>
|
||||
#include "dolphin/os.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JASHeap* JASWaveArcLoader::sAramHeap;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "dolphin/gx.h"
|
||||
#include <dolphin/vi.h>
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
void JFWDisplay::ctor_subroutine(bool enableAlpha) {
|
||||
mEnableAlpha = enableAlpha;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JGadget/binary.h"
|
||||
#include "JSystem/JGadget/define.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#if DEBUG
|
||||
static void dummyString() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JGadget/define.h"
|
||||
|
||||
#define MSL_USE_INLINES 1
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
|
||||
JGadget_outMessage::JGadget_outMessage(MessageFunc fn, const char* file, int line) {
|
||||
mMsgFunc = fn;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JGadget/std-stream.h"
|
||||
#include "JSystem/JGadget/define.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <float.h>
|
||||
|
||||
namespace JGadget {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JKernel/JKRDvdFile.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
|
||||
JKRAramArchive::JKRAramArchive() {}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/JKernel/JKRAramPiece.h"
|
||||
#include "JSystem/JSupport/JSUFileStream.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#if PLATFORM_GCN
|
||||
const u32 stack_size = 0xc00;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JKernel/JKRArchive.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <string>
|
||||
|
||||
u32 JKRArchive::sCurrentDirID;
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include "JSystem/JKernel/JKRMemArchive.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JKRCompArchive::JKRCompArchive(s32 entryNum, JKRArchive::EMountDirection eMountDirection)
|
||||
: JKRArchive(entryNum, MOUNT_COMP) {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
#include "JSystem/JKernel/JKRDvdRipper.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JKRDvdArchive::JKRDvdArchive(s32 entryNum, JKRArchive::EMountDirection mountDirection)
|
||||
: JKRArchive(entryNum, MOUNT_DVD) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JKernel/JKRDvdFile.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JSUList<JKRDvdFile> JKRDvdFile::sDvdList;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
#include <dolphin/os.h>
|
||||
#include "dolphin/vi.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
static int JKRDecompressFromDVD(JKRDvdFile*, void*, u32, u32, u32, u32, u32*);
|
||||
static int decompSZS_subroutine(u8*, u8*);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "JSystem/JSupport/JSupport.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <stdlib>
|
||||
#include <cstdlib>
|
||||
|
||||
JKRExpHeap* JKRExpHeap::createRoot(int maxHeaps, bool errorFlag) {
|
||||
JKRExpHeap* heap = NULL;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <string>
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define MSL_USE_INLINES 1 // needed to inline tolower call. not inlined elsewhere in the repo
|
||||
|
||||
#include <string>
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include "global.h"
|
||||
|
||||
JKRFileLoader* JKRFileLoader::sCurrentVolume;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
#if DEBUG
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include <string>
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JKRMemArchive::JKRMemArchive(s32 entryNum, JKRArchive::EMountDirection mountDirection)
|
||||
: JKRArchive(entryNum, MOUNT_MEM) {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdlib>
|
||||
#include <stdint.h>
|
||||
#include <cstdlib>
|
||||
|
||||
JKRSolidHeap* JKRSolidHeap::create(u32 size, JKRHeap* heap, bool useErrorHandler) {
|
||||
if (!heap) {
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JSUList<JKRThread> JKRThread::sThreadList(0);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JMath/JMATrigonometric.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "global.h"
|
||||
|
||||
static f32 dummy() {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include "JSystem/JUtility/JUTException.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JGadget/linklist.h"
|
||||
#include <math>
|
||||
#include <stdlib>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
|
||||
namespace JStudio {
|
||||
@@ -291,7 +291,11 @@ f64 TFunctionValue_composite::composite_index(TVector_pointer<TFunctionValue*> c
|
||||
}
|
||||
break;
|
||||
case 1: {
|
||||
#ifdef __MWERKS__
|
||||
div_t dt = div(index, size - 1);
|
||||
#else
|
||||
div_t dt = div((int)index, (int)size - 1);
|
||||
#endif
|
||||
index = dt.rem;
|
||||
if (index < 0) {
|
||||
index = size + index;
|
||||
@@ -304,7 +308,11 @@ f64 TFunctionValue_composite::composite_index(TVector_pointer<TFunctionValue*> c
|
||||
index = 0;
|
||||
} else {
|
||||
u32 uVar3 = (u32)(size - 2) * 2;
|
||||
#ifdef __MWERKS__
|
||||
div_t dt2 = div(index, uVar3);
|
||||
#else
|
||||
div_t dt2 = div((int)index, (int)uVar3);
|
||||
#endif
|
||||
index = dt2.rem;
|
||||
if (index < 0) {
|
||||
index += uVar3;
|
||||
@@ -315,8 +323,12 @@ f64 TFunctionValue_composite::composite_index(TVector_pointer<TFunctionValue*> c
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
#ifdef __MWERKS__
|
||||
std::advance_pointer(local_148, index + 1);
|
||||
#else
|
||||
std::advance(local_148, index + 1);
|
||||
#endif
|
||||
pFront = *local_148;
|
||||
return pFront->getValue(param_3);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JStudio/JStudio/jstudio-math.h"
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "JSystem/TPosition3.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void JStudio::math::getRotation_xyz(MtxP param_1, f32 x, f32 y, f32 z) {
|
||||
f32 cosx = cosf(DEG_TO_RAD(x));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JStudio/JStudio/stb-data-parse.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "dolphin/os.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace JStudio {
|
||||
namespace stb {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "JSystem/JUtility/JUTDbPrint.h"
|
||||
#include "JSystem/JUtility/JUTDirectPrint.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include <dolphin/vi.h>
|
||||
|
||||
namespace JUTAssertion {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "JSystem/JKernel/JKRAram.h"
|
||||
#include "dolphin/gx.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JUTCacheFont::JUTCacheFont(ResFONT const* p_fontRes, u32 cacheSize, JKRHeap* p_heap) {
|
||||
initialize_state();
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JUtility/JUTDirectPrint.h"
|
||||
#include "JSystem/JUtility/JUTVideo.h"
|
||||
#include <dolphin/vi.h>
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include "global.h"
|
||||
|
||||
JUTConsoleManager* JUTConsoleManager::sManager;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/J2DGraph/J2DOrthoGraph.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTVideo.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
|
||||
JUTDbPrint::JUTDbPrint(JUTFont* pFont, JKRHeap* pHeap) {
|
||||
mFont = pFont;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JUtility/JUTDirectFile.h"
|
||||
#include <dolphin/os.h>
|
||||
#include "global.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
int JUTDirectFile::fetch32byte() {
|
||||
mToRead = mLength - ALIGN_PREV(mPos, DVD_MIN_TRANSFER_SIZE);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JUtility/JUTDirectPrint.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include <dolphin/os.h>
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "JSystem/JUtility/JUTDirectPrint.h"
|
||||
#include "JSystem/JUtility/JUTDirectFile.h"
|
||||
#include <math>
|
||||
#include <stdio>
|
||||
#include <stdlib>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
OSMessageQueue JUTException::sMessageQueue = {0};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/JUtility/JUTGamePad.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
u32 JUTGamePad::CRumble::sChannelMask[4] = {
|
||||
PAD_CHAN0_BIT,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JUtility/JUTGraphFifo.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
static bool data_804514B8;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "JSystem/J2DGraph/J2DOrthoGraph.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTVideo.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
JUTProcBar::JUTProcBar() {
|
||||
mVisible = true;
|
||||
|
||||
@@ -151,6 +151,62 @@ MSL_INLINE float tanf(float x) {
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
||||
namespace std {
|
||||
template<typename T>
|
||||
inline double fabs(T x) {
|
||||
return ::fabs(x);
|
||||
}
|
||||
|
||||
inline float fabs(float num) {
|
||||
return ::fabsf(num);
|
||||
}
|
||||
|
||||
inline float fabsf(float num) {
|
||||
return ::fabsf(num);
|
||||
}
|
||||
|
||||
inline float sqrt(float x) {
|
||||
return ::sqrtf(x);
|
||||
}
|
||||
|
||||
inline float abs(float x) {
|
||||
return ::fabsf(x);
|
||||
}
|
||||
|
||||
inline float fmod(float x, float y) {
|
||||
return ::fmod(x, y);
|
||||
}
|
||||
|
||||
inline float ceil(float num) {
|
||||
return ::ceilf(num);
|
||||
}
|
||||
|
||||
inline float floor(float num) {
|
||||
return ::floorf(num);
|
||||
}
|
||||
|
||||
inline float tan(float num) {
|
||||
return ::tanf(num);
|
||||
}
|
||||
|
||||
inline float tanf(float num) {
|
||||
return ::tanf(num);
|
||||
}
|
||||
|
||||
inline float acos(float num) {
|
||||
return ::acosf(num);
|
||||
}
|
||||
|
||||
inline float pow(float x, float y) {
|
||||
return ::pow(x, y);
|
||||
}
|
||||
|
||||
inline float pow(float x, int y) {
|
||||
// FIXME: Needs to use powf
|
||||
return ::pow(x, y);
|
||||
}
|
||||
} // namespace std
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -13,4 +13,24 @@
|
||||
#define stdout (&__files._stdout)
|
||||
#define stderr (&__files._stderr)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <stdarg>
|
||||
|
||||
extern "C" {
|
||||
namespace std {
|
||||
using ::fputs;
|
||||
using ::fflush;
|
||||
using ::fclose;
|
||||
using ::fprintf;
|
||||
using ::printf;
|
||||
using ::sprintf;
|
||||
using ::snprintf;
|
||||
using ::vsnprintf;
|
||||
using ::vprintf;
|
||||
using ::vswprintf;
|
||||
using ::sscanf;
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,4 +5,18 @@
|
||||
#include <arith.h>
|
||||
#include <strtoul.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
namespace std {
|
||||
using ::strtol;
|
||||
using ::strtoul;
|
||||
using ::div;
|
||||
using ::exit;
|
||||
using ::abort;
|
||||
using ::atoi;
|
||||
using ::atof;
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
#ifndef MSL_MATH_H_
|
||||
#define MSL_MATH_H_
|
||||
|
||||
#include <cmath>
|
||||
|
||||
namespace std {
|
||||
template<typename T>
|
||||
inline double fabs(T x) {
|
||||
return ::fabs(x);
|
||||
}
|
||||
|
||||
inline float fabs(float num) {
|
||||
return ::fabsf(num);
|
||||
}
|
||||
|
||||
inline float fabsf(float num) {
|
||||
return ::fabsf(num);
|
||||
}
|
||||
|
||||
inline float sqrt(float x) {
|
||||
return ::sqrtf(x);
|
||||
}
|
||||
|
||||
inline float abs(float x) {
|
||||
return ::fabsf(x);
|
||||
}
|
||||
|
||||
inline float fmod(float x, float y) {
|
||||
return ::fmod(x, y);
|
||||
}
|
||||
|
||||
inline float ceil(float num) {
|
||||
return ::ceilf(num);
|
||||
}
|
||||
|
||||
inline float floor(float num) {
|
||||
return ::floorf(num);
|
||||
}
|
||||
|
||||
inline float tan(float num) {
|
||||
return ::tanf(num);
|
||||
}
|
||||
|
||||
inline float tanf(float num) {
|
||||
return ::tanf(num);
|
||||
}
|
||||
|
||||
inline float acos(float num) {
|
||||
return ::acosf(num);
|
||||
}
|
||||
|
||||
inline float pow(float x, float y) {
|
||||
return ::pow(x, y);
|
||||
}
|
||||
|
||||
inline float pow(float x, int y) {
|
||||
// FIXME: Needs to use powf
|
||||
return ::pow(x, y);
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
#endif
|
||||
@@ -7,7 +7,7 @@
|
||||
#undef MSL_INLINE
|
||||
#define MSL_INLINE __declspec(weak)
|
||||
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
|
||||
#if PLATFORM_GCN
|
||||
#define ctrl __control_char
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "extras.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
|
||||
int stricmp(const char* str1, const char* str2) {
|
||||
char a_var;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "buffer_io.h"
|
||||
#include "file_io.h"
|
||||
#include "FILE_POS.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
|
||||
int fclose(FILE* file) {
|
||||
int flush_result, close_result;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <locale>
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <wctype_api.h>
|
||||
#include <mbstring.h>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "mbstring.h"
|
||||
#include "scanf.h"
|
||||
#include "wchar_io.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "scanf.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <cstdio>
|
||||
#include "ansi_fp.h"
|
||||
#include <locale>
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include "float.h"
|
||||
#include <cmath>
|
||||
#include <climits>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "strtoul.h"
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
#include "errno.h"
|
||||
#include <climits>
|
||||
#include "scanf.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <ctype>
|
||||
#include <cctype>
|
||||
|
||||
const unsigned short __wctype_mapC[256] = {
|
||||
ctype_cntrl,
|
||||
|
||||
@@ -12,6 +12,11 @@
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "SSystem/SComponent/c_sxyz.h"
|
||||
|
||||
#ifndef __MWERKS__
|
||||
#include <limits>
|
||||
#define FLT_EPSILON std::numeric_limits<float>::epsilon()
|
||||
#endif
|
||||
|
||||
const f32 G_CM3D_F_ABS_MIN = 32 * FLT_EPSILON;
|
||||
|
||||
void cM3d_InDivPos1(const Vec* pVecA, const Vec* pVecB, f32 pF, Vec* pOut) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "SSystem/SComponent/c_m3d.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
s16 cM_rad2s(f32 rad) {
|
||||
s32 s = (std::fmod(rad, 2 * M_PI) * (0x8000 / M_PI));
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
|
||||
#ifndef __MWERKS__
|
||||
#include <limits>
|
||||
#define FLT_EPSILON std::numeric_limits<float>::epsilon()
|
||||
#endif
|
||||
|
||||
cXyz cXyz::operator+(const Vec& vec) const {
|
||||
Vec ret;
|
||||
PSVECAdd(this, &vec, &ret);
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "TRK_MINNOW_DOLPHIN/MetroTRK/Portable/mem_TRK.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#pragma dont_inline on
|
||||
void TRK_fill_mem(void* dst, int val, u32 n) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "TRK_MINNOW_DOLPHIN/ppc/Generic/targimpl.h"
|
||||
#include "TRK_MINNOW_DOLPHIN/utils/common/MWTrace.h"
|
||||
#include <stdint>
|
||||
#include <stdint.h>
|
||||
#include <cstring>
|
||||
|
||||
typedef struct memRange {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "Z2AudioLib/Z2Calc.h"
|
||||
#include "JSystem/JMath/random.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
f32 Z2Calc::linearTransform(f32 inValue, f32 inMin, f32 inMax, f32 outMin, f32 outMax, bool noClamp) {
|
||||
f32 transformed = outMin + ((inValue - inMin) * ((outMax - outMin) / (inMax - inMin)));
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
#include "Z2AudioLib/Z2Audience.h"
|
||||
#include "JSystem/JAudio2/JAUSoundAnimator.h"
|
||||
|
||||
#ifndef __MWERKS__
|
||||
#include <limits>
|
||||
#define FLT_MAX std::numeric_limits<float>::max()
|
||||
#endif
|
||||
|
||||
#if PLATFORM_WII || PLATFORM_SHIELD
|
||||
#include "Z2AudioLib/Z2AudioCS.h"
|
||||
#endif
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "c/c_damagereaction.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
enum B_bq_RES_File_ID {
|
||||
/* BCK */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/actor/d_a_b_tn.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include "d/actor/d_a_boomerang.h"
|
||||
#include "d/actor/d_a_nbomb.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include "JSystem/JAudio2/JAUSectionHeap.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
enum Joint {
|
||||
/* 0x00 */ JNT_CENTER,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
int daB_ZANTM_c::draw() {
|
||||
g_env_light.settingTevStruct(0, ¤t.pos, &tevStr);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "d/d_cc_uty.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
namespace {
|
||||
dCcD_SrcSph cc_zant_src = {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "d/actor/d_a_bg_obj.h"
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include "dolphin/os.h"
|
||||
#include "d/actor/d_a_set_bgobj.h"
|
||||
#include "d/d_s_play.h"
|
||||
|
||||
+11
-11
@@ -213,7 +213,7 @@ void daCow_c::setActetcStatus() {
|
||||
|
||||
bool daCow_c::checkNadeNadeFinish() {
|
||||
if (GET_FLAG(daCow_c::Flag_NaderuFinish)) {
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_NaderuFinish);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_NaderuFinish, u16);
|
||||
mNadeNade = false;
|
||||
return true;
|
||||
}
|
||||
@@ -222,7 +222,7 @@ bool daCow_c::checkNadeNadeFinish() {
|
||||
|
||||
bool daCow_c::checkNadeNade() {
|
||||
if (GET_FLAG(daCow_c::Flag_Naderu)) {
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_Naderu);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_Naderu, u16);
|
||||
mNadeNade = true;
|
||||
return 1;
|
||||
}
|
||||
@@ -246,13 +246,13 @@ bool daCow_c::checkThrow() {
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyBeforeCatch)) {
|
||||
setProcess(&daCow_c::action_thrown, false);
|
||||
initCrazyBeforeCatch(0);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyBeforeCatch);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyBeforeCatch, u16);
|
||||
return true;
|
||||
}
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyCatch)) {
|
||||
setProcess(&daCow_c::action_thrown, false);
|
||||
initCrazyCatch(0);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch, u16);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -1877,11 +1877,11 @@ void daCow_c::calcCatchPos(f32 distance, BOOL someBool) {
|
||||
|
||||
void daCow_c::executeCrazyWait() {
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyReady)) {
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyReady);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyReady, u16);
|
||||
}
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyReadyDrawOn)) {
|
||||
mDrawOff = false;
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyReadyDrawOn);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyReadyDrawOn, u16);
|
||||
}
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyGo)) {
|
||||
mCrazy = daCow_c::Crazy_Dash;
|
||||
@@ -1914,16 +1914,16 @@ void daCow_c::executeCrazyDash() {
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyBeforeCatch)) {
|
||||
initCrazyBeforeCatch(0);
|
||||
mPointIndex = 6;
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyBeforeCatch);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyBeforeCatch, u16);
|
||||
} else if (GET_FLAG(daCow_c::Flag_CrazyCatch)) {
|
||||
initCrazyCatch(0);
|
||||
mPointIndex = 6;
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch, u16);
|
||||
dComIfGp_getVibration().StartShock(VIBMODE_S_POWER8, 0x1f, cXyz(0.0f, 1.0f, 0.0f));
|
||||
} else if (GET_FLAG(daCow_c::Flag_CrazyDash)) {
|
||||
initCrazyAttack(0);
|
||||
mPointIndex = 6;
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyDash);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyDash, u16);
|
||||
}
|
||||
} else {
|
||||
if (mPointIndex == 4) {
|
||||
@@ -1993,7 +1993,7 @@ void daCow_c::executeCrazyBeforeCatch() {
|
||||
calcCatchPos(-220.0f, 1);
|
||||
if (GET_FLAG(daCow_c::Flag_CrazyCatch)) {
|
||||
initCrazyCatch(0);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyCatch, u16);
|
||||
dComIfGp_getVibration().StartShock(VIBMODE_S_POWER8, 0x1f, cXyz(0.0f, 1.0f, 0.0f));
|
||||
} else if (GET_FLAG(daCow_c::Flag_CrazyDash)) {
|
||||
if (!daPy_getPlayerActorClass()->speedF) {
|
||||
@@ -2001,7 +2001,7 @@ void daCow_c::executeCrazyBeforeCatch() {
|
||||
} else {
|
||||
initCrazyAttack(1);
|
||||
}
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyDash);
|
||||
UNSET_FLAG(mFlags, daCow_c::Flag_CrazyDash, u16);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
#define ACTION_MODE_WAIT 0
|
||||
#define ACTION_MODE_CHASE 1
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "f_op/f_op_actor_enemy.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include "d/d_bomb.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
|
||||
class daE_SW_HIO_c {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "c/c_damagereaction.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_s_play.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "d/actor/d_a_e_ws.h"
|
||||
#include "d/actor/d_a_obj_carry.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "f_op/f_op_actor_enemy.h"
|
||||
|
||||
class daE_WS_HIO_c : public JORReflexible {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
|
||||
struct daE_YMB_HIO_c {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include "JSystem/JAudio2/JAUSectionHeap.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
#define ANM_HS_BACK_WALK 6
|
||||
#define ANM_HS_WALK_START 7
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_msg_object.h"
|
||||
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
#include "d/actor/d_a_balloon_2D.h"
|
||||
#include "d/actor/d_a_e_ym.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "c/c_damagereaction.h"
|
||||
#include "SSystem/SComponent/c_counter.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
class dmg_rod_HIO_c : public JORReflexible {
|
||||
public:
|
||||
@@ -5493,7 +5493,7 @@ static void play_camera_u(dmg_rod_class* i_this) {
|
||||
break;
|
||||
}
|
||||
case 20:
|
||||
case 21:
|
||||
case 21: {
|
||||
if (!actor->eventInfo.checkCommandDemoAccrpt()) {
|
||||
fopAcM_orderPotentialEvent(actor, 2, 0xFFFF, 0);
|
||||
actor->eventInfo.onCondition(dEvtCnd_CANDEMO_e);
|
||||
@@ -5647,6 +5647,7 @@ static void play_camera_u(dmg_rod_class* i_this) {
|
||||
daAlink_getAlinkActorClass()->changeFishGetFace(0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 90:
|
||||
sp18 = 1;
|
||||
break;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "SSystem/SComponent/c_m3d_g_pla.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include "c/c_damagereaction.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "d/actor/d_a_alink.h"
|
||||
#include "d/actor/d_a_canoe.h"
|
||||
#include "d/actor/d_a_mg_fshop.h"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void daObjBhbridge_c::RideOn_Angle(s16& param_1, f32 param_2, s16 param_3, f32 param_4) {
|
||||
cLib_addCalcAngleS(¶m_1, param_3 * (param_2 / param_4), 1, 0x100, 1);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "d/actor/d_a_obj_carry.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "d/actor/d_a_obj_swBallA.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void daObjCwall_c::initBaseMtx() {
|
||||
mWallModel->setBaseScale(scale);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "d/actor/d_a_obj_digsnow.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void daObjDigSnow_c::initBaseMtx() {
|
||||
mpModel->setBaseScale(scale);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "d/actor/d_a_obj_drop.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_camera.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "d/actor/d_a_obj_gra2.h"
|
||||
#include "d/d_camera.h"
|
||||
#include "d/actor/d_a_tag_gra.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
f32 daObj_GrA_c::getSrchCircleR() {
|
||||
f32 srchCircleR;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
f32 dummyLiteral() {
|
||||
return 0.0f;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "d/d_s_play.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
class daOBJ_ICE_S_HIO_c : public JORReflexible {
|
||||
public:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "d/actor/d_a_npc_tk.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
#define PARTS_ALL 0x3FFFF
|
||||
#define PART_TOP_LEFT_UNDER (1 << 0)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_item.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
void daObjL4DigSand_c::initBaseMtx() {
|
||||
mpModel->setBaseScale(scale);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_bg_w.h"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
const static dCcD_SrcCyl l_cyl_src = {
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
#include "global.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
const static int l_bmdIdx[2] = {3, 3};
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_bg_w.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
static u32 const l_bmd[2] = {
|
||||
4, 4,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
#include <math>
|
||||
#include <cmath>
|
||||
|
||||
static daWdStick_HIO_c l_HIO;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/actor/d_a_set_bgobj.h"
|
||||
#include <stdio>
|
||||
#include <cstdio>
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
static const char l_specName[] = "spec.dat";
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user