mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-26 22:50:45 +00:00
Enhancement: refactor battle animation with compressing linker so that compressed pointers can be updated automatically
This commit is contained in:
parent
1d93c0b847
commit
3527218f1c
2
.gitignore
vendored
2
.gitignore
vendored
@ -67,7 +67,7 @@ tools/agbcc
|
||||
*.4bpp.h
|
||||
*.8bpp.h
|
||||
*.lz
|
||||
banim/*.bin
|
||||
data/banim/*.bin
|
||||
|
||||
# =========================
|
||||
# Dump Scripts Output
|
||||
|
8
Makefile
8
Makefile
@ -45,7 +45,7 @@ DATA_S_FILES := $(wildcard data/*.s)
|
||||
SFILES := $(ASM_S_FILES) $(LIBC_S_FILES) $(DATA_S_FILES)
|
||||
C_OBJECTS := $(CFILES:.c=.o)
|
||||
ASM_OBJECTS := $(SFILES:.s=.o)
|
||||
ALL_OBJECTS := $(C_OBJECTS) $(ASM_OBJECTS)
|
||||
ALL_OBJECTS := $(C_OBJECTS) $(ASM_OBJECTS) data/banim/data_banim.o
|
||||
DEPS_DIR := .dep
|
||||
|
||||
# Use the older compiler to build library code
|
||||
@ -64,7 +64,7 @@ clean:
|
||||
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
|
||||
$(RM) $(ROM) $(ELF) $(MAP) $(ALL_OBJECTS) src/*.s graphics/*.h -r $(DEPS_DIR)
|
||||
# Remove battle animation binaries
|
||||
$(RM) data/banim/*.bin data/banim/*.o
|
||||
$(RM) data/banim/*.bin data/banim/*.o data/banim/*.lz data/banim/*.bak
|
||||
|
||||
# Graphics Recipes
|
||||
|
||||
@ -86,8 +86,8 @@ clean:
|
||||
|
||||
# Battle Animation Recipes
|
||||
|
||||
%_script.bin: %_motion.o
|
||||
$(OBJCOPY) -O binary -j .data.script $< $@
|
||||
data/banim/data_banim.o: $(shell ./scripts/arm_compressing_linker.py -t linker_script_banim.txt -m)
|
||||
./scripts/arm_compressing_linker.py -o $@ -t linker_script_banim.txt -b 0x8c02000 -l $(LD) --objcopy $(OBJCOPY) -c ./scripts/compressor.py
|
||||
|
||||
%_modes.bin: %_motion.o
|
||||
$(OBJCOPY) -O binary -j .data.modes $< $@
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user