Fix deleteActor sig

This commit is contained in:
Donkey Kong 2024-09-23 17:45:20 +09:30
parent 2da4877249
commit c658f519e7
33 changed files with 2 additions and 37 deletions

View File

@ -1754,7 +1754,7 @@ void func_global_asm_80677EC8(s32 arg0);
s32 spawnActor(Actors actorIndex, s32 modelIndex);
s32 func_global_asm_80678014(s32 arg0);
s32 func_global_asm_80678050(u16);
// TODO: deleteActor has no documented signature but has been matched
s32 deleteActor(Actor*);
s32 func_global_asm_806782E8(Actor *arg0);
void func_global_asm_806783BC(void);
void func_global_asm_80678428(Actor *arg0);

View File

@ -1 +0,0 @@
s32 deleteActor(Actor *);

View File

@ -1,2 +0,0 @@
void deleteActor(Actor *);

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
// TODO: Is there a file split somewhere in here? Rodata messes up around D_bonus_8002DDD4
//rodata

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
void func_global_asm_80613CA8(Actor*, s16, f32, f32);

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
void func_global_asm_80613CA8(Actor*, s16, f32, f32);

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s16 D_boss_80035B00[];
extern s16 D_boss_80035B08[];

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
const s32 D_boss_80036C10[] = {
0x4F230825,

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_dk64_boot_8000DDCC;
extern s32 D_dk64_boot_8000DDE4;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
typedef struct Struct80755690_unk4 Struct80755690_unk4;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern u8 D_global_asm_80750AB4;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
typedef struct {
s16 min_x; // 0

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FC8C;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
int func_global_asm_8071827C(); // TODO: Signature
int func_global_asm_807197B4(); // TODO: Signature

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern Struct807500B4 D_global_asm_807500B4; // TODO: Array?
extern Struct807500B4 D_global_asm_807500D4; // TODO: D_global_asm_807500D4[1]?

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FFA0;
extern s32 D_global_asm_80720020; // TODO: Type
@ -1456,7 +1455,6 @@ void func_global_asm_80696A6C(void) {
AAD_80696A6C *sp44;
s16 temp_v0;
s16 var_a3;
Actor *temp;
s32 temp2;
sp44 = current_actor_pointer->additional_actor_data;
@ -1498,8 +1496,7 @@ void func_global_asm_80696A6C(void) {
func_global_asm_8067E278(0, 1);
func_global_asm_80605314(current_actor_pointer, 0);
deleteActor(current_actor_pointer);
temp = current_actor_pointer->unk11C;
if ((temp != NULL) && (temp->unk58 == ACTOR_BOSS_ARMY_DILLO) && (temp->control_state != 0x37)) {
if ((current_actor_pointer->unk11C != NULL) && (current_actor_pointer->unk11C->unk58 == ACTOR_BOSS_ARMY_DILLO) && (current_actor_pointer->unk11C->control_state != 0x37)) {
current_actor_pointer->unk11C->control_state_progress++;
}
}

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FBA0; // TODO: Datatype

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s8 D_global_asm_807F6951;
extern s8 D_global_asm_807F6950;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "s32deleteactor.h"
extern s32 D_global_asm_80720BE8;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s8 D_global_asm_80750560[];
extern s8 D_global_asm_80750530[];

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
s32 func_global_asm_8072881C(s32, s32);

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FBC8;
extern s32 D_global_asm_8072073C; // TODO: Proper datatype

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern f32 D_global_asm_807502E8;
extern s16 D_global_asm_807502E0;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FB08; // TODO: Proper datatype
extern s32 D_global_asm_8071FBA0;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
void func_global_asm_806C3F10(u8 arg0, u8 arg1, u8 arg2) {
Actor178 *a178;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
typedef struct {
void *unk0; // function pointer

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8071FFA0;
extern s32 D_global_asm_8071FF18;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_807203B0; // TODO: Sprite
extern s32 D_global_asm_807203D4; // TODO: Sprite

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s32 D_global_asm_8072030C;
extern s32 D_global_asm_80720340; // Sprite

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
typedef struct {
s16 unk0;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
extern s8 D_global_asm_80745844;
extern s8 opening_cutscene_transition;

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
/* structs */
typedef struct {

View File

@ -1,6 +1,5 @@
#include <ultra64.h>
#include "functions.h"
#include "voiddeleteactor.h"
/*
rodata