mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
fix compiler warnings (#3094)
This commit is contained in:
@@ -169,7 +169,7 @@ public:
|
||||
int chkPassed1(cXyz, int);
|
||||
int chkPassed2(cXyz, cXyz*, int, int);
|
||||
#if DEBUG
|
||||
int drawDbgInfo(f32, int);
|
||||
void drawDbgInfo(f32, int);
|
||||
#endif
|
||||
|
||||
daNpcT_Path_c() {
|
||||
|
||||
@@ -471,8 +471,7 @@ const ResTIMG* J2DPicture::changeTexture(char const* resName, u8 param_1) {
|
||||
return changeTexture((ResTIMG*)J2DScreen::getNameResource(resName), param_1);
|
||||
}
|
||||
|
||||
static bool dummy_weak_order(JUTTexture* tex) {
|
||||
J2DPicture* picture;
|
||||
static bool dummy_weak_order(J2DPicture* picture, JUTTexture* tex) {
|
||||
return picture->append(tex, 1.0f);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,22 +6,18 @@
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include "JSystem/J3DGraphBase/J3DVertex.h"
|
||||
|
||||
static void dummy() {
|
||||
J3DShape* shape;
|
||||
static void dummy(J3DShape* shape, J3DVertexBuffer* vtxBuf, J3DModel* model, J3DModelData* modelData) {
|
||||
J3DMaterial* material = shape->getMaterial();
|
||||
J3DJoint* joint = material->getJoint();
|
||||
|
||||
J3DVertexBuffer* vtxBuf;
|
||||
vtxBuf->swapTransformedVtxPos();
|
||||
J3DVertexData* vtxData = vtxBuf->getVertexData();
|
||||
vtxBuf->getTransformedVtxPos(0);
|
||||
vtxBuf->getCurrentVtxNrm();
|
||||
vtxBuf->setCurrentVtxPos(NULL);
|
||||
|
||||
J3DModel* model;
|
||||
model->getVertexBuffer();
|
||||
|
||||
J3DModelData* modelData;
|
||||
vtxData->getNrmNum();
|
||||
modelData->getNrmNum();
|
||||
vtxData->getVtxNum();
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
#include "JSystem/J3DGraphLoader/J3DModelLoader.h"
|
||||
#include "JSystem/JMath/JMath.h"
|
||||
|
||||
static void dummy() {
|
||||
J3DMtxCalcJ3DSysInitSoftimage* img;
|
||||
Vec* vec;
|
||||
static void dummy(J3DMtxCalcJ3DSysInitSoftimage* img, Vec* vec) {
|
||||
Mtx mtx;
|
||||
img->init(*vec, mtx);
|
||||
checkScaleOne(*vec);
|
||||
|
||||
@@ -6,14 +6,12 @@
|
||||
#include "JSystem/JMath/JMath.h"
|
||||
#include "JSystem/JUtility/JUTTexture.h"
|
||||
|
||||
void dummy() {
|
||||
void J3DUShadow_dummy(JUTTexture* tex, JGeometry::TVec3<f32>* vec) {
|
||||
JMAAbs(0.0f);
|
||||
JMathInlineVEC::C_VECDotProduct(NULL, NULL);
|
||||
JGeometry::TVec3<f32>* vec;
|
||||
vec->dot(*vec);
|
||||
vec->length();
|
||||
|
||||
JUTTexture* tex;
|
||||
tex->getCaptureFlag();
|
||||
tex->getFormat();
|
||||
JMath::fastSqrt<f32>(0.0f);
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
#include "JSystem/JGeometry.h"
|
||||
|
||||
static void dummy() {
|
||||
JGeometry::TVec3<f32>* vec_1;
|
||||
JGeometry::TVec3<f32>* vec_2;
|
||||
static void dummy(JGeometry::TVec3<f32>* vec_1, JGeometry::TVec3<f32>* vec_2) {
|
||||
*vec_1 = *vec_2;
|
||||
}
|
||||
|
||||
@@ -752,7 +752,7 @@ int daNpcT_Path_c::chkPassed2(cXyz i_pnt, cXyz* param_2, int i_num, int param_4)
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
int daNpcT_Path_c::drawDbgInfo(f32 param_0, int param_1) {
|
||||
void daNpcT_Path_c::drawDbgInfo(f32 param_0, int param_1) {
|
||||
GXColor green = {0x80, 0xff, 0x80, 0xff};
|
||||
GXColor blue = {0x80, 0x80, 0xff, 0xff};
|
||||
GXColor red = {0xff, 0x80, 0x80, 0xff};
|
||||
|
||||
@@ -874,11 +874,7 @@ void dDlst_blo_c::draw() {
|
||||
}
|
||||
|
||||
// stand-in for a function that pulls in a bunch of inline functions but was presumably stripped
|
||||
static void dummy_misc() {
|
||||
J2DScreen* screen;
|
||||
J2DPane* pane;
|
||||
J2DPicture* picture;
|
||||
J2DAnmBase* anmBase;
|
||||
static void dummy_misc(J2DAnmBase* anmBase, J2DPicture* picture, J2DPane* pane, J2DScreen* screen) {
|
||||
delete anmBase;
|
||||
picture->setBlack(JUtility::TColor(0, 0, 0, 0));
|
||||
picture->setWhite(JUtility::TColor(0, 0, 0, 0));
|
||||
|
||||
+1
-2
@@ -16,8 +16,7 @@
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
static void dummy1(mDoExt_btkAnm* btk) {
|
||||
cXyz pos;
|
||||
static void dummy1(mDoExt_btkAnm* btk, cXyz& pos) {
|
||||
GXColor color;
|
||||
OS_REPORT("d_lib.cpp");
|
||||
OS_REPORT("brk != 0");
|
||||
|
||||
@@ -94,10 +94,12 @@ void dMpath_HIO_n::hioList_c::update(JORMContext* mctx) {
|
||||
|
||||
u32 dMpath_HIO_n::hioList_c::addString(char* param_1, u32 param_2, u32 param_3) const {
|
||||
// DEBUG NONMATCHING
|
||||
return param_2;
|
||||
}
|
||||
|
||||
u32 dMpath_HIO_n::hioList_c::addStringBinary(char* param_1, u32 param_2, u32 param_3) const {
|
||||
// DEBUG NONMATCHING
|
||||
return param_2;
|
||||
}
|
||||
|
||||
BOOL dMpath_HIO_file_base_c::writeHostioTextFile(const char* param_1) {
|
||||
|
||||
Reference in New Issue
Block a user