Various m410dll fixes

Match first translation unit and much of game.c
This commit is contained in:
gamemasterplc 2024-05-21 10:37:35 -05:00
parent 7f29533b7b
commit f812f82e86
5 changed files with 111 additions and 170 deletions

View file

@ -13,6 +13,7 @@ typedef struct vec2f {
#define VECDistanceXZ(a, b) sqrtf((((a)->x-(b)->x)*((a)->x-(b)->x))+(((a)->z-(b)->z)*((a)->z-(b)->z)))
#define VECDistanceZY(a, b) sqrtf((((a)->z-(b)->z)*((a)->z-(b)->z))+(((a)->y-(b)->y)*((a)->y-(b)->y)))
#define VECSumXZ(a, b) sqrtf((((a)->x+(b)->x)*((a)->x+(b)->x))+(((a)->z+(b)->z)*((a)->z+(b)->z)))
#define VECMagXZ(a) sqrtf(((a)->x*(a)->x)+((a)->z*(a)->z))
#define VECMagPoint(x, y, z) sqrtf(((x)*(x))+((y)*(y))+((z)*(z)))

View file

@ -64,7 +64,7 @@ typedef struct model_data {
Vec rot;
Vec scale;
Mtx unk_F0;
ParticleData *unk_120;
void *unk_120;
} ModelData; // sizeof 0x124
typedef struct camera_data {
f32 fov;