Several matches, documentation, and tool updates (#377)

* WIP func_80068FA8

* WIP func_80069790

* Match func_80069790

* WIP func_80068FA8

* WIP func_80068FA8

* Near match func_80068FA8

* Regalloc diff with func_80068FA8

* Match func_80068FA8

* Cleanup casts we don't need, and get rid of unused symbols from undefined_syms.txt

* Increase score for func_80066CDC

* Increased score of render_fade_circle

* Get func_80031BB8 back to NON_MATCHING after one struct definition got updated

* Make asm_processor linked to the original repository as a submodule to keep it up to date

* Update recomp to latest

* Updated diff.py to the latest version. One of the recent tools updates gives me line diffs in diff.py finally!

* WIP func_80010994

* Update func_80010994 WIP

* D_8011AD21 is not an array

* Cleanup

* Match func_800155B8

* WIP func_80010994

* Get func_80010994 to NON_MATCHING status

* WIP render_3d_model

* Update render_3d_model WIP

* WIP render_3d_model

* Match unused func_8001E13C

* WIP func_80011264

* Match func_800113CC

* Udpate func_80011AD0 and then use that knowledge to add some details to a few objects

* Fix warnings

* Bring func_80011AD0 closer to matching

* Match func_80011AD0

* MAtch func_800138A8

* Cleanup

* Change variable type for D_8011AEDC to be an Object as it matches what it's used as in func_8001BDD4

* Match func_8001BDD4

* Match func_8001BC54 and document the camera obj list

* Accidentally deleted the generate_ctx.sh somehow. Adding it back in

* Match func_8002A31C

* Make D_800DC8AC an array of Vec3f instead

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
This commit is contained in:
Ryan Myers
2023-03-07 14:30:24 -05:00
committed by GitHub
co-authored by David Benepe
parent 2cda09c5fa
commit 6d99776962
49 changed files with 1378 additions and 3307 deletions
+3 -3
View File
@@ -99,7 +99,7 @@ endif
# NOTE: If you are adding a tool here, make sure to update the Makefile in `/tools/ido-static-recomp/`!
RECOMP_TOOLS := cc cfe uopt ugen as1 ujoin uld usplit umerge
RECOMP_DIR := $(RECOMP_PROJECT)build5.3/out/
RECOMP_DIR := $(RECOMP_PROJECT)build/5.3/out/
RECOMP_TOOLS_PATHS = $(addprefix $(RECOMP_DIR),$(RECOMP_TOOLS))
# Checks if all the recomp tools exist.
@@ -107,7 +107,7 @@ $(foreach p,$(RECOMP_TOOLS_PATHS),$(if $(wildcard $(p)),,$(info $(p) does not ex
# If any of the tools do not exist, then recomp needs to run to build them.
ifeq ($(runRecomp),yes)
DUMMY != cd $(RECOMP_PROJECT) && python3 build.py ido/5.3 -O2 && cp build5.3/out/usr/bin/cc build5.3/out/cc && cp build5.3/out/usr/lib/* build5.3/out/ && cd ../../ >&2 || echo FAIL
DUMMY != cd $(RECOMP_PROJECT) && make setup && make VERSION=5.3 && cp build/5.3/out/usr/bin/cc build/5.3/out/cc && cp build/5.3/out/usr/lib/* build/5.3/out/ && cd ../../ >&2 || echo FAIL
endif
######## Extract Assets & Microcode ########
@@ -428,7 +428,7 @@ $(BUILD_DIR)/$(TARGET).hex: $(BUILD_DIR)/$(TARGET).z64
$(BUILD_DIR)/$(TARGET).objdump: $(BUILD_DIR)/$(TARGET).elf
$(OBJDUMP) -D $< > $@
$(GLOBAL_ASM_O_FILES): CC := $(PYTHON) tools/asm_processor/build.py $(CC) -- $(AS) $(ASFLAGS) --
$(GLOBAL_ASM_O_FILES): CC := python3 tools/asm_processor/build.py $(CC) -- $(AS) $(ASFLAGS) --
test: $(BUILD_DIR)/$(TARGET).z64
$(EMULATOR) $(EMU_FLAGS) $<