Decompiling Actor NSSW (#153)

* feat: begin decompiling

* feat: decompiling enhanced

* fix: symbols sheningans

* fix: make jp build

* merge: update NSSW

* feat: improve overall matching

* feat: update

* feat: improve matching of ActorItemTornado's vfunc_2C

* fix: first attempt to make usa build

* style: move external functions

* fix: building NSSW

* fix: build for jp

* feat: improve matching

* feat: comply to suggestions
This commit is contained in:
Alessevan
2026-10-11 19:18:57 -04:00
committed by GitHub
parent f96b3a6e31
commit 6c8f5c72bc
23 changed files with 929 additions and 192 deletions
+22
View File
@@ -1,5 +1,7 @@
#pragma once
#include "global.h"
#include <nitro/math.h>
// some kind of angle conversion? only used for angle values so far
@@ -45,6 +47,26 @@ struct VecFx32Cpp {
vec.y = Y;
vec.z = Z;
}
void Set(fx32 X, fx32 Y, fx32 Z) {
VecFx32_Init(X, Y, Z, &this->vec);
}
void Reset() {
VecFx32_Reset(&this->vec);
}
void CopyIn(VecFx32Cpp *vec) {
VecFx32_Copy(&this->vec, &vec->vec);
}
void CopyIn(VecFx32 *vec) {
VecFx32_Copy(&this->vec, vec);
}
bool TryNormalize() {
return VecFx32_TryNormalize(&this->vec);
}
};
// C++ wrapper for VecFx16