Complete m439Dll

This commit is contained in:
kabiskac 2024-07-26 19:20:38 +02:00
parent 392cc24892
commit 6de023447c
3 changed files with 2928 additions and 93 deletions

View file

@ -1134,7 +1134,7 @@ config.libs = [
"m439Dll", # Paths of Peril "m439Dll", # Paths of Peril
objects={ objects={
Object(Matching, "REL/executor.c"), Object(Matching, "REL/executor.c"),
Object(NonMatching, "REL/m439Dll/main.c"), Object(Matching, "REL/m439Dll/main.c"),
}, },
), ),
Rel( Rel(

2843
include/REL/m439data.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -22,6 +22,8 @@
#include "rel_sqrt_consts.h" #include "rel_sqrt_consts.h"
#include "REL/m439data.h"
typedef struct camera_params { typedef struct camera_params {
float zoom; float zoom;
Vec pos; Vec pos;
@ -565,17 +567,17 @@ float fn_1_1024(float arg0, float arg1, float arg2)
} }
float lbl_1_data_76B0[11][2] = { float lbl_1_data_76B0[11][2] = {
-180, -230, { -180.0f, -230.0f },
-260, -150, { -260.0f, -150.0f },
-300, 0, { -300.0f, 0.0f },
-260, 150, { -260.0f, 150.0f },
-150, 260, { -150.0f, 260.0f },
-1e-50, 300, { -0.0f, 300.0f },
150, 260, { 150.0f, 260.0f },
260, 150, { 260.0f, 150.0f },
300, -1e-50, { 300.0f, -0.0f },
260, -150, { 260.0f, -150.0f },
180, -230 { 180.0f, -230.0f },
}; };
s32 fn_1_1128(Vec *arg0) s32 fn_1_1128(Vec *arg0)
@ -687,11 +689,6 @@ s32 fn_1_16B0(Vec *arg0)
} }
} }
extern Vec *lbl_1_data_1014[][2];
extern u16 lbl_1_data_1074[];
extern float *lbl_1_data_108C[];
float fn_1_1C54(s32 arg0, Vec *arg1, Vec *arg2) float fn_1_1C54(s32 arg0, Vec *arg1, Vec *arg2)
{ {
Vec *temp_r31; Vec *temp_r31;
@ -1732,11 +1729,6 @@ void fn_1_66BC(omObjData *object)
} }
} }
extern u16 lbl_1_data_73B8[];
extern Vec **lbl_1_data_73CC[];
extern s32 *lbl_1_data_73F4[];
s32 fn_1_67B4(Vec *arg0, s32 arg1, s32 arg2, Vec *arg3, Vec *arg4) s32 fn_1_67B4(Vec *arg0, s32 arg1, s32 arg2, Vec *arg3, Vec *arg4)
{ {
omObjData **temp_r21 = omGetGroupMemberListEx(HuPrcCurrentGet(), 1); omObjData **temp_r21 = omGetGroupMemberListEx(HuPrcCurrentGet(), 1);