mirror of
https://github.com/zeldaret/tp
synced 2026-06-10 04:54:14 -04:00
fix compiler warnings (#3094)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user