Merge headers from nitro decomp (#69)

* merge headers from nitro decomp

* cleanup: use inlines from g2.h and gx.h when changing registers

* cleanup: remove externs declarations in source files
This commit is contained in:
Yanis
2026-05-25 02:55:16 +02:00
committed by GitHub
parent 530fcd8c07
commit 69ef244371
138 changed files with 3084 additions and 1096 deletions
+5 -5
View File
@@ -5,15 +5,15 @@
#include "math.hpp"
struct Cylinder {
Vec3p pos;
q20 size; // height and radius
VecFx32 pos;
fx32 size; // height and radius
Cylinder() {}
Cylinder(q20 size) {
Cylinder(fx32 size) {
this->Init(size);
}
void Init(q20 size) {
void Init(fx32 size) {
pos.x = 0;
pos.y = size;
pos.z = 0;
@@ -22,7 +22,7 @@ struct Cylinder {
}
void MakeEmpty() {
pos = gVec3p_ZERO;
pos = gVecFx32_ZERO;
size = -1;
}
};