summaryrefslogtreecommitdiff
path: root/data/dungeon_sbin.s
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2021-12-19 20:05:40 +0100
committermid-kid <esteve.varela@gmail.com>2021-12-20 16:29:12 +0100
commit99a038284bcbbf3a0f5ee95982f761a71a72850d (patch)
treef2575fd7032283ac97c8a7181286ef80055919ba /data/dungeon_sbin.s
parentbc43a77380f2265481c7e6ca3a42d631f658a7ab (diff)
Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst juggling with tools/scaninc and tools/preproc: - tools/scaninc doesn't apply the proper search rules for .include (it assumes #include behavior). In particular, it doesn't consider paths starting from $PWD, and doesn't scan the included files as a result. - .include had to be processed before #include by preproc in many cases, as code was being included that had to be preprocessed by CPP (think of #define). This contradicts standard GCC behavior. To make include paths consistent across the asm/ data/ and src/ directories, the following files were moved: - constants/ → include/asm/constants/ - asm/macros/ → include/asm/macros/ - asm/macros.inc → include/asm/macros.inc - include/macros/m4a.inc → include/asm/macros/m4a.inc As part of the necessary changes for this to work, the scaninc method in the makefile was improved to generate .d files that don't choke when files are missing.
Diffstat (limited to 'data/dungeon_sbin.s')
-rw-r--r--data/dungeon_sbin.s34
1 files changed, 17 insertions, 17 deletions
diff --git a/data/dungeon_sbin.s b/data/dungeon_sbin.s
index d24b3b7..95f455e 100644
--- a/data/dungeon_sbin.s
+++ b/data/dungeon_sbin.s
@@ -30725,16 +30725,16 @@ b00pal:
.byte 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80
-.include "data/dungeon/banfont.inc"
-.include "data/dungeon/banrpal.inc"
-.include "data/dungeon/colvec.inc"
-.include "data/dungeon/etcfont.inc"
-.include "data/dungeon/etcfonta.inc"
-.include "data/dungeon/fixedmap.inc"
-.include "data/dungeon/hp5font.inc"
-.include "data/dungeon/itempat.inc"
-.include "data/dungeon/jyochu.inc"
-.include "data/dungeon/levfont.inc"
+#include "dungeon/banfont.inc"
+#include "dungeon/banrpal.inc"
+#include "dungeon/colvec.inc"
+#include "dungeon/etcfont.inc"
+#include "dungeon/etcfonta.inc"
+#include "dungeon/fixedmap.inc"
+#include "dungeon/hp5font.inc"
+#include "dungeon/itempat.inc"
+#include "dungeon/jyochu.inc"
+#include "dungeon/levfont.inc"
@ Dungoeon Floor SIRO HEADER
.global Mapparam_SIRO
@@ -30744,11 +30744,11 @@ Mapparam_SIRO:
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
-.include "data/dungeon/floor_id.inc"
-.include "data/dungeon/main_data.inc"
-.include "data/dungeon/pokemon_found.inc"
-.include "data/dungeon/traps_found.inc"
-.include "data/dungeon/items_found.inc"
+#include "dungeon/floor_id.inc"
+#include "dungeon/main_data.inc"
+#include "dungeon/pokemon_found.inc"
+#include "dungeon/traps_found.inc"
+#include "dungeon/items_found.inc"
.global DungeonMasterTable
DungeonMasterTable:
@@ -36413,5 +36413,5 @@ PartnerConversion9SIRO:
.byte 0x30, 0x5f, 0x30, 0x32, 0x00, 0x00, 0x00, 0x00, 0x24, 0x6d, 0x30, 0x3a, 0x20, 0x5f, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f
.byte 0x6e, 0x5f, 0x30, 0x39, 0x30, 0x5f, 0x30, 0x31, 0x00, 0x00, 0x00, 0x00
-.include "data/dungeon/trappat.inc"
-.include "data/dungeon/zmappat.inc"
+#include "dungeon/trappat.inc"
+#include "dungeon/zmappat.inc"