Move object_models functions to the header

This commit is contained in:
Ryan Myers
2021-09-13 14:16:04 -04:00
parent 116f119529
commit d5a2a7fd93
2 changed files with 17 additions and 10 deletions
+1 -10
View File
@@ -1,9 +1,8 @@
/* The comment below is needed for this file to be picked up by generate_ld */
/* RAM_POS: 0x8005F850 */
#include "types.h"
#include "object_models.h"
#include "macros.h"
#include "structs.h"
#include "memory.h"
#include "asset_sections.h"
@@ -27,12 +26,6 @@ const char D_800E6BE0[] = "MOD Error: Tryed to deallocate non-existent model!!\n
/************ .bss ************/
/* 8 Bytes */
typedef struct unk8011D624 {
s32 unk0;
ObjectModel *model;
} unk8011D624;
s32 *D_8011D620;
unk8011D624 *D_8011D624; // Array of unk8011D624
s32 *D_8011D628;
@@ -47,8 +40,6 @@ s32 D_8011D648[66];
/******************************/
void func_80024D54(void);
void func_8005F850(void) {
s32 i;
s32 checksum;
+16
View File
@@ -2,8 +2,24 @@
#define _UNKNOWN_060450_H_
#include "types.h"
#include "PR/gbi.h"
#include "structs.h"
/* 8 Bytes */
typedef struct unk8011D624 {
s32 unk0;
ObjectModel *model;
} unk8011D624;
extern s32 D_800DCEA0;
extern s32 D_800DCEA4;
void func_80024D54(Gfx *, s32, s32, s32, s32); //Non Matching src/unknown_0255E0.c
void func_8005C25C(void); //src/unkown_043920.c
void func_8005F850(void);
void func_800619F4(s32 arg0);
void free_object_model(ObjectModel *model); //Non Matching
#endif