Move gflib srcs and headers to gflib subdir

This commit is contained in:
PikalaxALT 2019-09-08 21:07:54 -04:00
parent 95b805a425
commit 306ce048ad
123 changed files with 177 additions and 132 deletions

View File

@ -43,6 +43,7 @@ ELF = $(ROM:.gba=.elf)
MAP = $(ROM:.gba=.map) MAP = $(ROM:.gba=.map)
C_SUBDIR = src C_SUBDIR = src
GFLIB_SUBDIR = gflib
ASM_SUBDIR = asm ASM_SUBDIR = asm
DATA_SRC_SUBDIR = src/data DATA_SRC_SUBDIR = src/data
DATA_ASM_SUBDIR = data DATA_ASM_SUBDIR = data
@ -50,6 +51,7 @@ SONG_SUBDIR = sound/songs
MID_SUBDIR = sound/songs/midi MID_SUBDIR = sound/songs/midi
C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR) C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR)
GFLIB_BUILDDIR = $(OBJ_DIR)/$(GFLIB_SUBDIR)
ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR) ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR)
DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR) DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR)
SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR) SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR)
@ -73,7 +75,7 @@ OBJ_DIR := build/modern
LIBPATH := -L $(TOOLCHAIN)/lib/gcc/arm-none-eabi/$(GCC_VER)/thumb -L $(TOOLCHAIN)/arm-none-eabi/lib/thumb LIBPATH := -L $(TOOLCHAIN)/lib/gcc/arm-none-eabi/$(GCC_VER)/thumb -L $(TOOLCHAIN)/arm-none-eabi/lib/thumb
endif endif
CPPFLAGS := -iquote include -Wno-trigraphs -DMODERN=$(MODERN) CPPFLAGS := -iquote include -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN)
ifeq ($(MODERN),0) ifeq ($(MODERN),0)
CPPFLAGS += -I tools/agbcc/include -I tools/agbcc CPPFLAGS += -I tools/agbcc/include -I tools/agbcc
endif endif
@ -125,6 +127,9 @@ C_SRCS_IN := $(wildcard $(C_SUBDIR)/*.c $(C_SUBDIR)/*/*.c $(C_SUBDIR)/*/*/*.c)
C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src))) C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src)))
C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS))
GFLIB_SRCS := $(wildcard $(GFLIB_SUBDIR)/*.c)
GFLIB_OBJS := $(patsubst $(GFLIB_SUBDIR)/%.c,$(GFLIB_BUILDDIR)/%.o,$(GFLIB_SRCS))
C_ASM_SRCS += $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s) C_ASM_SRCS += $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s)
C_ASM_OBJS := $(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o,$(C_ASM_SRCS)) C_ASM_OBJS := $(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o,$(C_ASM_SRCS))
@ -140,7 +145,7 @@ SONG_OBJS := $(patsubst $(SONG_SUBDIR)/%.s,$(SONG_BUILDDIR)/%.o,$(SONG_SRCS))
MID_SRCS := $(wildcard $(MID_SUBDIR)/*.mid) MID_SRCS := $(wildcard $(MID_SUBDIR)/*.mid)
MID_OBJS := $(patsubst $(MID_SUBDIR)/%.mid,$(MID_BUILDDIR)/%.o,$(MID_SRCS)) MID_OBJS := $(patsubst $(MID_SUBDIR)/%.mid,$(MID_BUILDDIR)/%.o,$(MID_SRCS))
OBJS := $(C_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS) OBJS := $(C_OBJS) $(GFLIB_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS)
OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS)) OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS))
SUBDIRS := $(sort $(dir $(OBJS))) SUBDIRS := $(sort $(dir $(OBJS)))
@ -230,7 +235,7 @@ endif
ifeq ($(NODEP),1) ifeq ($(NODEP),1)
$(C_BUILDDIR)/%.o: c_dep := $(C_BUILDDIR)/%.o: c_dep :=
else else
$(C_BUILDDIR)/%.o: c_dep = $(shell [[ -f $(C_SUBDIR)/$*.c ]] && $(SCANINC) -I include -I tools/agbcc/include $(C_SUBDIR)/$*.c) $(C_BUILDDIR)/%.o: c_dep = $(shell [[ -f $(C_SUBDIR)/$*.c ]] && $(SCANINC) -I include -I tools/agbcc/include -I gflib $(C_SUBDIR)/$*.c)
endif endif
ifeq ($(DINFO),1) ifeq ($(DINFO),1)
@ -243,6 +248,18 @@ $(C_BUILDDIR)/%.o : $(C_SUBDIR)/%.c $$(c_dep)
@echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$*.s @echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$*.s
$(AS) $(ASFLAGS) -o $@ $(C_BUILDDIR)/$*.s $(AS) $(ASFLAGS) -o $@ $(C_BUILDDIR)/$*.s
ifeq ($(NODEP),1)
$(GFLIB_BUILDDIR)/%.o: c_dep :=
else
$(GFLIB_BUILDDIR)/%.o: c_dep = $(shell [[ -f $(GFLIB_SUBDIR)/$*.c ]] && $(SCANINC) -I include -I tools/agbcc/include -I gflib $(GFLIB_SUBDIR)/$*.c)
endif
$(GFLIB_BUILDDIR)/%.o : $(GFLIB_SUBDIR)/%.c $$(c_dep)
@$(CPP) $(CPPFLAGS) $< -o $(GFLIB_BUILDDIR)/$*.i
@$(PREPROC) $(GFLIB_BUILDDIR)/$*.i charmap.txt | $(CC1) $(CFLAGS) -o $(GFLIB_BUILDDIR)/$*.s
@echo -e ".text\n\t.align\t2, 0\n" >> $(GFLIB_BUILDDIR)/$*.s
$(AS) $(ASFLAGS) -o $@ $(GFLIB_BUILDDIR)/$*.s
ifeq ($(NODEP),1) ifeq ($(NODEP),1)
$(C_BUILDDIR)/%.o: c_asm_dep := $(C_BUILDDIR)/%.o: c_asm_dep :=
else else

View File

@ -1,6 +1,6 @@
#include "global.h" #include "global.h"
#include "window.h" #include "window.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "blit.h" #include "blit.h"

View File

@ -49,15 +49,15 @@ SECTIONS {
{ {
src/crt0.o(.text); src/crt0.o(.text);
src/main.o(.text); src/main.o(.text);
src/alloc.o(.text); gflib/malloc.o(.text);
src/dma3_manager.o(.text); gflib/dma3_manager.o(.text);
src/gpu_regs.o(.text); gflib/gpu_regs.o(.text);
src/bg.o(.text); gflib/bg.o(.text);
src/blit.o(.text); gflib/blit.o(.text);
src/window.o(.text); gflib/window.o(.text);
src/text.o(.text); gflib/text.o(.text);
src/sprite.o(.text); gflib/sprite.o(.text);
src/string_util.o(.text); gflib/string_util.o(.text);
src/link.o(.text); src/link.o(.text);
src/link_rfu.o(.text); src/link_rfu.o(.text);
src/union_room.o(.text); src/union_room.o(.text);
@ -420,12 +420,12 @@ SECTIONS {
ALIGN(4) ALIGN(4)
{ {
src/main.o(.rodata); src/main.o(.rodata);
src/bg.o(.rodata); gflib/bg.o(.rodata);
src/window.o(.rodata); gflib/window.o(.rodata);
src/text.o(.rodata); gflib/text.o(.rodata);
src/sprite.o(.rodata); gflib/sprite.o(.rodata);
data/io_reg.o(.rodata); data/io_reg.o(.rodata);
src/string_util.o(.rodata); gflib/string_util.o(.rodata);
src/link.o(.rodata); src/link.o(.rodata);
src/link.o(.rodata.str1.4); src/link.o(.rodata.str1.4);
src/link_rfu.o(.rodata); src/link_rfu.o(.rodata);

View File

@ -10,7 +10,7 @@
#include "item.h" #include "item.h"
#include "item_menu.h" #include "item_menu.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "new_game.h" #include "new_game.h"
#include "party_menu.h" #include "party_menu.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "battle_interface.h" #include "battle_interface.h"
#include "decompress.h" #include "decompress.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "battle_interface.h" #include "battle_interface.h"
#include "decompress.h" #include "decompress.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "bg.h" #include "bg.h"

View File

@ -7,7 +7,7 @@
#include "decompress.h" #include "decompress.h"
#include "dma3.h" #include "dma3.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "pokemon_icon.h" #include "pokemon_icon.h"
#include "sprite.h" #include "sprite.h"

View File

@ -3,7 +3,7 @@
#include "contest.h" #include "contest.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "graphics.h" #include "graphics.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "sound.h" #include "sound.h"
#include "sprite.h" #include "sprite.h"

View File

@ -8,7 +8,7 @@
#include "event_data.h" #include "event_data.h"
#include "overworld.h" #include "overworld.h"
#include "util.h" #include "util.h"
#include "alloc.h" #include "malloc.h"
#include "string_util.h" #include "string_util.h"
#include "random.h" #include "random.h"
#include "task.h" #include "task.h"

View File

@ -11,7 +11,7 @@
#include "palette.h" #include "palette.h"
#include "task.h" #include "task.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "string_util.h" #include "string_util.h"

View File

@ -6,7 +6,7 @@
#include "constants/battle_anim.h" #include "constants/battle_anim.h"
#include "battle_interface.h" #include "battle_interface.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "graphics.h" #include "graphics.h"
#include "random.h" #include "random.h"
#include "util.h" #include "util.h"

View File

@ -26,7 +26,7 @@
#include "link_rfu.h" #include "link_rfu.h"
#include "load_save.h" #include "load_save.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "m4a.h" #include "m4a.h"
#include "palette.h" #include "palette.h"
#include "party_menu.h" #include "party_menu.h"

View File

@ -9,7 +9,7 @@
#include "task.h" #include "task.h"
#include "battle_tower.h" #include "battle_tower.h"
#include "party_menu.h" #include "party_menu.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "script.h" #include "script.h"
#include "battle_setup.h" #include "battle_setup.h"

View File

@ -23,7 +23,7 @@
#include "main.h" #include "main.h"
#include "load_save.h" #include "load_save.h"
#include "script.h" #include "script.h"
#include "alloc.h" #include "malloc.h"
#include "overworld.h" #include "overworld.h"
#include "event_scripts.h" #include "event_scripts.h"
#include "constants/battle_frontier.h" #include "constants/battle_frontier.h"

View File

@ -17,7 +17,7 @@
#include "list_menu.h" #include "list_menu.h"
#include "mail.h" #include "mail.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "menu_helpers.h" #include "menu_helpers.h"
#include "overworld.h" #include "overworld.h"

View File

@ -18,7 +18,7 @@
#include "international_string_util.h" #include "international_string_util.h"
#include "sound.h" #include "sound.h"
#include "constants/songs.h" #include "constants/songs.h"
#include "alloc.h" #include "malloc.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "constants/game_stat.h" #include "constants/game_stat.h"
#include "trainer_hill.h" #include "trainer_hill.h"

View File

@ -9,7 +9,7 @@
#include "field_weather.h" #include "field_weather.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "overworld.h" #include "overworld.h"
#include "palette.h" #include "palette.h"
#include "random.h" #include "random.h"

View File

@ -2,7 +2,7 @@
#include "battle.h" #include "battle.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "battle_controllers.h" #include "battle_controllers.h"
#include "alloc.h" #include "malloc.h"
#include "pokemon.h" #include "pokemon.h"
#include "trainer_hill.h" #include "trainer_hill.h"
#include "party_menu.h" #include "party_menu.h"

View File

@ -12,7 +12,7 @@
#include "bg.h" #include "bg.h"
#include "palette.h" #include "palette.h"
#include "decompress.h" #include "decompress.h"
#include "alloc.h" #include "malloc.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "text.h" #include "text.h"
#include "text_window.h" #include "text_window.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "berry_powder.h" #include "berry_powder.h"
#include "bg.h" #include "bg.h"
#include "event_data.h" #include "event_data.h"

View File

@ -1,7 +1,7 @@
#include "global.h" #include "global.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "multiboot.h" #include "multiboot.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "graphics.h" #include "graphics.h"
#include "main.h" #include "main.h"

View File

@ -21,7 +21,7 @@
#include "string_util.h" #include "string_util.h"
#include "strings.h" #include "strings.h"
#include "bg.h" #include "bg.h"
#include "alloc.h" #include "malloc.h"
#include "scanline_effect.h" #include "scanline_effect.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "graphics.h" #include "graphics.h"

View File

@ -6,7 +6,7 @@
#include "field_weather.h" #include "field_weather.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "graphics.h" #include "graphics.h"
#include "alloc.h" #include "malloc.h"
#include "main.h" #include "main.h"
#include "menu.h" #include "menu.h"
#include "overworld.h" #include "overworld.h"

View File

@ -1,7 +1,7 @@
#include "global.h" #include "global.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "bg.h" #include "bg.h"
#include "alloc.h" #include "malloc.h"
#include "constants/items.h" #include "constants/items.h"
#include "constants/event_objects.h" #include "constants/event_objects.h"
#include "constants/moves.h" #include "constants/moves.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_gfx_sfx_util.h" #include "battle_gfx_sfx_util.h"
#include "bg.h" #include "bg.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_gfx_sfx_util.h" #include "battle_gfx_sfx_util.h"
#include "bg.h" #include "bg.h"

View File

@ -3,7 +3,7 @@
#include "main.h" #include "main.h"
#include "task.h" #include "task.h"
#include "bg.h" #include "bg.h"
#include "alloc.h" #include "malloc.h"
#include "window.h" #include "window.h"
#include "text.h" #include "text.h"
#include "menu.h" #include "menu.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "data.h" #include "data.h"
#include "graphics.h" #include "graphics.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "data.h" #include "data.h"
#include "decompress.h" #include "decompress.h"
#include "pokemon.h" #include "pokemon.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "decoration.h" #include "decoration.h"
#include "decoration_inventory.h" #include "decoration_inventory.h"

View File

@ -3,7 +3,7 @@
#include "easy_chat.h" #include "easy_chat.h"
#include "event_data.h" #include "event_data.h"
#include "link.h" #include "link.h"
#include "alloc.h" #include "malloc.h"
#include "random.h" #include "random.h"
#include "text.h" #include "text.h"
#include "tv.h" #include "tv.h"

View File

@ -5,7 +5,7 @@
#include "gpu_regs.h" #include "gpu_regs.h"
#include "scanline_effect.h" #include "scanline_effect.h"
#include "task.h" #include "task.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "bg.h" #include "bg.h"
#include "window.h" #include "window.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "dodrio_berry_picking.h" #include "dodrio_berry_picking.h"
#include "dynamic_placeholder_text_util.h" #include "dynamic_placeholder_text_util.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "bard_music.h" #include "bard_music.h"
#include "bg.h" #include "bg.h"
#include "data.h" #include "data.h"

View File

@ -17,7 +17,7 @@
#include "menu.h" #include "menu.h"
#include "trig.h" #include "trig.h"
#include "random.h" #include "random.h"
#include "alloc.h" #include "malloc.h"
#include "dma3.h" #include "dma3.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "bg.h" #include "bg.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "ereader_helpers.h" #include "ereader_helpers.h"
#include "link.h" #include "link.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "ereader_helpers.h" #include "ereader_helpers.h"
#include "link.h" #include "link.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle_pyramid.h" #include "battle_pyramid.h"
#include "berry.h" #include "berry.h"
#include "decoration.h" #include "decoration.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_message.h" #include "battle_message.h"
#include "bg.h" #include "bg.h"

View File

@ -3,7 +3,7 @@
#include "gpu_regs.h" #include "gpu_regs.h"
#include "international_string_util.h" #include "international_string_util.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "palette.h" #include "palette.h"
#include "region_map.h" #include "region_map.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_tower.h" #include "battle_tower.h"
#include "cable_club.h" #include "cable_club.h"

View File

@ -7,7 +7,7 @@
#include "field_player_avatar.h" #include "field_player_avatar.h"
#include "fieldmap.h" #include "fieldmap.h"
#include "fldeff.h" #include "fldeff.h"
#include "alloc.h" #include "malloc.h"
#include "metatile_behavior.h" #include "metatile_behavior.h"
#include "overworld.h" #include "overworld.h"
#include "party_menu.h" #include "party_menu.h"

View File

@ -5,7 +5,7 @@
#include "battle_anim.h" #include "battle_anim.h"
#include "event_data.h" #include "event_data.h"
#include "recorded_battle.h" #include "recorded_battle.h"
#include "alloc.h" #include "malloc.h"
#include "sprite.h" #include "sprite.h"
#include "scanline_effect.h" #include "scanline_effect.h"
#include "text_window.h" #include "text_window.h"

View File

@ -24,7 +24,7 @@
#include "data.h" #include "data.h"
#include "record_mixing.h" #include "record_mixing.h"
#include "strings.h" #include "strings.h"
#include "alloc.h" #include "malloc.h"
#include "save.h" #include "save.h"
#include "load_save.h" #include "load_save.h"
#include "battle_dome.h" #include "battle_dome.h"

View File

@ -6,7 +6,7 @@
#include "pokemon.h" #include "pokemon.h"
#include "text.h" #include "text.h"
#include "text_window.h" #include "text_window.h"
#include "alloc.h" #include "malloc.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "graphics.h" #include "graphics.h"
#include "main.h" #include "main.h"

View File

@ -5,7 +5,7 @@
#include "task.h" #include "task.h"
#include "title_screen.h" #include "title_screen.h"
#include "libgcnmultiboot.h" #include "libgcnmultiboot.h"
#include "alloc.h" #include "malloc.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "link.h" #include "link.h"
#include "multiboot_pokemon_colosseum.h" #include "multiboot_pokemon_colosseum.h"

View File

@ -4,7 +4,7 @@
#include "string_util.h" #include "string_util.h"
#include "text.h" #include "text.h"
#include "event_data.h" #include "event_data.h"
#include "alloc.h" #include "malloc.h"
#include "secret_base.h" #include "secret_base.h"
#include "item_menu.h" #include "item_menu.h"
#include "strings.h" #include "strings.h"

View File

@ -2,7 +2,7 @@
#include "decompress.h" #include "decompress.h"
#include "graphics.h" #include "graphics.h"
#include "item_icon.h" #include "item_icon.h"
#include "alloc.h" #include "malloc.h"
#include "sprite.h" #include "sprite.h"
#include "constants/items.h" #include "constants/items.h"

View File

@ -25,7 +25,7 @@
#include "link.h" #include "link.h"
#include "mail.h" #include "mail.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "map_name_popup.h" #include "map_name_popup.h"
#include "menu.h" #include "menu.h"
#include "money.h" #include "money.h"

View File

@ -2,7 +2,7 @@
// Includes // Includes
#include "global.h" #include "global.h"
#include "m4a.h" #include "m4a.h"
#include "alloc.h" #include "malloc.h"
#include "reset_save_heap.h" #include "reset_save_heap.h"
#include "save.h" #include "save.h"
#include "bg.h" #include "bg.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "berry_blender.h" #include "berry_blender.h"
#include "decompress.h" #include "decompress.h"

View File

@ -8,7 +8,7 @@
#include "trig.h" #include "trig.h"
#include "decompress.h" #include "decompress.h"
#include "palette.h" #include "palette.h"
#include "alloc.h" #include "malloc.h"
#include "strings.h" #include "strings.h"
#include "sound.h" #include "sound.h"
#include "constants/songs.h" #include "constants/songs.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "berry_powder.h" #include "berry_powder.h"
#include "item.h" #include "item.h"
#include "load_save.h" #include "load_save.h"

View File

@ -17,7 +17,7 @@
#include "bg.h" #include "bg.h"
#include "pokemon_icon.h" #include "pokemon_icon.h"
#include "constants/species.h" #include "constants/species.h"
#include "alloc.h" #include "malloc.h"
#include "easy_chat.h" #include "easy_chat.h"
#include "constants/rgb.h" #include "constants/rgb.h"

View File

@ -1,6 +1,6 @@
#include "global.h" #include "global.h"
#include "crt0.h" #include "crt0.h"
#include "alloc.h" #include "malloc.h"
#include "link.h" #include "link.h"
#include "link_rfu.h" #include "link_rfu.h"
#include "librfu.h" #include "librfu.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_setup.h" #include "battle_setup.h"
#include "bg.h" #include "bg.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "blit.h" #include "blit.h"
#include "dma3.h" #include "dma3.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle_main.h" #include "battle_main.h"
#include "contest_effect.h" #include "contest_effect.h"
#include "data.h" #include "data.h"

View File

@ -4,7 +4,7 @@
#include "gpu_regs.h" #include "gpu_regs.h"
#include "palette.h" #include "palette.h"
#include "decompress.h" #include "decompress.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "pokemon_icon.h" #include "pokemon_icon.h"
#include "union_room.h" #include "union_room.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "overworld.h" #include "overworld.h"
#include "script.h" #include "script.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "script.h" #include "script.h"
#include "mevent.h" #include "mevent.h"
#include "mevent_server.h" #include "mevent_server.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "util.h" #include "util.h"
#include "link.h" #include "link.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "event_data.h" #include "event_data.h"
#include "event_object_movement.h" #include "event_object_movement.h"

View File

@ -1,7 +1,7 @@
#include "global.h" #include "global.h"
#include "event_object_movement.h" #include "event_object_movement.h"
#include "fieldmap.h" #include "fieldmap.h"
#include "alloc.h" #include "malloc.h"
#include "mossdeep_gym.h" #include "mossdeep_gym.h"
#include "script_movement.h" #include "script_movement.h"
#include "constants/event_object_movement_constants.h" #include "constants/event_object_movement_constants.h"

View File

@ -9,7 +9,7 @@
#include "gpu_regs.h" #include "gpu_regs.h"
#include "move_relearner.h" #include "move_relearner.h"
#include "list_menu.h" #include "list_menu.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "menu_helpers.h" #include "menu_helpers.h"
#include "menu_specialized.h" #include "menu_specialized.h"

View File

@ -2,7 +2,7 @@
#include "main.h" #include "main.h"
#include "text.h" #include "text.h"
#include "task.h" #include "task.h"
#include "alloc.h" #include "malloc.h"
#include "gpu_regs.h" #include "gpu_regs.h"
#include "scanline_effect.h" #include "scanline_effect.h"
#include "text_window.h" #include "text_window.h"

View File

@ -1,6 +1,6 @@
#include "global.h" #include "global.h"
#include "naming_screen.h" #include "naming_screen.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "task.h" #include "task.h"
#include "sprite.h" #include "sprite.h"

View File

@ -26,7 +26,7 @@
#include "link_rfu.h" #include "link_rfu.h"
#include "load_save.h" #include "load_save.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "m4a.h" #include "m4a.h"
#include "map_name_popup.h" #include "map_name_popup.h"
#include "match_call.h" #include "match_call.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "battle_controllers.h" #include "battle_controllers.h"

View File

@ -14,7 +14,7 @@
#include "list_menu.h" #include "list_menu.h"
#include "mail.h" #include "mail.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "menu_helpers.h" #include "menu_helpers.h"
#include "overworld.h" #include "overworld.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "battle_controllers.h" #include "battle_controllers.h"
#include "battle_message.h" #include "battle_message.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle.h" #include "battle.h"
#include "bg.h" #include "bg.h"
#include "data.h" #include "data.h"

View File

@ -8,7 +8,7 @@
#include "graphics.h" #include "graphics.h"
#include "international_string_util.h" #include "international_string_util.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "m4a.h" #include "m4a.h"
#include "overworld.h" #include "overworld.h"

View File

@ -4,7 +4,7 @@
#include "gpu_regs.h" #include "gpu_regs.h"
#include "graphics.h" #include "graphics.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "overworld.h" #include "overworld.h"
#include "palette.h" #include "palette.h"

View File

@ -2,7 +2,7 @@
#include "bg.h" #include "bg.h"
#include "m4a.h" #include "m4a.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "pokedex_cry_screen.h" #include "pokedex_cry_screen.h"
#include "sound.h" #include "sound.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "apprentice.h" #include "apprentice.h"
#include "battle.h" #include "battle.h"
#include "battle_anim.h" #include "battle_anim.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "battle_anim.h" #include "battle_anim.h"
#include "bg.h" #include "bg.h"
#include "data.h" #include "data.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "bg.h" #include "bg.h"
#include "data.h" #include "data.h"
#include "decompress.h" #include "decompress.h"

View File

@ -20,7 +20,7 @@
#include "item.h" #include "item.h"
#include "link.h" #include "link.h"
#include "m4a.h" #include "m4a.h"
#include "alloc.h" #include "malloc.h"
#include "menu.h" #include "menu.h"
#include "menu_helpers.h" #include "menu_helpers.h"
#include "mon_markings.h" #include "mon_markings.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "task.h" #include "task.h"
#include "main.h" #include "main.h"
#include "overworld.h" #include "overworld.h"

View File

@ -1,5 +1,5 @@
#include "global.h" #include "global.h"
#include "alloc.h" #include "malloc.h"
#include "decompress.h" #include "decompress.h"
#include "bg.h" #include "bg.h"
#include "palette.h" #include "palette.h"

View File

@ -5,7 +5,7 @@
#include "graphics.h" #include "graphics.h"
#include "bg.h" #include "bg.h"
#include "main.h" #include "main.h"
#include "alloc.h" #include "malloc.h"
#include "palette.h" #include "palette.h"
#include "scanline_effect.h" #include "scanline_effect.h"
#include "menu.h" #include "menu.h"

Some files were not shown because too many files have changed in this diff Show More