Merge pull request #283 from gamemasterplc/main

Do more of m401dll/main.c
This commit is contained in:
Liam Coleman 2024-04-28 22:32:32 -05:00 committed by GitHub
commit 65ab0533d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1568 additions and 5 deletions

View file

@ -451,9 +451,10 @@ lbl_2_data_298 = .data:0x00000298; // type:object size:0x30 data:float
lbl_2_data_2C8 = .data:0x000002C8; // type:object size:0x30 data:float
jumptable_2_data_2F8 = .data:0x000002F8; // type:object size:0x30 scope:local
lbl_2_data_32C = .data:0x0000032C; // type:object size:0x8
lbl_2_data_334 = .data:0x00000334; // type:object size:0xF0
lbl_2_data_334 = .data:0x00000334; // type:object size:0xF0 data:float
lbl_2_data_424 = .data:0x00000424; // type:object size:0x8
lbl_2_data_42C = .data:0x0000042C; // type:object size:0x28
lbl_2_data_42C = .data:0x0000042C; // type:object size:0x8
lbl_2_data_434 = .data:0x00000434; // type:object size:0x20
lbl_2_data_454 = .data:0x00000454; // type:object size:0xC data:string
lbl_2_data_460 = .data:0x00000460; // type:object size:0xC
lbl_2_data_46C = .data:0x0000046C; // type:object size:0x5 data:string

View file

@ -66,6 +66,7 @@ void fn_2_10710(void);
void fn_2_1079C(void);
omObjData *fn_2_10A88(Vec *arg0, s16 arg1);
void fn_2_141B0(void);
omObjData *fn_2_14640(Process *objman);
#endif

View file

@ -12,9 +12,10 @@ typedef struct vec2f {
#define ABS(x) (((x) < 0) ? -(x) : (x))
#define VECDistanceXZ(a, b) sqrtf((((a)->x-(b)->x)*((a)->x-(b)->x))+(((a)->z-(b)->z)*((a)->z-(b)->z)))
#define VECDistanceAlt(a, b) sqrtf((((a)->x-(b)->x)*((a)->x-(b)->x))+(((a)->y-(b)->y)*((a)->y-(b)->y))+(((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 VECMagXZ(a) sqrtf(((a)->x*(a)->x)+((a)->z*(a)->z))
#define VECMagPoint(x, y, z) sqrtf(((x)*(x))+((y)*(y))+((z)*(z)))
#define sind(x) sin(M_PI*(x)/180.0)
#define cosd(x) cos(M_PI*(x)/180.0)

File diff suppressed because it is too large Load diff