Files
JaceCear 9da592bb8e Make palettes format-independent, and other improvments (#242)
* Remove unused RED|GREEN|BLUE_VALUE macros

* preproc: Add basic support for loading .pal files directly via INCPAL()

* Some potential boss_8 render fixes and misc. stuff

* Use INCPAL macro in src/data/sprite_animation.c (but that file's is unused rn?)

* Fix non-main-Makefiles not using preproc properly

* Remove all INCBIN(.gbapal) uses with INCPAL(.pal) in ./src

* Move gSpritePalettes to C

* Rename palette to time_display_singlepak.pal

* Remove obj_palettes.inc

* Use ColorRaw for known palettes

* Fix time_display match

* Rename palette to sound_test_bg.pal

* Add comment and scratch to sub_80236C8

* Use PALETTE_LEN_4BPP

* Document a vocal sample name. Thanks 'Asal (in Harmony)' for letting us know!

* Document palette names in /graphics

* Fix boss palette names

* Renmae to sBoss7Palettes

* Some Boss 7 documentation

* Add ShredWindowsGarbage to win32

* Make PLTT a Color[] in non-vanilla builds

* Make Tilemap use INCPAL
2026-03-17 23:00:00 +00:00

93 lines
2.9 KiB
Makefile

STD_REVERB = 0
$(MID_BUILDDIR)/%.o: $(MID_SUBDIR)/%.s
@echo "$(AS) <flags> -I sound -o $@ $<"
@$(PREPROC) $< $(PLATFORM) "" | $(CPP) $(CPPFLAGS) - | $(AS) $(ASFLAGS) -o $@
$(MID_SUBDIR)/mus_garden.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -V100
$(MID_SUBDIR)/mus_goodbye_chao.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -V120
$(MID_SUBDIR)/mus_minigame.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -V100
$(MID_SUBDIR)/se_msgbox_select.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V85
$(MID_SUBDIR)/se_confirm.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V70
$(MID_SUBDIR)/song0013.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V66
$(MID_SUBDIR)/se_msgbox.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V100
$(MID_SUBDIR)/se_chao_walk.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V80
$(MID_SUBDIR)/song0016.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V90
$(MID_SUBDIR)/song0017.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V68
$(MID_SUBDIR)/song0018.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V80
$(MID_SUBDIR)/song0019.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_snore.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/song0021.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_gauge_expands.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_minigame_lost.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V115
$(MID_SUBDIR)/song0024.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/song0025.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_toy_trumpet.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V105
$(MID_SUBDIR)/song0027.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/song0028.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V105
$(MID_SUBDIR)/song0029.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V70
$(MID_SUBDIR)/song0030.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_speech_bubble.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V127
$(MID_SUBDIR)/song0032.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V70
$(MID_SUBDIR)/se_hatch.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V127
$(MID_SUBDIR)/song0034.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V95
$(MID_SUBDIR)/se_gauge_lvl_up.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V100
$(MID_SUBDIR)/se_toy_trumpet_novice.s: %.s: %.mid
$(MID2AGB) $< $@ -E -R$(STD_REVERB) -G0 -P20 -V105