CCW .data sections defineid

This commit is contained in:
Banjo Kazooie
2022-09-28 15:27:03 -05:00
parent f70cc7535e
commit c1bfe456bf
36 changed files with 321 additions and 111 deletions

View File

@@ -11,8 +11,6 @@ extern void func_802EFA20(ParticleEmitter *, f32, f32);
/* public functions */
void func_80386768(Actor *);
/* .data */
ActorInfo chorangepadInfo = { MARKER_66_ORANGE_PAD, ACTOR_57_ORANGE_PAD, ASSET_2EB_MODEL_ORANGE_PAD,
0, NULL,
@@ -20,9 +18,6 @@ ActorInfo chorangepadInfo = { MARKER_66_ORANGE_PAD, ACTOR_57_ORANGE_PAD, ASSET_2
0, 0, 0.0f, 0
};
extern f32 D_80389B40;
extern f64 D_80389B48;
/*.code */
void func_803863F0(s32 x, s32 y, s32 z){
f32 pos[3];

View File

@@ -3,7 +3,11 @@
#include "functions.h"
#include "variables.h"
u8 D_803899C0[] = {0x00, 0x0C, 0x74, 0x0C, 0xCD, 0x24, 0x9C, 0xB3, 0x00, 0x00, 0xD4, 0x4F};
/* .data */
//TODO Implement CRC calculation in Makefile(?)
u32 D_803899C0 = 0x000C740C; //MM.code CRC1
u32 D_803899C4 = 0xCD249CB3; //MM.code CRC2
u32 D_803899C8 = 0x0000D44F; //MM.data CRC1 (with this value = 0)
void func_802D1724(void);