ComplexPlane
|
85e42eb3ec
|
Labels. Mostly related to physics and animation. (#18)
* Rename stcoli functions
* Add gen_compile_commands.py script
* Add shebang
* gen_compile_commands: pretend to be GCC
* Separately compilable game headers
* Separately compilable system dolphin headers
* Work in progress starting stcoli.c
* Partially label PhysicsBall type
And some stcoli funcs
* Stcoli labelling
* Add Vec2d type
* Collision body labels
* StageGoal labels
* More goal labels
* gen_compile_commands.py: Prefer nonmatching C to matching asm
* sda2-^>_SDA2_BASE_ in stcoli.s
* Match first stcoli function (dol not matching atm though)
* Fix float literals (still not OK)
* gen_compile_commands.py absolute paths (needed on Linux?)
* gen_compile_commands.py fixes
- Export absolute paths, even on Linux
- Add some defines so more C code is exposed for clangd
- Remove extraneous spaces in output
- Executable bit
* Executable bit
* stcoli: match function 2 (meshcoli_grid_lookup())
Didn't fix asm/float literals though
* Small refactor fixes
* First 2 stcoli functions OK
* PhysicsBall labels
* Decompile stcoli_sub03
DOL not matching again though...
* Fix stcoli.s sdata2 alignment after stcoli.c's
* Stcoli func labels
* Format somewhat more reasonably
* Decompile stcoli_sub04
* Decompile stcoli_sub05
Small stcoli_sub05 cleanup
static.lcf
* Labelling
Labelling
Labelling
Labelling
Labelling
* Coli struct labels
* Decompile collide_ball_with_tri_verts
* Decompile collide_ball_with_tri_vert
* Small labels
* Move vec mag sq function to mathutil.h
* Decompile collide_ball_with_rect
* More labels
* Even more labels
* Decompile collide_ball_with_cylinder
Cleanup
* Correct mathutil ifdefs
* Decompile collide_ball_with_circle
* Format
* Labels
* Decompile g_collide_ball_with_sphere
* Decompile g_collide_ball_with_cone
* Little labelling
* Update static.lcf
* PhysicsBall labels
* hit -> plane
* PhysicsBall docs
* Add .clang-format
Not everything follows this but it's generally close to the observed
style
* Rename, and tidy unused stack vars
* Misc
* Remove duplicate ColiRect type
* Label check_ball_in_goal()
* Rename stagedef itemgroupo init pos/rot
* Decompile collide_ball_with_plane (woo)
This function was an extremely tough one, probably harder than all the
previous stcoli funcs combined. Lots of playing around with
combining/splitting temps that may be Vec's or individual temps.
Remove thing
* Document collide_ball_with_plane
* Reword some collide_ball_with_plane docs
* f32 -> float
* accel -> gravityAccel
* Decompile test_line_intersects_rect
* Decompile stcoli_sub15
* Clean up stcoli_sub15 a little
* RaycastHit result
* Renames
* MovableStagePart -> Itemgroup
* stcoli raycast renames
* ItemgroupInfo field labels
* Decompile raycast_stage_down()
* Clean up raycast_stage_down()
* Label bonus_wave_raycast_down()
* Fix bonus_wave_raycast_down() return type
asdf
* Decompile raycast_tri()
* Cleanup raycast_tri()
* Skip raycast_cone(), decompile raycast_sphere()
* Decompile raycast_cylinder()
* .clang-format
* Freecam stub
* 32-byte align dvd read buffers
* Working freecam
* Rename some stagedef stuff
* More stagedef renames
* Stage object labels
* Slight freecam improvements
* Remove nonmatching code
* Label GMA stuff
* Keyframe labels
* Bg model stuff
* Fix stcoli shiftability
* Bg model animation labels
* Bg anim labels again
* Stuff
* Fix wrong label
* The great itemgroup rename
* More consistent .gitignore
* Undo erroneous labels in input.c
* Fix newline
* Label tevutil function names
* GX enums
* Propagate tevutil.h include
* Remove unnecessary tevutil includes
* Tevutil function signatures
* Fix GXSetFog_cached arg order
* Format tevutil.h
* GXSetCullMode checkpoint
* Finish GXSetCullMode enum labels
* Fix enum, update .gitignore
* Itemgroup -> AnimGroup rename pt1
* animgroup -> anim_group
* Fix
* Fix aniimGroup
* Sampler label
* Avdisp checkpoint
* More avdisp label
* More avdisp
Fog
* build_tev_material checkpoint
checkpoint
checkpoint
* Restore matching
* avdisp checkpoint
* Renames
* Label some GMA shape flags
* Propagate GXSetBlendMode_cached
* Propagate GXSetTevSwapMode
* Propagate GXSetFog
* Tev material setup funcs
* Propagate GXSetTevColorIn
* Propagate GXSetTevAlphaIn
* Propagate GXSetTevColor/AlphaOp
* Propagate GXSetTevOrder
* Propagate GXLoadTexObj_cached
* Rematch
* Sampler -> TevStageDesc
* More tev-related labels
* Yes this is probably the unlit flag
* TevMaterialCache-related labels
* Rematch
* Document extra disp lists
* GMA header and flags
* Idk
* Stuff
* More stuff
* Tev post mul/add labels
* Idk
* Draw func labels
* GMA docs
* Layer funcs
* Color/alpha in
* Rematch
* Quick comment remove
* Fix couple function names
* Fix tev layer flag names
* Fix tev layer flags again
* Fix Dolphin includes
* Fix check_ball_entered_goal
* Remove unnecessary stcoli include
|
2022-04-17 16:02:56 -05:00 |
|
ComplexPlane
|
0bff44d57f
|
Tevutil labels (#19)
* Label tevutil function names
* GX enums
* Propagate tevutil.h include
* Remove unnecessary tevutil includes
* Tevutil function signatures
* Fix GXSetFog_cached arg order
* Format tevutil.h
* GXSetCullMode checkpoint
* Finish GXSetCullMode enum labels
* Fix enum, update .gitignore
|
2022-04-13 17:44:54 -05:00 |
|
ComplexPlane
|
74e69e9c7e
|
Separately compilable headers (#13)
* Rename stcoli functions
* Add gen_compile_commands.py script
* Add shebang
* gen_compile_commands: pretend to be GCC
* Separately compilable game headers
* Separately compilable system dolphin headers
* Remove stcoli changes from this PR
* Fix EOF newlines
|
2022-02-21 18:23:59 -06:00 |
|
camthesaxman
|
dbb0f7c477
|
decompile dsp_task.s
|
2022-02-02 22:16:08 -06:00 |
|
camthesaxman
|
3774b0f678
|
C versions of some mathutil functions
|
2022-01-31 22:42:10 -06:00 |
|
camthesaxman
|
d7aa4205c7
|
decompile fminmaxdim.s
|
2022-01-31 21:09:33 -06:00 |
|
camthesaxman
|
7e7bb6d25f
|
import remaining math sources
|
2022-01-31 20:57:51 -06:00 |
|
camthesaxman
|
d420f96887
|
import more math library sources
|
2022-01-31 20:26:29 -06:00 |
|
camthesaxman
|
43eb2e65de
|
import some math library source files
|
2022-01-31 19:55:03 -06:00 |
|
camthesaxman
|
26eeb5f717
|
decompile code_1.s (#10)
|
2022-01-29 10:28:32 -06:00 |
|
camthesaxman
|
fe75676f83
|
finish decompiling sprite.s
|
2022-01-26 19:32:02 -06:00 |
|
camthesaxman
|
bc593f157b
|
decompile GXDisplayList.s
|
2022-01-25 22:20:49 -06:00 |
|
camthesaxman
|
5866136de2
|
decompile hio.s
|
2022-01-25 21:43:23 -06:00 |
|
camthesaxman
|
6ba69c761f
|
decompile view.s (#7)
* start decompiling view.s
* decompile more of view.s
* finish decompiling view.s
* labeling
|
2022-01-21 23:06:19 -06:00 |
|
camthesaxman
|
392f28ce2e
|
decompile GXPerf.s
|
2022-01-19 21:34:18 -06:00 |
|
camthesaxman
|
088e879a0e
|
decompile OSError.s
|
2022-01-19 20:27:50 -06:00 |
|
camthesaxman
|
8e969c5001
|
decompile __ppc_eabi_init.s and OSMutex.s
|
2022-01-19 00:05:13 -06:00 |
|
camthesaxman
|
4e98f9c0e7
|
more renaming and decompile dsp.s
|
2022-01-16 11:47:15 -06:00 |
|
camthesaxman
|
6bcf6aee18
|
decompile more library code
|
2022-01-15 10:20:59 -06:00 |
|
camthesaxman
|
365770d818
|
decompile db.s
|
2022-01-15 08:56:17 -06:00 |
|
camthesaxman
|
a63b38da24
|
decompile fstload.s
|
2022-01-14 23:32:16 -06:00 |
|
camthesaxman
|
7acc6baa11
|
decompile some easy library functions
|
2022-01-14 22:09:37 -06:00 |
|
camthesaxman
|
70226b2def
|
decompile more of polydisp.s
|
2021-12-27 23:25:10 -06:00 |
|
camthesaxman
|
1b9c3f74f6
|
decompile more of nl2ngc.s
|
2021-12-26 16:31:50 -06:00 |
|
camthesaxman
|
0eea23fae6
|
decompile func_8003209C
|
2021-12-26 13:43:47 -06:00 |
|