avoid including ld_addrs everywhere (#234)

This commit is contained in:
alex 2021-03-27 17:48:33 +00:00 committed by GitHub
parent 478a66cc00
commit ca08ab9072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 13 additions and 1 deletions

View File

@ -10,6 +10,5 @@
#include "enums.h" #include "enums.h"
#include "si.h" #include "si.h"
#include "messages.h" #include "messages.h"
#include "ld_addrs.h"
#endif #endif

View File

@ -1,4 +1,5 @@
#include "coconut.h" #include "coconut.h"
#include "ld_addrs.h"
#include "battle/item/coconut/coconut.png.h" #include "battle/item/coconut/coconut.png.h"
/// 32x32 square. /// 32x32 square.

View File

@ -1,4 +1,5 @@
#include "dusty_hammer.h" #include "dusty_hammer.h"
#include "ld_addrs.h"
#include "battle/item/dusty_hammer/dusty_hammer.png.h" #include "battle/item/dusty_hammer/dusty_hammer.png.h"
Vtx N(model)[] = { Vtx N(model)[] = {

View File

@ -1,4 +1,5 @@
#include "egg_missile.h" #include "egg_missile.h"
#include "ld_addrs.h"
#include "battle/item/egg_missile/egg_missile1.png.h" #include "battle/item/egg_missile/egg_missile1.png.h"
#include "battle/item/egg_missile/egg_missile2.png.h" #include "battle/item/egg_missile/egg_missile2.png.h"
#include "battle/item/egg_missile/egg_missile3.png.h" #include "battle/item/egg_missile/egg_missile3.png.h"

View File

@ -1,4 +1,5 @@
#include "insecticide_herb.h" #include "insecticide_herb.h"
#include "ld_addrs.h"
#include "battle/item/insecticide_herb/insecticide_herb.png.h" #include "battle/item/insecticide_herb/insecticide_herb.png.h"
Vtx N(model)[] = { Vtx N(model)[] = {

View File

@ -1,4 +1,5 @@
#include "mystery.h" #include "mystery.h"
#include "ld_addrs.h"
#include "battle/item/mystery/mystery.png.h" #include "battle/item/mystery/mystery.png.h"
Vtx N(model)[] = { Vtx N(model)[] = {

View File

@ -1,4 +1,5 @@
#include "pebble.h" #include "pebble.h"
#include "ld_addrs.h"
#include "battle/item/pebble/pebble.png.h" #include "battle/item/pebble/pebble.png.h"
Vtx N(model)[] = { Vtx N(model)[] = {

View File

@ -1,4 +1,5 @@
#include "sleepy_sheep.h" #include "sleepy_sheep.h"
#include "ld_addrs.h"
#include "battle/item/sleepy_sheep/sleepy_sheep1.png.h" #include "battle/item/sleepy_sheep/sleepy_sheep1.png.h"
#include "battle/item/sleepy_sheep/sleepy_sheep2.png.h" #include "battle/item/sleepy_sheep/sleepy_sheep2.png.h"
#include "battle/item/sleepy_sheep/sleepy_sheep3.png.h" #include "battle/item/sleepy_sheep/sleepy_sheep3.png.h"

View File

@ -1,4 +1,5 @@
#include "common.h" #include "common.h"
#include "ld_addrs.h"
extern s16 D_802809F6; extern s16 D_802809F6;
extern s32 D_80280A30; extern s32 D_80280A30;

View File

@ -1,5 +1,6 @@
#include "common.h" #include "common.h"
#include "nu/nusys.h" #include "nu/nusys.h"
#include "ld_addrs.h"
s8 D_80074020 = 1; s8 D_80074020 = 1;
s8 D_80074021 = 5; s8 D_80074021 = 5;

View File

@ -1,4 +1,5 @@
#include "audio.h" #include "audio.h"
#include "ld_addrs.h"
void func_80052E30(u8 index) { void func_80052E30(u8 index) {
UnkAl48* temp = &D_8009A5C0->unk_1320[index]; UnkAl48* temp = &D_8009A5C0->unk_1320[index];

View File

@ -1,4 +1,5 @@
#include "common.h" #include "common.h"
#include "ld_addrs.h"
void func_80200000(void); void func_80200000(void);
void func_80200080(void); void func_80200080(void);

View File

@ -1,5 +1,6 @@
#include "common.h" #include "common.h"
#include "nu/nusys.h" #include "nu/nusys.h"
#include "ld_addrs.h"
void intro_logos_set_fade_alpha(s16 alpha); void intro_logos_set_fade_alpha(s16 alpha);
void intro_logos_set_fade_color(s16 color); void intro_logos_set_fade_color(s16 color);

View File

@ -1,4 +1,5 @@
#include "common.h" #include "common.h"
#include "ld_addrs.h"
s32 func_802B6000_E24920(); s32 func_802B6000_E24920();
s32 func_802B6288_E23968(); s32 func_802B6288_E23968();