Extract gfx groups

This commit is contained in:
octorock 2021-10-31 00:12:26 +02:00
parent a87c35c4a5
commit 1e4b2b1f32
7 changed files with 3971 additions and 3960 deletions

View File

@ -277,9 +277,3 @@ gUnk_080FF400:: @ 080FF400
gUnk_080FF420:: @ 080FF420 gUnk_080FF420:: @ 080FF420
.4byte sub_08055E24 .4byte sub_08055E24
.4byte nullsub_493 .4byte nullsub_493
.include "data/gfx/palette_groups.s"
@ TODO move to own file
.include "asm/macros/gfx.inc"
.include "data/gfx/gfx_groups.inc"

View File

@ -1,3 +1,11 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
.include "asm/macros/gfx.inc"
@ helper variable @ helper variable
.ifdef JP .ifdef JP
JP_D:: JP_D::

View File

@ -1,3 +1,9 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
.include "asm/macros/gfx.inc" .include "asm/macros/gfx.inc"
.include "asm/macros/asm.inc" .include "asm/macros/asm.inc"

View File

@ -1,6 +1,7 @@
.include "asm/macros/sounds.inc" .include "asm/macros/sounds.inc"
.section .rodata
.section .rodata
.align 2
.include "sounds/sfxNone.s" .include "sounds/sfxNone.s"
.include "sounds/bgmCastleTournament.s" .include "sounds/bgmCastleTournament.s"

View File

@ -1186,6 +1186,8 @@ SECTIONS {
data/data_080FC8A4.o(.rodata); data/data_080FC8A4.o(.rodata);
data/const/playerItem/playerItemLantern.o(.rodata); data/const/playerItem/playerItemLantern.o(.rodata);
data/data_080FEEB8.o(.rodata); data/data_080FEEB8.o(.rodata);
data/gfx/palette_groups.o(.rodata);
data/gfx/gfx_groups.o(.rodata);
src/main.o(.rodata); src/main.o(.rodata);
data/map/tileset_headers.o(.rodata); data/map/tileset_headers.o(.rodata);
data/map/metatile_headers.o(.rodata); data/map/metatile_headers.o(.rodata);