Merge remote-tracking branch 'origin/main' into 26-02-27-pjb-dev-2

This commit is contained in:
PJB3005
2026-03-01 15:08:52 +01:00
3940 changed files with 243894 additions and 20306 deletions
+5 -4
View File
@@ -21,6 +21,7 @@
#include "m_Do/m_Do_graphic.h"
#include "m_Do/m_Do_lib.h"
#include <cmath>
#include <cstring>
#if DEBUG
#include "d/d_debug_pad.h"
@@ -10130,7 +10131,7 @@ bool dCamera_c::eventCamera(s32 param_0) {
}
int* sp90_i;
if (getEvStringData(sp90, "Trim", "DEFAULT") != NULL) {
if (getEvStringData(sp90, "Trim", "DEFAULT") != false) {
sp90_i = (int*)sp90;
if (*sp90_i == 'STAN') {
mEventData.field_0x1c = 0;
@@ -10842,15 +10843,15 @@ static void store(camera_process_class* i_camera) {
error = true;
OS_REPORT("camera: ERROR: bad direction !!\n");
}
if (fovy < 0.0f || isnan(fovy)) {
if (fovy < 0.0f || std::isnan(fovy)) {
error = true;
OS_REPORT("camera: ERROR: bad fovy !!\n");
}
if (isnan(eye.x) || isnan(eye.y) || isnan(eye.z)) {
if (std::isnan(eye.x) || std::isnan(eye.y) || std::isnan(eye.z)) {
error = true;
OS_REPORT("camera: ERROR: bad eye !!\n");
}
if (isnan(center.x) || isnan(center.y) || isnan(center.z)) {
if (std::isnan(center.x) || std::isnan(center.y) || std::isnan(center.z)) {
error = true;
OS_REPORT("camera: ERROR: bad eye !!\n");
}