level overlay .bss sections defined

This commit is contained in:
Banjo Kazooie
2022-12-05 19:04:09 -06:00
parent 1e8dc04fb8
commit 0258e21af5
37 changed files with 170 additions and 129 deletions

1
src/GV/bss_pad.c Normal file
View File

@@ -0,0 +1 @@
char pad_GV_D_80391A20[0x10];

View File

@@ -23,7 +23,7 @@ f32 chgobi2_jiggy_position[3] = {1150.0f, 1150.0f, 9200.0f}; //jiggy spawn posit
f32 D_80390CEC[3] = {1145.0f, 443.0f, 9197.0f};
/* .bss */
extern u8 D_80391A50;
u8 D_80391A50;
/* .code */
void GV_func_80387960(void){

View File

@@ -24,7 +24,6 @@ ActorInfo D_80390D60 = { 0xBE, 0x130, 0x3E4,
f32 D_80390D84[3] = {5644.0f, 2930.0f, -3258.0f};
/*.bss */
u8 GV_pad1[0x10];
u8 GV_D_80391A60;
/* .code */

View File

@@ -32,7 +32,7 @@ s32 D_8039117C[3] = {160, 100, 0};
/* .bss */
extern s32 D_80391A80;
s32 D_80391A80;
/* .code */
void func_8038B960(void){

View File

@@ -22,7 +22,6 @@ ActorInfo D_803911C0 = { 0xAC, 0x11E, 0x3E5,
};
/* .bss */
u8 GV_pad2[0x10];
s32 GV_D_80391A90;
/* .code */

View File

@@ -147,9 +147,9 @@ ActorInfo D_80391590 = { MARKER_23A_GV_SNS_CHAMBER_DOOR, ACTOR_243_GV_SNS_CHAMBE
};
/* .bss */
extern f32 D_80391AC0;
extern f32 D_80391AC4;
extern f32 D_80391AC8;
f32 D_80391AC0;
f32 D_80391AC4;
f32 D_80391AC8;
/* .code */
void func_8038E3E0(Actor *this){

View File

@@ -3,15 +3,15 @@
#include "variables.h"
/* .bss */
extern u8 D_80391AD0;
u8 GV_D_80391AD0;
/* .code */
void func_80390000(s32 arg0){
Struct73s *tmp_v0;
Struct6Ds *tmp_v0_2;
D_80391AD0 = arg0;
if(D_80391AD0 == 1){
GV_D_80391AD0 = arg0;
if(GV_D_80391AD0 == 1){
set_camera_to_node(0x14);
func_80324E38(0.0f, 3);
timed_setCameraToNode(4.0f, 0x15);
@@ -29,7 +29,7 @@ void func_80390000(s32 arg0){
}
}//L803900AC
if(D_80391AD0 == 2){
if(GV_D_80391AD0 == 2){
levelSpecificFlags_set(6, FALSE);
func_803228D8();
func_802E4078(MAP_15_GV_WATER_PYRAMID, 1, 0);
@@ -39,15 +39,15 @@ void func_80390000(s32 arg0){
void func_803900F8(void){}
void func_80390100(void){
D_80391AD0 = 0;
GV_D_80391AD0 = 0;
if(levelSpecificFlags_get(6)){
func_80390000(1);
}
}
void func_80390138(void){
if(D_80391AD0 && func_80334904() == 2){
if(D_80391AD0 == 1 && timedFuncQueue_is_empty()){
if(GV_D_80391AD0 && func_80334904() == 2){
if(GV_D_80391AD0 == 1 && timedFuncQueue_is_empty()){
func_80390000(2);
}
}

View File

@@ -33,7 +33,7 @@ Struct_GV_9DB0_1 D_80391650[] = {
f32 GV_D_803916D8[3] = {0.0f, 100.0f, 0.0f};
/*.bss */
extern struct {
struct {
Struct_GV_9DB0_1 *tile1_0;
Struct_GV_9DB0_1 *tile2_4;
u8 matchCnt_8;//match_count

View File

@@ -3,7 +3,6 @@
#include "variables.h"
/* .bss */
u8 GV_pad3[0x40];
struct {
u8 unk0;
f32 unk4;

View File

@@ -26,7 +26,6 @@ ActorInfo D_80390C80 = { MARKER_BC_GOBI_1, ACTOR_12E_GOBI_1, ASSET_3E0_MODEL_GOB
/* .bss */
u8 GV_pad0[0x10];
struct {
u8 unk0;
u8 unk1;