SpriteData

This commit is contained in:
Donkey Kong 2024-09-23 09:45:42 -05:00
parent f22b4e2bb3
commit 2cf7d9d3ee
46 changed files with 474 additions and 255 deletions

176
include/sprites.h Normal file
View File

@ -0,0 +1,176 @@
// static SpriteData D_global_asm_8071FA80;
// static SpriteData D_global_asm_8071FAAC;
// static SpriteData D_global_asm_8071FAD8;
// static SpriteData D_global_asm_8071FAF0;
// static SpriteData D_global_asm_8071FB08;
// static SpriteData D_global_asm_8071FB34;
// static SpriteData D_global_asm_8071FB54;
// static SpriteData D_global_asm_8071FB88;
// static SpriteData D_global_asm_8071FBA0;
// static SpriteData D_global_asm_8071FBC8;
// static SpriteData D_global_asm_8071FBF4;
// static SpriteData D_global_asm_8071FC0C;
// static SpriteData D_global_asm_8071FC40;
// static SpriteData D_global_asm_8071FC58;
// static SpriteData D_global_asm_8071FC8C;
// static SpriteData D_global_asm_8071FCC0;
// static SpriteData D_global_asm_8071FCF4;
// static SpriteData D_global_asm_8071FD50;
// static SpriteData D_global_asm_8071FDAC;
// static SpriteData D_global_asm_8071FE08;
// static SpriteData D_global_asm_8071FE3C;
// static SpriteData D_global_asm_8071FE64;
// static SpriteData D_global_asm_8071FE88;
// static SpriteData D_global_asm_8071FEAC;
// static SpriteData D_global_asm_8071FED0;
// static SpriteData D_global_asm_8071FEF4;
// static SpriteData D_global_asm_8071FF18;
// static SpriteData D_global_asm_8071FF40;
// static SpriteData D_global_asm_8071FF58;
// static SpriteData D_global_asm_8071FF70;
// static SpriteData D_global_asm_8071FF88;
// static SpriteData D_global_asm_8071FFA0;
// static SpriteData D_global_asm_8071FFD4;
// static SpriteData D_global_asm_80720020;
// static SpriteData D_global_asm_80720054;
// static SpriteData D_global_asm_8072006C;
// static SpriteData D_global_asm_807200A0;
// static SpriteData D_global_asm_807200D4;
// static SpriteData D_global_asm_807200EC;
// static SpriteData D_global_asm_80720120;
// static SpriteData D_global_asm_8072014C;
// static SpriteData D_global_asm_80720180;
// static SpriteData D_global_asm_807201A0;
// static SpriteData D_global_asm_807201D4;
// static SpriteData D_global_asm_80720268;
// static SpriteData D_global_asm_8072029C;
// static SpriteData D_global_asm_807202D0;
// static SpriteData D_global_asm_8072030C;
// static SpriteData D_global_asm_80720340;
// static SpriteData D_global_asm_8072038C;
// static SpriteData D_global_asm_807203B0;
// static SpriteData D_global_asm_807203D4;
// static SpriteData D_global_asm_807203F8;
// static SpriteData D_global_asm_8072041C;
// static SpriteData D_global_asm_80720440;
// static SpriteData D_global_asm_80720464;
// static SpriteData D_global_asm_80720488;
// static SpriteData D_global_asm_807204BC;
// static SpriteData D_global_asm_80720508;
// static SpriteData D_global_asm_8072052C;
// static SpriteData D_global_asm_80720558;
// static SpriteData D_global_asm_8072057C;
// static SpriteData D_global_asm_807205A0;
// static SpriteData D_global_asm_807205C4;
// static SpriteData D_global_asm_807205E8;
// static SpriteData D_global_asm_8072060C;
// static SpriteData D_global_asm_80720630;
// static SpriteData D_global_asm_80720690;
// static SpriteData D_global_asm_807206A8;
// static SpriteData D_global_asm_807206DC;
// static SpriteData D_global_asm_80720710;
// static SpriteData D_global_asm_8072073C;
// static SpriteData D_global_asm_80720768;
// static SpriteData D_global_asm_807207BC;
// static SpriteData D_global_asm_807207E0;
// static SpriteData D_global_asm_80720804;
// static SpriteData D_global_asm_80720830;
// static SpriteData D_global_asm_80720854;
// static SpriteData D_global_asm_80720878;
// static SpriteData D_global_asm_80720890;
// static SpriteData D_global_asm_807208A8;
// static SpriteData D_global_asm_807208C0;
// static SpriteData D_global_asm_807208D8;
// static SpriteData D_global_asm_807208F0;
// static SpriteData D_global_asm_80720914;
// static SpriteData D_global_asm_80720938;
// static SpriteData D_global_asm_8072095C;
// static SpriteData D_global_asm_80720980;
// static SpriteData D_global_asm_807209A4;
// static SpriteData D_global_asm_807209C8;
// static SpriteData D_global_asm_807209EC;
// static SpriteData D_global_asm_80720A10;
// static SpriteData D_global_asm_80720A34;
// static SpriteData D_global_asm_80720A58;
// static SpriteData D_global_asm_80720A7C;
// static SpriteData D_global_asm_80720AA0;
// static SpriteData D_global_asm_80720AB8;
// static SpriteData D_global_asm_80720AD0;
// static SpriteData D_global_asm_80720AE8;
// static SpriteData D_global_asm_80720B00;
// static SpriteData D_global_asm_80720B24;
// static SpriteData D_global_asm_80720B58;
// static SpriteData D_global_asm_80720B70;
// static SpriteData D_global_asm_80720B88;
// static SpriteData D_global_asm_80720BA0;
// static SpriteData D_global_asm_80720BC4;
// static SpriteData D_global_asm_80720BE8;
// static SpriteData D_global_asm_80720C34;
// static SpriteData D_global_asm_80720C64;
// static SpriteData D_global_asm_80720CD8;
// static SpriteData D_global_asm_80720CF0;
// static SpriteData D_global_asm_80720D14;
// static SpriteData D_global_asm_80720D38;
// static SpriteData D_global_asm_80720D5C;
// static SpriteData D_global_asm_80720D80;
// static SpriteData D_global_asm_80720DA4;
// static SpriteData D_global_asm_80720DC8;
// static SpriteData D_global_asm_80720DE0;
// static SpriteData D_global_asm_80720E14;
// static SpriteData D_global_asm_80720E2C;
// static SpriteData D_global_asm_80720E44;
// static SpriteData D_global_asm_80720E5C;
// static SpriteData D_global_asm_80720E74;
// static SpriteData D_global_asm_80720E8C;
// static SpriteData D_global_asm_80720EA4;
// static SpriteData D_global_asm_80720EBC;
// static SpriteData D_global_asm_80720EE8;
// static SpriteData D_global_asm_80720F14;
// static SpriteData D_global_asm_80720F40;
// static SpriteData D_global_asm_80720F6C;
// static SpriteData D_global_asm_80720F98;
// static SpriteData D_global_asm_80720FBC;
// static SpriteData D_global_asm_80720FE0;
// static SpriteData D_global_asm_80721004;
// static SpriteData D_global_asm_80721028;
// static SpriteData D_global_asm_8072104C;
// static SpriteData D_global_asm_80721070;
// static SpriteData D_global_asm_80721094;
// static SpriteData D_global_asm_807210B8;
// static SpriteData D_global_asm_807210EC;
// static SpriteData D_global_asm_80721110;
// static SpriteData D_global_asm_80721134;
// static SpriteData D_global_asm_80721158;
// static SpriteData D_global_asm_80721170;
// static SpriteData D_global_asm_80721194;
// static SpriteData D_global_asm_807211AC;
// static SpriteData D_global_asm_807211D0;
// static SpriteData D_global_asm_80721200;
// static SpriteData D_global_asm_8072121C;
// static SpriteData D_global_asm_80721238;
// static SpriteData D_global_asm_80721250;
// static SpriteData D_global_asm_8072126C;
// static SpriteData D_global_asm_80721298;
// static SpriteData D_global_asm_807212B0;
// static SpriteData D_global_asm_807212C8;
// static SpriteData D_global_asm_807212E0;
// static SpriteData D_global_asm_80721300;
// static SpriteData D_global_asm_80721318;
// static SpriteData D_global_asm_80721330;
// static SpriteData D_global_asm_80721358;
// static SpriteData D_global_asm_80721378;
// static SpriteData D_global_asm_8072139C;
// static SpriteData D_global_asm_807213D0;
// static SpriteData D_global_asm_807213F4;
// static SpriteData D_global_asm_8072140C;
// static SpriteData D_global_asm_8072142C;
// static SpriteData D_global_asm_80721444;
// static SpriteData D_global_asm_8072145C;
// static SpriteData D_global_asm_80721474;
// static SpriteData D_global_asm_807214A0;
// static SpriteData D_global_asm_807214B8;
// static SpriteData D_global_asm_807214D0;
// static SpriteData D_global_asm_807214E8;
// static SpriteData D_global_asm_80721500;
// static SpriteData D_global_asm_80721518;
// static SpriteData D_global_asm_80721530;

View File

@ -2002,11 +2002,11 @@ typedef struct {
} Struct807500B4;
typedef struct {
u8 unk0[4];
s32 id;
u8 images_per_frame_horizontal;
u8 images_per_frame_vertical;
u8 unk6;
u8 unk7;
u8 codec;
u8 unk8;
u8 unk9;
u8 unkA;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
// TODO: Is there a file split somewhere in here? Rodata messes up around D_bonus_8002DDD4
//rodata
@ -196,7 +197,7 @@ void func_bonus_80027308(BonusStruct0 *arg0, s32 *arg1) {
deleteActor(current_actor_pointer);
}
extern s32 D_global_asm_8071FFD4;
extern SpriteData D_global_asm_8071FFD4;
typedef struct {
s32 unk0;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
// rodata
const s32 D_boss_80035C00[] = {
@ -82,7 +83,7 @@ const s32 D_boss_80035CC0[] = {
0x03000000,
};
extern void *D_global_asm_80720120;
extern SpriteData D_global_asm_80720120;
typedef struct {
u8 unk0[0x6 - 0x0];
@ -95,7 +96,7 @@ typedef struct {
u8 unk0[6];
} Struct80024000;
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FFA0;
extern Struct80024000 D_boss_8003598C;
void func_boss_80024000(void) {

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
const s32 D_boss_800362F0[] = {
0x09000102,
@ -73,7 +74,7 @@ const s32 D_boss_8003639C[] = {
0xFFFF0000,
};
extern s32 D_global_asm_80720120;
extern SpriteData D_global_asm_80720120;
s32 func_global_asm_80725BA4(s16, s16, s32);

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct BossStruct2 {
f32 unk0;
@ -51,7 +52,7 @@ extern s16 D_boss_800359AC[];
extern s16 D_boss_800359B8[];
extern s16 D_boss_800359C4[];
extern s32 D_global_asm_8071FE08; // TODO: Sprite
extern SpriteData D_global_asm_8071FE08; // TODO: Sprite
extern u8 D_global_asm_80750AD4;
extern s32 D_global_asm_80767CC0;
extern s32 D_global_asm_8076D1F8;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct CritterStruct5 {
s16 x_position; // 0x00
@ -212,7 +213,7 @@ typedef struct {
extern D_80029F74 D_critter_80029F74;
extern s32 D_global_asm_8071FC40;
extern SpriteData D_global_asm_8071FC40;
extern u8 D_global_asm_80770DC9;
extern s32 D_global_asm_807F6C28;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern f32 D_critter_8002A1B0;
@ -36,8 +37,8 @@ extern u16 D_global_asm_807FC930[];
extern s8 D_critter_80029F80[];
extern s8 D_critter_80029F84[];
extern u16 D_critter_80029F90[];
extern s32 D_global_asm_8071FE08; // TODO: Datatype
extern s32 D_global_asm_80720A7C; // TODO: Datatype
extern SpriteData D_global_asm_8071FE08; // TODO: Datatype
extern SpriteData D_global_asm_80720A7C; // TODO: Datatype
/*
void func_critter_80027448(void) {

View File

@ -1,11 +1,12 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern Struct80717D84 *D_minecart_80028C30;
extern s32 D_global_asm_8071FB54;
extern s32 D_global_asm_8071FEF4;
extern s32 D_global_asm_8071FFA0; // TODO: Datatype
extern SpriteData D_global_asm_8071FB54;
extern SpriteData D_global_asm_8071FEF4;
extern SpriteData D_global_asm_8071FFA0; // TODO: Datatype
extern u8 D_global_asm_8074450C;
@ -1642,7 +1643,7 @@ void func_global_asm_8071BE04(Struct80717D84 *arg0, s32 arg1) {
arg0->unk32C = 3;
}
extern s32 D_global_asm_807201D4; // TODO: Datatype
extern SpriteData D_global_asm_807201D4; // TODO: Datatype
void func_global_asm_8071C24C(Struct80717D84 *arg0, u8 *arg1);
void func_global_asm_8071C004(Struct80717D84 *arg0, s8 *arg1) {
@ -2539,7 +2540,7 @@ void func_global_asm_8071F758(Struct80717D84 *arg0, s32 arg1) {
arg0->unk32C = 2;
}
extern s32 D_global_asm_8071FB08; // TODO: Proper datatype
extern SpriteData D_global_asm_8071FB08; // TODO: Proper datatype
typedef struct {
f32 unk0;

View File

@ -1,8 +1,9 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FB34;
extern s32 D_global_asm_8071FF18;
extern SpriteData D_global_asm_8071FB34;
extern SpriteData D_global_asm_8071FF18;
extern f64 D_global_asm_8075FF20;
extern f64 D_global_asm_8075FF38;
@ -122,7 +123,7 @@ void func_global_asm_8072A450(void) {
*/
extern f64 D_global_asm_8075FD28;
extern s32 D_global_asm_80720120; // TODO: Datatype
extern SpriteData D_global_asm_80720120; // TODO: Datatype
// killEnemy
void func_global_asm_8072A714(void) {

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
void func_global_asm_80613BA0(Actor *, s16, f32, f32);
void func_global_asm_80613CA8(Actor *, s16, f32, f32);
@ -1460,8 +1461,8 @@ void func_global_asm_806180FC(Actor *arg0) {
// jumptable, rodata
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_17B90/func_global_asm_80618104.s")
extern s32 D_global_asm_8071FE08; // TODO: Sprite?
extern s32 D_global_asm_8071FF18; // TODO: Sprite?
extern SpriteData D_global_asm_8071FE08; // TODO: Sprite?
extern SpriteData D_global_asm_8071FF18; // TODO: Sprite?
void func_global_asm_80618430(Actor *arg0) {
u8 sp27;
@ -1510,8 +1511,8 @@ void func_global_asm_8061859C(Actor *arg0) {
// rodata, doable, close
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_17B90/func_global_asm_80618608.s")
extern s32 D_global_asm_8072006C;
extern s32 D_global_asm_80720B58;
extern SpriteData D_global_asm_8072006C;
extern SpriteData D_global_asm_80720B58;
extern s32 D_global_asm_807FBB68;
/*

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern u8 D_global_asm_80750AB4;
@ -826,7 +827,7 @@ void func_global_asm_80642844(s16 arg0, s16 arg1, Struct80642844 *arg2, s32 arg3
}
}
extern s32 D_global_asm_8071FC58; // TODO: Sprite
extern SpriteData D_global_asm_8071FC58; // TODO: Sprite
void func_global_asm_80642940(s32 arg0, s32 arg1, s32 arg2, s32 arg3) {
f32 randomZOffset;

View File

@ -1,38 +1,39 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_80718188;
extern s32 D_global_asm_80720EA4;
extern s32 D_global_asm_8071FC8C; // TODO: Datatype
extern s32 D_global_asm_8071FC40;
extern SpriteData D_global_asm_80720EA4;
extern SpriteData D_global_asm_8071FC8C; // TODO: Datatype
extern SpriteData D_global_asm_8071FC40;
extern s32 D_global_asm_8071FBC8;
extern s32 D_global_asm_8071FB54;
extern s32 D_global_asm_8071FE08; // TODO: Datatype
extern s32 D_global_asm_8071FE64;
extern s32 D_global_asm_8071FE88;
extern s32 D_global_asm_8071FFA0;
extern s32 D_global_asm_8071FEAC;
extern s32 D_global_asm_8071FF18;
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FBC8;
extern SpriteData D_global_asm_8071FB54;
extern SpriteData D_global_asm_8071FE08; // TODO: Datatype
extern SpriteData D_global_asm_8071FE64;
extern SpriteData D_global_asm_8071FE88;
extern SpriteData D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FEAC;
extern SpriteData D_global_asm_8071FF18;
extern SpriteData D_global_asm_8071FFA0;
extern s32 D_global_asm_80720A7C;
extern s32 D_global_asm_80720B00;
extern s32 D_global_asm_80720BE8;
extern s32 D_global_asm_80720BC4; // TODO: Datatype
extern s32 D_global_asm_80720CD8;
extern s32 D_global_asm_80720E44;
extern s32 D_global_asm_80720E5C;
extern s32 D_global_asm_80720E74;
extern s32 D_global_asm_80720E8C;
extern SpriteData D_global_asm_80720A7C;
extern SpriteData D_global_asm_80720B00;
extern SpriteData D_global_asm_80720BE8;
extern SpriteData D_global_asm_80720BC4; // TODO: Datatype
extern SpriteData D_global_asm_80720CD8;
extern SpriteData D_global_asm_80720E44;
extern SpriteData D_global_asm_80720E5C;
extern SpriteData D_global_asm_80720E74;
extern SpriteData D_global_asm_80720E8C;
extern s32 D_global_asm_80721200;
extern s32 D_global_asm_8072121C;
extern s32 D_global_asm_80721238;
extern s32 D_global_asm_80721250;
extern s32 D_global_asm_8072126C;
extern s32 D_global_asm_80721530;
extern SpriteData D_global_asm_80721200;
extern SpriteData D_global_asm_8072121C;
extern SpriteData D_global_asm_80721238;
extern SpriteData D_global_asm_80721250;
extern SpriteData D_global_asm_8072126C;
extern SpriteData D_global_asm_80721530;
typedef struct {
f32 unk0;
@ -362,7 +363,7 @@ void func_global_asm_80643B24(s32 arg0, s16 arg1, s32 arg2, s32 arg3) {
}
}
extern s32 D_global_asm_807201D4;
extern SpriteData D_global_asm_807201D4;
typedef struct {
void *unk0;
@ -922,7 +923,7 @@ void func_global_asm_80647508(s32 arg0, s16 arg1, s32 arg2, s32 arg3) {
// Close
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_478F0/func_global_asm_80647610.s")
extern s32 D_global_asm_80720DE0; // TODO: Datatype
extern SpriteData D_global_asm_80720DE0; // TODO: Datatype
/*
void func_global_asm_80647610(s32 **arg0, s32 arg1, s16 arg2, s16 arg3) {
@ -1203,7 +1204,7 @@ void func_global_asm_8064826C(Struct8064826C_arg0 *arg0, s32 arg1, s16 arg2, s32
// rodata
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_478F0/func_global_asm_806485A0.s")
extern s32 D_global_asm_8071FF18;
extern SpriteData D_global_asm_8071FF18;
/*
void func_global_asm_806485A0(s32 arg0, s32 arg1, s16 arg2, s16 arg3) {
@ -1329,7 +1330,7 @@ void func_global_asm_806491F4(s32 arg0, s16 arg1, s16 arg2, s32 arg3) {
}
*/
extern s32 D_global_asm_80721298; // TODO: Sprite
extern SpriteData D_global_asm_80721298; // TODO: Sprite
void func_global_asm_806493C4(s32 arg0, s32 arg1, s16 arg2, s16 arg3) {
u8 temp_s1;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
const char D_global_asm_80759260[] = "DONKEY";
const char D_global_asm_80759268[] = "DIDDY";
@ -830,7 +831,7 @@ ActorCollision *func_global_asm_80679490(Actor * arg0, s32 arg1, u8 arg2, s32 ar
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_7CA80/func_global_asm_806794EC.s")
extern u8 D_global_asm_807FBB85;
extern s32 D_global_asm_80720E2C; // TODO: Datatype
extern SpriteData D_global_asm_80720E2C; // TODO: Datatype
void func_global_asm_80679DC4(Actor *arg0, Actor *arg1, u8 arg2) {
s32 sp3C;

View File

@ -1,7 +1,8 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FC8C;
extern SpriteData D_global_asm_8071FC8C;
typedef struct {
u16 unk0;
@ -32,7 +33,7 @@ u8 func_global_asm_8067B450(void) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_80150/func_global_asm_8067B4C8.s")
void func_global_asm_80613CA8(Actor*, s32, f32, f32);
extern s32 D_global_asm_8071FBC8; // TODO: Type
extern SpriteData D_global_asm_8071FBC8; // TODO: Type
extern u8 D_global_asm_807FBDC4;
typedef struct {
@ -169,7 +170,7 @@ void func_global_asm_8067BA3C(void) {
extern u8 D_global_asm_807FBBA8;
extern s32 D_global_asm_8071FE08; // TODO: Sprite
extern SpriteData D_global_asm_8071FE08; // TODO: Sprite
/*
void func_global_asm_8067BA7C(s32 arg0) {
@ -528,9 +529,9 @@ void func_global_asm_8067C6FC(void) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_80150/func_global_asm_8067C71C.s")
int func_global_asm_8071910C(); // TODO: Signature
extern s32 D_global_asm_8071FE64; // TODO: Datatype
extern s32 D_global_asm_8071FE88; // TODO: Datatype
extern s32 D_global_asm_8071FEAC; // TODO: Datatype
extern SpriteData D_global_asm_8071FE64; // TODO: Datatype
extern SpriteData D_global_asm_8071FE88; // TODO: Datatype
extern SpriteData D_global_asm_8071FEAC; // TODO: Datatype
void func_global_asm_8067DCC0(void) {
f32 scale;
@ -565,9 +566,9 @@ void func_global_asm_8067DCC0(void) {
}
}
extern s32 D_global_asm_80720120;
extern s32 D_global_asm_80720340;
extern s32 D_global_asm_8072038C;
extern SpriteData D_global_asm_80720120;
extern SpriteData D_global_asm_80720340;
extern SpriteData D_global_asm_8072038C;
void func_global_asm_8067DF44(f32 x, f32 y, f32 z, f32 arg3, u8 arg4, u8 arg5) {
f64 sp80;

View File

@ -1,25 +1,26 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
int func_global_asm_8071827C(); // TODO: Signature
int func_global_asm_807197B4(); // TODO: Signature
extern s32 D_global_asm_8071FC0C; // TODO: Datatype
extern s32 D_global_asm_8071FC40;
extern s32 D_global_asm_8071FE08;
extern s32 D_global_asm_8071FED0; // TODO: Datatype
extern s32 D_global_asm_8071FF18;
extern s32 D_global_asm_8071FF40;
extern s32 D_global_asm_8071FF58;
extern s32 D_global_asm_8071FFA0; // TODO: Datatype
extern s32 *D_global_asm_8072006C;
extern s32 D_global_asm_80720120;
extern s32 D_global_asm_80720558;
extern s32 D_global_asm_8072073C;
extern s32 D_global_asm_80720B58; // TODO: Datatype
extern s32 D_global_asm_807210EC;
extern s32 D_global_asm_80721158;
extern s32 D_global_asm_8072139C;
extern SpriteData D_global_asm_8071FC0C; // TODO: Datatype
extern SpriteData D_global_asm_8071FC40;
extern SpriteData D_global_asm_8071FE08;
extern SpriteData D_global_asm_8071FED0; // TODO: Datatype
extern SpriteData D_global_asm_8071FF18;
extern SpriteData D_global_asm_8071FF40;
extern SpriteData D_global_asm_8071FF58;
extern SpriteData D_global_asm_8071FFA0; // TODO: Datatype
extern SpriteData D_global_asm_8072006C;
extern SpriteData D_global_asm_80720120;
extern SpriteData D_global_asm_80720558;
extern SpriteData D_global_asm_8072073C;
extern SpriteData D_global_asm_80720B58; // TODO: Datatype
extern SpriteData D_global_asm_807210EC;
extern SpriteData D_global_asm_80721158;
extern SpriteData D_global_asm_8072139C;
extern u8 D_global_asm_80750AD0;
@ -28,7 +29,7 @@ typedef struct {
} Struct8074E898;
extern Struct8074E898 D_global_asm_8074E898;
extern s32 D_global_asm_80720B24;
extern SpriteData D_global_asm_80720B24;
void func_global_asm_807184F4(Struct80717D84 *arg0, s32 arg1);
@ -522,7 +523,7 @@ void func_global_asm_80686340(void) {
func_global_asm_80714A28(4);
}
extern s32 D_global_asm_8071FBF4;
extern SpriteData D_global_asm_8071FBF4;
void func_global_asm_80686390(Actor *actor, f32 arg1, f32 x, f32 y, f32 z) {
f32 var_f0;

View File

@ -1,14 +1,15 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FFA0;
extern s32 D_global_asm_80720020; // TODO: Type
extern s32 D_global_asm_80720054; // TODO: Datatype
extern s32 D_global_asm_807200EC; // TODO: Datatype
extern s32 D_global_asm_80720120; // TODO: Datatype
extern s32 D_global_asm_807201D4;
extern s32 D_global_asm_807202D0; // TODO: Type
extern s32 D_global_asm_80720BE8;
extern SpriteData D_global_asm_8071FFA0;
extern SpriteData D_global_asm_80720020; // TODO: Type
extern SpriteData D_global_asm_80720054; // TODO: Datatype
extern SpriteData D_global_asm_807200EC; // TODO: Datatype
extern SpriteData D_global_asm_80720120; // TODO: Datatype
extern SpriteData D_global_asm_807201D4;
extern SpriteData D_global_asm_807202D0; // TODO: Type
extern SpriteData D_global_asm_80720BE8;
extern u8 D_global_asm_80750270;
extern s16 D_global_asm_807502D0;
@ -624,19 +625,19 @@ void func_global_asm_80692640(void) {
void func_global_asm_80690C60(u16 arg0, void *arg1, void *arg2, u8 arg3);
extern s32 D_global_asm_8072029C; // TODO: Type
extern s32 D_global_asm_80720BA0; // TODO: Type
extern SpriteData D_global_asm_8072029C; // TODO: Type
extern SpriteData D_global_asm_80720BA0; // TODO: Type
extern s16 D_global_asm_8075035C;
extern s16 D_global_asm_80750370;
extern u8 D_global_asm_80750AD0;
extern u32 D_global_asm_8076A068;
extern u8 D_global_asm_807FBB85;
extern s32 D_global_asm_8071FB34; // Sprite
extern s32 D_global_asm_807201A0; // Sprite?
extern SpriteData D_global_asm_8071FB34; // Sprite
extern SpriteData D_global_asm_807201A0; // Sprite?
extern s16 D_global_asm_80750358;
extern s16 D_global_asm_8075036C;
extern s32 D_global_asm_807200A0; // TODO: Type
extern SpriteData D_global_asm_807200A0; // TODO: Type
extern s16 D_global_asm_80750350;
extern s16 D_global_asm_80750364;
@ -831,7 +832,7 @@ void func_global_asm_8069329C(void) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_936B0/func_global_asm_8069346C.s")
extern s32 D_global_asm_80720268; // TODO: Type
extern SpriteData D_global_asm_80720268; // TODO: Type
typedef struct {
s32 unk0; // Used
@ -1019,8 +1020,8 @@ void func_global_asm_806944BC(void) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_936B0/func_global_asm_80694948.s")
extern s32 D_global_asm_807206A8; // TODO: Datatype
extern s32 D_global_asm_807206DC; // TODO: Datatype
extern SpriteData D_global_asm_807206A8; // TODO: Datatype
extern SpriteData D_global_asm_807206DC; // TODO: Datatype
extern s16 D_global_asm_80750360;
extern s16 D_global_asm_80750374;
@ -1117,7 +1118,7 @@ s32 func_global_asm_806951B0(Actor *arg0) {
// doable, matrix
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_936B0/func_global_asm_806951E8.s")
extern s32 D_global_asm_8072006C; // Sprite
extern SpriteData D_global_asm_8072006C; // Sprite
extern s16 D_global_asm_80750344;
extern u32 D_global_asm_8076A068;
extern u8 D_global_asm_807FBB85;
@ -1212,13 +1213,13 @@ void func_global_asm_80695B50(void) {
renderActor(current_actor_pointer, 1);
}
extern s32 D_global_asm_8071FBC8; // Sprite
extern s32 D_global_asm_8071FC40; // Sprite
extern SpriteData D_global_asm_8071FBC8; // Sprite
extern SpriteData D_global_asm_8071FC40; // Sprite
extern s16 D_global_asm_80750344;
extern u32 D_global_asm_8076A068;
extern u8 D_global_asm_807FBB85;
extern s32 D_global_asm_80720340; // Sprite
extern s32 D_global_asm_80720804; // TODO: Type
extern SpriteData D_global_asm_80720340; // Sprite
extern SpriteData D_global_asm_80720804; // TODO: Type
extern f32 D_global_asm_80750274;
typedef struct {

View File

@ -1,7 +1,8 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FBA0; // TODO: Datatype
extern SpriteData D_global_asm_8071FBA0; // TODO: Datatype
typedef struct {
s32 unk0[3];

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s8 D_global_asm_807F6951;
extern s8 D_global_asm_807F6950;
@ -313,9 +314,9 @@ void func_global_asm_8069AFF0(void) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_9DD70/func_global_asm_8069B010.s")
extern s32 D_global_asm_8071FC58; // TODO: Sprite
extern s32 D_global_asm_8071FC8C; // TODO: Sprite
extern s32 D_global_asm_8071FCC0; // TODO: Sprite
extern SpriteData D_global_asm_8071FC58; // TODO: Sprite
extern SpriteData D_global_asm_8071FC8C; // TODO: Sprite
extern SpriteData D_global_asm_8071FCC0; // TODO: Sprite
typedef struct {
s16 unk0; // y rotation

View File

@ -1,7 +1,8 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_80720BE8;
extern SpriteData D_global_asm_80720BE8;
extern f32 D_global_asm_80750394;
extern f32 D_global_asm_80750398;

View File

@ -1,8 +1,9 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FBC8;
extern s32 D_global_asm_8072073C; // TODO: Proper datatype
extern SpriteData D_global_asm_8071FBC8;
extern SpriteData D_global_asm_8072073C; // TODO: Proper datatype
extern f32 D_global_asm_8075B1A8;

View File

@ -1,12 +1,13 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern u8 D_global_asm_807FBD70;
extern s32 D_global_asm_80750600[];
// TODO: Are these correct?
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FFA0;
void func_global_asm_806B11C0(u8 boneIndex) {
f32 x, y, z;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s16 D_global_asm_80750340;
@ -294,7 +295,7 @@ void func_global_asm_806B3420(void) {
// https://decomp.me/scratch/NO9ZZ
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_B7490/func_global_asm_806B3680.s")
extern s32 D_global_asm_8072073C;
extern SpriteData D_global_asm_8072073C;
extern s32 D_global_asm_8071ABDC;
/*

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
u8 unk0[0x2C - 0x0];
@ -20,7 +21,7 @@ typedef struct GlobalASMStruct90 {
extern s16 D_global_asm_80744490;
extern s16 D_global_asm_80744494;
extern s32 D_global_asm_807201D4; // TODO: Datatype
extern SpriteData D_global_asm_807201D4; // TODO: Datatype
void func_global_asm_806B88B8(void);

View File

@ -1,9 +1,10 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern u8 D_global_asm_807FBD70;
extern s32 D_global_asm_8071FB34;
extern SpriteData D_global_asm_8071FB34;
extern u8 D_global_asm_80750628[];
// Jumptable

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s8 D_global_asm_80750660;
extern s8 D_global_asm_807506A4;
@ -186,7 +187,7 @@ void func_global_asm_806BD3E4(void) {
// Jumptable, doable, close, regalloc
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_C1E70/func_global_asm_806BD7B0.s")
extern s32 D_global_asm_80720A7C; // TODO: Sprite
extern SpriteData D_global_asm_80720A7C; // TODO: Sprite
typedef struct {
s16 unk0;

View File

@ -1,14 +1,15 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FB08; // TODO: Proper datatype
extern s32 D_global_asm_8071FBA0;
extern s32 D_global_asm_8071FC40; // TODO: Proper datatype
extern s32 D_global_asm_8071FF58; // TODO: Datatype
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FB08; // TODO: Proper datatype
extern SpriteData D_global_asm_8071FBA0;
extern SpriteData D_global_asm_8071FC40; // TODO: Proper datatype
extern SpriteData D_global_asm_8071FF58; // TODO: Datatype
extern SpriteData D_global_asm_8071FFA0;
extern s32 D_global_asm_807200D4; // TODO: Proper datatype
extern s32 D_global_asm_80720B58; // TODO: Datatype
extern SpriteData D_global_asm_807200D4; // TODO: Proper datatype
extern SpriteData D_global_asm_80720B58; // TODO: Datatype
extern s16 D_global_asm_80750AC8;
typedef struct {
@ -780,7 +781,7 @@ void func_global_asm_806C19F4(void) {
// https://decomp.me/scratch/YGbiZ
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_C2A90/func_global_asm_806C1B50.s")
extern s32 D_global_asm_8071FB34; // TODO: Datatype
extern SpriteData D_global_asm_8071FB34; // TODO: Datatype
/*
void func_global_asm_806C1B50(void) {

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
void func_global_asm_806C3F10(u8 arg0, u8 arg1, u8 arg2) {
Actor178 *a178;
@ -382,7 +383,7 @@ void func_global_asm_806C55E0(void) {
extern s16 D_807FD802;
extern s16 D_807FD804;
extern s16 D_807FD806;
extern s32 D_global_asm_8071FB08; // TODO: Sprite
extern SpriteData D_global_asm_8071FB08; // TODO: Sprite
extern s16 D_global_asm_8076A0AA;
extern int func_global_asm_8071C818(); // TODO: Proper signature

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
void *unk0; // function pointer
@ -49,9 +50,9 @@ typedef struct {
f32 unk10;
} AAD_global_asm_806D0A84;
extern s32 D_global_asm_8071FB08; // TODO: Proper datatype
extern s32 D_global_asm_8071FC40;
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FB08; // TODO: Proper datatype
extern SpriteData D_global_asm_8071FC40;
extern SpriteData D_global_asm_8071FFA0;
extern u8 D_global_asm_80750AD0;
extern GlobalASMStruct63 D_global_asm_80750B54[];
@ -1662,7 +1663,7 @@ void func_global_asm_806CF878(void) {
}
void func_global_asm_807195D4(void);
extern s32 D_global_asm_8071FF40;
extern SpriteData D_global_asm_8071FF40;
void func_global_asm_806CF918(void) {
s32 i;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct BoulderAAD {
u32 unk0;
@ -14,10 +15,10 @@ typedef struct BoulderAAD {
s8 unk1E;
} BoulderAAD;
extern s32 D_global_asm_8071FC58; // TODO: Sprite
extern s32 D_global_asm_8071FCC0; // TODO: Sprite
extern s32 D_global_asm_8071FF18;
extern s32 D_global_asm_8072014C;
extern SpriteData D_global_asm_8071FC58; // TODO: Sprite
extern SpriteData D_global_asm_8071FCC0; // TODO: Sprite
extern SpriteData D_global_asm_8071FF18;
extern SpriteData D_global_asm_8072014C;
extern u8 D_global_asm_80750AB8;
extern f32 D_global_asm_80750FC0;
@ -2415,7 +2416,7 @@ void func_global_asm_806D9940(void) {
// https://decomp.me/scratch/YQGZn
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_D78D0/func_global_asm_806D9AD4.s")
extern s32 D_global_asm_8071FC8C;
extern SpriteData D_global_asm_8071FC8C;
int func_global_asm_80717100();

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern u8 D_global_asm_80750AB8;
extern s32 D_global_asm_80750FF0;
@ -1770,7 +1771,7 @@ u8 func_global_asm_806E560C(Actor *arg0) {
}
extern u8 D_807F6903;
extern s32 D_global_asm_8072014C; // Sprite
extern SpriteData D_global_asm_8072014C; // Sprite
extern f32 D_global_asm_807536AC[];
extern s32 D_global_asm_8076A094;
extern u8 D_global_asm_8076A0B2;

View File

@ -1,6 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s16 D_global_asm_807FD790[];
extern u8 D_global_asm_807FD798;
@ -738,7 +738,7 @@ s32 func_global_asm_806F70A8(s16 arg0) {
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_F9450/func_global_asm_806F70FC.s")
int func_global_asm_8071C48C(); // TODO: Signature
extern s32 D_global_asm_8071FC58; // TODO: Datatype
extern SpriteData D_global_asm_8071FC58; // TODO: Datatype
/*
void func_global_asm_806F70FC(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5) {

View File

@ -1,8 +1,9 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_80720A7C; // TODO: Datatype
extern s32 D_global_asm_807213D0; // TODO: Datatype
extern SpriteData D_global_asm_80720A7C; // TODO: Datatype
extern SpriteData D_global_asm_807213D0; // TODO: Datatype
extern s32 D_global_asm_80747D70;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
u8 unk0;
@ -37,8 +38,8 @@ void func_global_asm_80664CB0(s16 arg0) {
}
}
extern s32 D_global_asm_8071FF18; // Sprite
extern s32 D_global_asm_8072140C; // Sprite
extern SpriteData D_global_asm_8071FF18; // Sprite
extern SpriteData D_global_asm_8072140C; // Sprite
void func_global_asm_80664D20(void) {
Temp20Big *temp_s0;

View File

@ -1,8 +1,9 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FFA0;
extern s32 D_global_asm_8071FF18;
extern SpriteData D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FF18;
extern u8 D_global_asm_807506C0[];

View File

@ -1,42 +1,43 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_807203B0; // TODO: Sprite
extern s32 D_global_asm_807203D4; // TODO: Sprite
extern s32 D_global_asm_807203F8; // TODO: Sprite
extern s32 D_global_asm_8072041C; // TODO: Sprite
extern s32 D_global_asm_80720440; // TODO: Sprite
extern SpriteData D_global_asm_807203B0; // TODO: Sprite
extern SpriteData D_global_asm_807203D4; // TODO: Sprite
extern SpriteData D_global_asm_807203F8; // TODO: Sprite
extern SpriteData D_global_asm_8072041C; // TODO: Sprite
extern SpriteData D_global_asm_80720440; // TODO: Sprite
extern s32 D_global_asm_807204BC;
extern s32 D_global_asm_80720508;
extern s32 D_global_asm_807205C4;
extern s32 D_global_asm_807205E8;
extern SpriteData D_global_asm_807204BC;
extern SpriteData D_global_asm_80720508;
extern SpriteData D_global_asm_807205C4;
extern SpriteData D_global_asm_807205E8;
extern s32 D_global_asm_80720710;
extern s32 D_global_asm_80720768;
extern s32 *D_global_asm_807207BC;
extern s32 D_global_asm_807207E0;
extern SpriteData D_global_asm_80720710;
extern SpriteData D_global_asm_80720768;
extern SpriteData D_global_asm_807207BC;
extern SpriteData D_global_asm_807207E0;
extern s32 D_global_asm_807209EC;
extern s32 D_global_asm_80720A10;
extern s32 D_global_asm_80720A34;
extern s32 D_global_asm_80720A58;
extern SpriteData D_global_asm_807209EC;
extern SpriteData D_global_asm_80720A10;
extern SpriteData D_global_asm_80720A34;
extern SpriteData D_global_asm_80720A58;
extern s32 D_global_asm_80720EBC; // TODO: Sprite
extern s32 D_global_asm_80720EE8; // TODO: Sprite
extern s32 D_global_asm_80720F14; // TODO: Sprite
extern s32 D_global_asm_80720F40; // TODO: Sprite
extern s32 D_global_asm_80720F6C; // TODO: Sprite
extern s32 D_global_asm_80720F98;
extern s32 D_global_asm_80720FBC;
extern s32 D_global_asm_80720FE0;
extern SpriteData D_global_asm_80720EBC; // TODO: Sprite
extern SpriteData D_global_asm_80720EE8; // TODO: Sprite
extern SpriteData D_global_asm_80720F14; // TODO: Sprite
extern SpriteData D_global_asm_80720F40; // TODO: Sprite
extern SpriteData D_global_asm_80720F6C; // TODO: Sprite
extern SpriteData D_global_asm_80720F98;
extern SpriteData D_global_asm_80720FBC;
extern SpriteData D_global_asm_80720FE0;
extern s32 D_global_asm_80721170;
extern s32 D_global_asm_807211D0;
extern s32 D_global_asm_80721378;
extern SpriteData D_global_asm_80721170;
extern SpriteData D_global_asm_807211D0;
extern SpriteData D_global_asm_80721378;
extern s32 D_global_asm_80721028;
extern s32 D_global_asm_80721004;
extern SpriteData D_global_asm_80721028;
extern SpriteData D_global_asm_80721004;
extern s16 D_global_asm_80750384;
extern f32 D_global_asm_80750388;

View File

@ -1,8 +1,9 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8072030C;
extern s32 D_global_asm_80720340; // Sprite
extern SpriteData D_global_asm_8072030C;
extern SpriteData D_global_asm_80720340; // Sprite
void func_global_asm_806A2A10(s16 arg0, s16 arg1, u8 arg2);

View File

@ -1,7 +1,8 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s32 D_global_asm_8071FFA0;
extern SpriteData D_global_asm_8071FFA0;
extern s16 D_global_asm_807F6248;
extern s16 D_global_asm_807F624C;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct global_asm_struct_72 GlobalASMStruct72;
@ -65,47 +66,47 @@ extern s32 D_global_asm_80754288;
// These are sprite textures
// TODO: Label them appropriately
extern s32 D_global_asm_807200A0;
extern s32 D_global_asm_807201A0;
extern s32 D_global_asm_80720268;
extern s32 D_global_asm_8072029C;
extern s32 D_global_asm_807203B0;
extern s32 D_global_asm_807203D4;
extern s32 D_global_asm_807203F8;
extern s32 D_global_asm_8072041C;
extern s32 D_global_asm_80720440;
extern s32 D_global_asm_80720488;
extern s32 D_global_asm_807204BC;
extern s32 D_global_asm_80720508;
extern s32 D_global_asm_8072052C;
extern s32 D_global_asm_80720558;
extern s32 D_global_asm_8072057C;
extern s32 D_global_asm_807205A0;
extern s32 D_global_asm_807205C4;
extern s32 D_global_asm_807205E8;
extern s32 D_global_asm_8072060C;
extern s32 D_global_asm_807206A8;
extern s32 D_global_asm_807207BC;
extern s32 D_global_asm_807207E0;
extern s32 D_global_asm_80720854;
extern s32 D_global_asm_80720878;
extern s32 D_global_asm_80720890;
extern s32 D_global_asm_807208A8;
extern s32 D_global_asm_807208C0;
extern s32 D_global_asm_807208D8;
extern s32 D_global_asm_807209EC;
extern s32 D_global_asm_80720A10;
extern s32 D_global_asm_80720A34;
extern s32 D_global_asm_80720A58;
extern s32 D_global_asm_80721200;
extern s32 D_global_asm_8072121C;
extern s32 D_global_asm_80721250;
extern s32 D_global_asm_8072145C;
extern s32 D_global_asm_807214A0;
extern s32 D_global_asm_807214B8;
extern s32 D_global_asm_807214D0;
extern s32 D_global_asm_807214E8;
extern s32 D_global_asm_80721500;
extern SpriteData D_global_asm_807200A0;
extern SpriteData D_global_asm_807201A0;
extern SpriteData D_global_asm_80720268;
extern SpriteData D_global_asm_8072029C;
extern SpriteData D_global_asm_807203B0;
extern SpriteData D_global_asm_807203D4;
extern SpriteData D_global_asm_807203F8;
extern SpriteData D_global_asm_8072041C;
extern SpriteData D_global_asm_80720440;
extern SpriteData D_global_asm_80720488;
extern SpriteData D_global_asm_807204BC;
extern SpriteData D_global_asm_80720508;
extern SpriteData D_global_asm_8072052C;
extern SpriteData D_global_asm_80720558;
extern SpriteData D_global_asm_8072057C;
extern SpriteData D_global_asm_807205A0;
extern SpriteData D_global_asm_807205C4;
extern SpriteData D_global_asm_807205E8;
extern SpriteData D_global_asm_8072060C;
extern SpriteData D_global_asm_807206A8;
extern SpriteData D_global_asm_807207BC;
extern SpriteData D_global_asm_807207E0;
extern SpriteData D_global_asm_80720854;
extern SpriteData D_global_asm_80720878;
extern SpriteData D_global_asm_80720890;
extern SpriteData D_global_asm_807208A8;
extern SpriteData D_global_asm_807208C0;
extern SpriteData D_global_asm_807208D8;
extern SpriteData D_global_asm_807209EC;
extern SpriteData D_global_asm_80720A10;
extern SpriteData D_global_asm_80720A34;
extern SpriteData D_global_asm_80720A58;
extern SpriteData D_global_asm_80721200;
extern SpriteData D_global_asm_8072121C;
extern SpriteData D_global_asm_80721250;
extern SpriteData D_global_asm_8072145C;
extern SpriteData D_global_asm_807214A0;
extern SpriteData D_global_asm_807214B8;
extern SpriteData D_global_asm_807214D0;
extern SpriteData D_global_asm_807214E8;
extern SpriteData D_global_asm_80721500;
extern PlayerHUD *D_global_asm_80754280; // HUD

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct menu_struct_0 {
u8 unk0;
@ -19,7 +20,7 @@ typedef struct menu_struct_0 {
u8 unk1A;
} MenuStruct0;
extern s32 D_global_asm_80720268;
extern SpriteData D_global_asm_80720268;
extern s16 D_global_asm_80750AC8;
typedef struct {

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
extern s8 D_global_asm_80745844;
extern s8 opening_cutscene_transition;
@ -11,18 +12,18 @@ extern s8 is_raining;
extern s8 menu_cutscene_index;
extern s16 menu_cutscene_timer;
extern s16 D_menu_800336A4[];
extern void *D_global_asm_80721094;
extern void *D_global_asm_807210EC;
extern void *D_global_asm_80721170;
extern void *D_global_asm_807211D0;
extern void D_global_asm_80721444(); // TODO: Is this actually a function?
extern s32 D_global_asm_80720C34;
extern SpriteData D_global_asm_80721094;
extern SpriteData D_global_asm_807210EC;
extern SpriteData D_global_asm_80721170;
extern SpriteData D_global_asm_807211D0;
extern SpriteData D_global_asm_80721444;
extern SpriteData D_global_asm_80720C34;
extern s8 current_file_selection;
extern void D_global_asm_8072052C(); // TODO: Is this actually a function?
extern s32 D_global_asm_807204BC;
extern s32 D_global_asm_80720CF0;
extern s32 D_global_asm_80720D14;
extern s32 D_global_asm_80720D38;
extern SpriteData D_global_asm_8072052C;
extern SpriteData D_global_asm_807204BC;
extern SpriteData D_global_asm_80720CF0;
extern SpriteData D_global_asm_80720D14;
extern SpriteData D_global_asm_80720D38;
extern s8 menu_selection_available;
// Rodata
@ -438,11 +439,11 @@ void func_menu_80028834(Actor *arg0, s32 arg1) {
func_menu_80027E10();
MaaD->unk17 = current_menu_selection;
func_menu_80030894(MaaD, &D_global_asm_80720C34, 160, 210, 0.75f, 2, 0);
func_menu_80030894(MaaD, &D_global_asm_80721444, 0, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, &D_global_asm_80721444, 1, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, &D_global_asm_80721444, 2, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, &D_global_asm_80721444, 3, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, &D_global_asm_80721444, 4, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, (s32)&D_global_asm_80721444, 0, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, (s32)&D_global_asm_80721444, 1, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, (s32)&D_global_asm_80721444, 2, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, (s32)&D_global_asm_80721444, 3, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, (s32)&D_global_asm_80721444, 4, 0, 1.2f, 2, 0x12);
func_menu_80030894(MaaD, &D_global_asm_8072052C, 0, 0, 0.6f, 2, 6);
func_menu_80030894(MaaD, &D_global_asm_807211D0, 1, 0, 0.8f, 2, 6);
// Is the mystery menu not unlocked?
@ -549,15 +550,15 @@ void func_menu_80028EA8(Actor *arg0, s32 arg1) {
if (func_menu_800322D0(0)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 0, 0, 1.0f, 2, 2);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 0, 0, 1.0f, 2, 2);
if (func_menu_800322D0(1)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 1, 0, 1.0f, 2, 2);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 1, 0, 1.0f, 2, 2);
if (func_menu_800322D0(2)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 3, 0, 1.0f, 2, 2);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 3, 0, 1.0f, 2, 2);
func_menu_80030894(MaaD, &D_global_asm_807204BC, 2, 0, 1.0f, 2, 2);
func_menu_80030894(MaaD, &D_global_asm_80720CF0, 0x122, 0xD2, 0.75f, 2, 0);
func_menu_80030894(MaaD, &D_global_asm_80720D14, 0x23, 0xD2, 0.75f, 2, 0);
@ -680,21 +681,21 @@ void func_menu_80029D30(Actor *arg0, s32 arg1) {
if (func_menu_800322D0(0)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 0, 0, 1.0f, 2, 3);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 0, 0, 1.0f, 2, 3);
if (func_menu_800322D0(1)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 1, 0, 1.0f, 2, 3);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 1, 0, 1.0f, 2, 3);
if (func_menu_800322D0(2)) {
D_menu_80033F38 = 0;
}
func_menu_80030894(MaaD, &D_global_asm_8072052C, 2, 0, 1.0f, 2, 3);
func_menu_80030894(MaaD, (s32)&D_global_asm_8072052C, 2, 0, 1.0f, 2, 3);
func_menu_80030894(MaaD, &D_global_asm_807204BC, 0xA0, 0x78, 1.0f, 2, 4);
func_menu_80030894(MaaD, &D_global_asm_80720C34, 0xA0, 0xD2, 0.75f, 2, 0);
}
extern void* D_global_asm_8071FBC8;
extern void* D_global_asm_8071FE08;
extern SpriteData D_global_asm_8071FBC8;
extern SpriteData D_global_asm_8071FE08;
extern s8 D_menu_80033FAC;
void func_menu_80029EF8(Actor *arg0, s32 arg1) {
@ -938,9 +939,9 @@ extern s16 D_menu_8003386C[];
extern s8 D_menu_80033FAD;
extern s8 D_menu_80033FAE;
extern s8 D_menu_80033FAF;
extern s32 D_global_asm_80720D5C;
extern s32 D_global_asm_80720D80;
extern s32 D_global_asm_807211AC;
extern SpriteData D_global_asm_80720D5C;
extern SpriteData D_global_asm_80720D80;
extern SpriteData D_global_asm_807211AC;
extern s8 D_global_asm_8074451C;
extern s16 D_global_asm_80744544;
@ -2104,7 +2105,7 @@ void func_menu_80031A5C(void) {
}
void func_global_asm_8061B650(Actor *);
extern s32 D_global_asm_8071FE64; // TODO: Type
extern SpriteData D_global_asm_8071FE64; // TODO: Type
extern s16 D_global_asm_80754CE0;
extern f32 D_menu_80033678[];
extern f32 dk_screen_transition_height;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
/* structs */
typedef struct {
@ -104,7 +105,7 @@ extern s32 D_minecart_80028C30; // TODO: Proper datatype
extern s32 D_minecart_80028C34; // TODO: Datatype
extern s32 D_minecart_80028C3C; // TODO: Datatype
extern s32 D_minecart_80028C40; // TODO: Datatype
extern s32 D_global_asm_8072006C; // TODO: Proper datatype
extern SpriteData D_global_asm_8072006C; // TODO: Proper datatype
extern s16 D_global_asm_807502D0;
extern f32 D_global_asm_807502F8;
extern s16 D_global_asm_80750338;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
/* structs */
typedef struct {
@ -74,10 +75,10 @@ typedef struct {
/* variables */
extern s32 D_minecart_80028BD0;
extern s32 D_global_asm_8072030C;
extern s32 D_global_asm_80720120; // sprite
extern SpriteData D_global_asm_8072030C;
extern SpriteData D_global_asm_80720120; // sprite
extern u8 D_global_asm_807FBB85;
extern s32 D_global_asm_8072030C; // TODO: Type
extern SpriteData D_global_asm_8072030C; // TODO: Type
extern u8 D_global_asm_807FBD70;
extern u8 D_global_asm_807FBDC4;
extern s32 D_minecart_80028C34; // TODO: Type

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
s32 unk0;
@ -55,7 +56,7 @@ extern int func_global_asm_8071F3C0(); // TODO: Signature
extern u8 D_multiplayer_80026F70;
extern s32 D_global_asm_807207BC; // TODO: Type
extern SpriteData D_global_asm_807207BC; // TODO: Type
extern s16 D_global_asm_80744490;
extern s16 D_global_asm_80744494;
extern u8 D_global_asm_80750AB8;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
u8 pad0[0x10 - 0x0];
@ -49,8 +50,8 @@ typedef struct {
f32 unk8;
} Struct80026098;
extern s32 D_global_asm_8071FFA0; // TODO: Datatype
extern s32 D_global_asm_80720340; // TODO: Datatype
extern SpriteData D_global_asm_8071FFA0; // TODO: Datatype
extern SpriteData D_global_asm_80720340; // TODO: Datatype
extern u16 D_global_asm_80750AC4;

View File

@ -1,5 +1,6 @@
#include <ultra64.h>
#include "functions.h"
#include "sprites.h"
typedef struct {
u8 pad0[0x10 - 0x0];
@ -10,9 +11,9 @@ typedef struct {
f32 unk14;
} RaceStruct1;
extern s32 D_global_asm_8071FFA0; // TODO: Datatype
extern s32 D_global_asm_80720340; // TODO: Datatype
extern s32 D_global_asm_80720120;
extern SpriteData D_global_asm_8071FFA0; // TODO: Datatype
extern SpriteData D_global_asm_80720340; // TODO: Datatype
extern SpriteData D_global_asm_80720120;
extern s16 D_global_asm_80770628[];
extern f32 D_global_asm_80770B68[];