Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
04484fd
Transplant from fukkatsu that at least compiles
ComplexPlane Jan 21, 2023
ad12df0
Document log.h
ComplexPlane Jan 21, 2023
62fbb89
Default config docs/stuff
ComplexPlane Jan 21, 2023
6e1194a
Fix patch parse error handling
ComplexPlane Jan 21, 2023
4acdc5c
Remove custom-music-id and custom-theme-id from default config
ComplexPlane Jan 21, 2023
e707370
Conditionally parse sections based on patches
ComplexPlane Jan 21, 2023
765eea3
Symbols update
ComplexPlane Jan 21, 2023
ef90b46
Config dump script sorta working
ComplexPlane Jan 22, 2023
fd3ee5c
Dump mostly complete challenge mode layout
ComplexPlane Jan 22, 2023
172c127
Dump vanilla challenge mode layout
ComplexPlane Jan 22, 2023
2f7d8e7
Remove old default config
ComplexPlane Jan 22, 2023
c42b431
Dump vanilla theme and music IDs
ComplexPlane Jan 22, 2023
0cf0f2d
Dump story mode layout
ComplexPlane Jan 22, 2023
7e792a0
Increase JSON buffer size
ComplexPlane Jan 22, 2023
bd13b38
Allocate story mode layout parse array
ComplexPlane Jan 22, 2023
f3db775
Fix challenge mode layout object parse
ComplexPlane Jan 22, 2023
43f1fc0
Be strict about no float->int implicit conversion
ComplexPlane Jan 22, 2023
385a7de
Parse is_bonus_stage field
ComplexPlane Jan 22, 2023
b386053
Take config on init_main_loop()
ComplexPlane Jan 23, 2023
a590472
Run main_loop_init funcs
ComplexPlane Jan 23, 2023
0e2497e
Start adding new hooks for custom stage info
ComplexPlane Jan 27, 2023
b43d369
More custom stage info game patching
ComplexPlane Jan 27, 2023
1513e98
Remember to write size to story mode layout world array
ComplexPlane Jan 27, 2023
debf75d
Fiz izzues
ComplexPlane Jan 27, 2023
ee358a8
Minor config aesthetics tweaks
ComplexPlane Jan 30, 2023
224bb40
Remove comment
ComplexPlane Jan 30, 2023
5e4bfeb
Conflicting stage info checking
ComplexPlane Jan 30, 2023
780f7f6
Bonus list
ComplexPlane Jan 30, 2023
4455cf8
Write course commands (untested)
ComplexPlane Jan 30, 2023
b0b16a6
Update TODO
ComplexPlane Feb 8, 2023
a56c5b2
Upgrade ArduinoJson for dubious reasons
ComplexPlane Jun 13, 2023
3d48db7
Supposedly fix new compile errors that came out of the blue
ComplexPlane Jun 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,5 @@ __pycache__/
/compile_commands.json
/ApeSphere.*
/.qtc_clangd

.cache/
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ MACHDEP = -mno-sdata -mgcn -DGEKKO -mcpu=750 -meabi -mhard-float

# -Wno-write-strings because some GC SDK functions take non-const char *,
# and Ghidra can't represent const char * anyhow
CFLAGS = -nostdlib -ffreestanding -ffunction-sections -fdata-sections -g -Os -Wall -Wno-write-strings $(MACHDEP) $(INCLUDE)
CFLAGS = -nostdlib -lgcc -ffreestanding -ffunction-sections -fdata-sections -g -Os -Wall -Wno-write-strings $(MACHDEP) $(INCLUDE)
CXXFLAGS = -fno-exceptions -fno-rtti -std=gnu++20 $(CFLAGS)
ASFLAGS = -mregnames # Don't require % in front of register names

LDFLAGS = -r -e _prolog -u _prolog -u _epilog -u _unresolved -Wl,--gc-sections -nostdlib -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
LDFLAGS = -r -e _prolog -u _prolog -u _epilog -u _unresolved -Wl,--gc-sections -nostdlib -lgcc -g $(MACHDEP) -Wl,-Map,$(notdir $@).map

#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
Expand Down Expand Up @@ -146,7 +146,8 @@ endif
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
-I$(CURDIR)/$(BUILD) \
-I$(LIBOGC_INC)
-I$(LIBOGC_INC) \
-I$(CURDIR)/dep

#---------------------------------------------------------------------------------
# build a list of library paths
Expand Down
Loading