pal core2 progress

This commit is contained in:
Banjo Kazooie
2025-08-18 00:03:05 -05:00
parent 24c3c06a6a
commit 2678f02ded
7 changed files with 113 additions and 134 deletions

View File

@@ -3,6 +3,8 @@
#include "variables.h"
extern f32 func_80294404(void);
extern BKCollisionTri *func_8029463C(void);
extern BKModelBin *func_802946A8(void);
/* .data */
s16 D_80364580[] = {

View File

@@ -6,7 +6,8 @@
extern void func_802F494C(void *, f32);
extern void func_802F4884(void *, s32, f32);
extern f32 floor_getCurrentFloorYPosition(void);
extern Struct5Ds *func_802F47D0(void);
extern Struct5Ds *func_802F499C(Struct5Ds *);
void func_8029AE74(s32 arg0);
void func_8029AEE4(s32 arg0);

View File

@@ -261,9 +261,9 @@ f32 func_8029B56C(f32 arg0, f32 arg1, f32 arg2, f32 arg3) {
phi_f0 = arg2;
phi_f2 = 0.0f;
while ((phi_f0 > 0.0f) || (arg1 < arg0)) {
phi_f2 += 0.0166666675f;
arg0 += phi_f0 * 0.0166666675f;
phi_f0 += arg3 * 0.0166666675f;
phi_f2 += (1.0f/FRAMERATE);
arg0 += phi_f0 * (1.0f/FRAMERATE);
phi_f0 += arg3 * (1.0f/FRAMERATE);
}
return phi_f2;
}
@@ -341,7 +341,7 @@ void func_8029B890(void){
func_8029B62C();
return;
}
gcdialog_showDialog(0xf81, 7, NULL, NULL, func_8029B85C, NULL);
gcdialog_showDialog(VER_SELECT(0xf81, 0xae7, 0, 0), 7, NULL, NULL, func_8029B85C, NULL);
fileProgressFlag_set(FILEPROG_A8_HAS_DIED, TRUE);
}
else{

View File

@@ -4,7 +4,7 @@
#include "variables.h"
#include "core2/ba/physics.h"
extern BKModelBin *func_8031C5DC(struct0 *);
extern int func_80258424(f32 vec[3], f32 minX, f32 minY, f32 minZ, f32 maxX, f32 maxY, f32 maxZ);
extern f32 floor_getXPosition(struct0*);
extern void func_8031C5AC(struct0 *, f32 *);
@@ -13,13 +13,14 @@ extern void func_8031C5FC(struct0 *, f32);
extern void func_80244FC0(f32 arg0[3], f32 arg1[3], f32 arg2, f32 arg3, s32 arg4, u32 arg5);
extern s32 func_80244E54(f32[3], f32[3], f32 [3], u32, f32, f32);
extern BKCollisionTri *func_802457C4(f32[3], f32[3], f32, f32, f32[3], s32, u32);
extern s32 func_8029463C(void);
extern BKCollisionTri *func_80320C94(f32[3], f32[3], f32, f32[3], s32, u32);
extern BKCollisionTri *func_8031C5F4(struct0 *);
void func_80294378(s32 arg0);
void func_80294384(s32 arg0);
void func_80294390(void);
BKCollisionTri *func_8029463C(void);
typedef struct {
f32 unk0[3];
f32 unkC[3];
@@ -480,7 +481,7 @@ u32 func_80294610(u32 mask){
return func_8031C59C(D_8037C200) & mask;
}
s32 func_8029463C(void){
BKCollisionTri *func_8029463C(void){
return func_8031C5F4(D_8037C200);
}
@@ -492,8 +493,8 @@ void func_80294684(void){
func_8031C5A4(D_8037C200);
}
void func_802946A8(void){
func_8031C5DC(D_8037C200);
BKModelBin *func_802946A8(void){
return func_8031C5DC(D_8037C200);
}
void func_802946CC(void){

View File

@@ -6,6 +6,8 @@
#include "core2/statetimer.h"
#include "ba/iFrame.h"
extern BKCollisionTri *func_8029463C(void);
/* .bss */
u8 hazardSfxId;
u8 frozenEffectsState;