Split SComponent (#45)

* split c_math

* split c_angle

* split c_API_controller_pad

* split c_API_graphic

* split c_bg_s_chk

* c_bg_s_gnd_chk split

* more c_bg split

* split c_cc_d

* delete asm

* split c_cc_s

* split c_lib

* split c_m2d and c_m3d_g_aab

* split c_m3d_g_cir

* split c_m3d_g_cps

* split rest of c_m3d_g

* split c_m3d

* split c_malloc

* split c_request

* split c_sxyz

* split and partly decompile c_xyz

* format

* c_angle.h

* begin c_angle decomp

* c_angle

* progress adding stub classes for SComponent

* more c_m3d

* remove some asm and format

* more m3d headers

* more c_angle decomp

* c_lib headers

* add public to classes

* fix csXyz member names

* c_sxyz partly OK

* move Zero csXyz to c_sxyz header

* c_API_graphic

* delete some unused asm

* move math extern data, decompile some functions

* delete unused asm

* fix duplicated c_angle.h

* fix an inlined function name, add more inlined functions for c_angle.h (currently unused)

* format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
lepelog
2021-01-07 02:04:53 +01:00
committed by GitHub
parent 9ff0143cd7
commit 0eec99db4d
921 changed files with 22374 additions and 59192 deletions
+26 -26
View File
@@ -239,11 +239,11 @@ TEXT_O_FILES := \
$(BUILD_DIR)/asm/d/k/d_k_wmark.o \
$(BUILD_DIR)/asm/d/k/d_k_wpillar.o \
$(BUILD_DIR)/asm/DynamicLink.o \
$(BUILD_DIR)/asm/SComponent/c/c_malloc.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_API_controller_pad.o \
$(BUILD_DIR)/asm/SComponent/c/API/c_API_graphic.o \
$(BUILD_DIR)/asm/SComponent/c/cc/c_cc_d.o \
$(BUILD_DIR)/asm/SComponent/c/cc/c_cc_s.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_malloc.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_API_controller_pad.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_API_graphic.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_cc_d.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_cc_s.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_counter.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_list.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_list_iter.o \
@@ -252,30 +252,30 @@ TEXT_O_FILES := \
$(BUILD_DIR)/libs/SSystem/SComponent/c_tree.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_tree_iter.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_phase.o \
$(BUILD_DIR)/asm/SComponent/c/c_request.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_request.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_tag.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_tag_iter.o \
$(BUILD_DIR)/asm/SComponent/c/c_xyz.o \
$(BUILD_DIR)/asm/SComponent/c/c_sxyz.o \
$(BUILD_DIR)/asm/SComponent/c/c_math.o \
$(BUILD_DIR)/asm/SComponent/c/bg/s/c_bg_s_chk.o \
$(BUILD_DIR)/asm/SComponent/c/bg/s/gnd/c_bg_s_gnd_chk.o \
$(BUILD_DIR)/asm/SComponent/c/bg/s/lin/c_bg_s_lin_chk.o \
$(BUILD_DIR)/asm/SComponent/c/bg/s/shdw/c_bg_s_shdw_draw.o \
$(BUILD_DIR)/asm/SComponent/c/bg/s/poly/c_bg_s_poly_info.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_xyz.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_sxyz.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_math.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_s_chk.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_s_gnd_chk.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_s_lin_chk.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_s_shdw_draw.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_s_poly_info.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_bg_w.o \
$(BUILD_DIR)/asm/SComponent/c/c_m2d.o \
$(BUILD_DIR)/asm/SComponent/c/c_m3d.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_aab.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_cir.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_cps.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_cyl.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_lin.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_pla.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_sph.o \
$(BUILD_DIR)/asm/SComponent/c/m3d/g/c_m3d_g_tri.o \
$(BUILD_DIR)/asm/SComponent/c/c_lib.o \
$(BUILD_DIR)/asm/SComponent/c/c_angle.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m2d.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_aab.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_cir.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_cps.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_cyl.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_lin.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_pla.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_sph.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_m3d_g_tri.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_lib.o \
$(BUILD_DIR)/libs/SSystem/SComponent/c_angle.o \
$(BUILD_DIR)/asm/SStandard/s/s_basic.o \
$(BUILD_DIR)/asm/JFramework/JFWSystem.o \
$(BUILD_DIR)/asm/JFramework/JFWDisplay.o \