Commit Graph

214 Commits

Author SHA1 Message Date
Ethan Roseman
ea2f64830c ASM refresh 2020-10-28 16:23:17 -04:00
Ethan Roseman
b68eea5d66 cleanup 2 2020-10-28 16:00:45 -04:00
Ethan Roseman
9a10bd2677 start_script_in_group 2020-10-28 15:06:49 -04:00
Ethan Roseman
90e7a9acab Assorted functions 2020-10-28 02:42:14 -04:00
Ethan Roseman
2d215e6943 Some 1A5830 funcs 2020-10-26 23:31:40 -04:00
Ethan Roseman
eb41485a0a New C file split, many functions decompiled 2020-10-26 19:10:32 -04:00
Ethan Roseman
099c159535 a few more map funcs 2020-10-25 22:37:22 -04:00
Ethan Roseman
c2d7449287 SetEntityPosition + co 2020-10-25 22:20:37 -04:00
Ethan Roseman
c4acc92579 GetEntityPosition 2020-10-25 21:44:43 -04:00
Ethan Roseman
e0ed375784 SetEntityFlags100000 2020-10-25 21:29:59 -04:00
Ethan Roseman
8a95d84a82 SyncStatusMenu and another 2020-10-25 21:23:02 -04:00
Ethan Roseman
97f1f96662 SomeItemEntityFunc 2020-10-25 21:12:01 -04:00
Ethan Roseman
37b94d320c UnkTexturePanFunc2 2020-10-25 16:08:59 -04:00
Ethan Roseman
763de9d951 UnkTexturePanFunc 2020-10-25 16:01:41 -04:00
Ethan Roseman
698c142dd4 GetCurrentCameraYawClamped180 2020-10-24 18:42:58 -04:00
Ethan Roseman
4c26b6df56 SetPlayerStatusAnimFlags100000 2020-10-24 18:32:02 -04:00
Ethan Roseman
86087faf8f GetCurrentFloor (less than 10k funcs now) 2020-10-24 18:25:25 -04:00
Ethan Roseman
820dd235e6 3 more 2020-10-24 18:14:57 -04:00
Ethan Roseman
4b1f9e0fa5 Some decomp, tons of cleanup 2020-10-24 17:51:27 -04:00
Ethan Roseman
4915acf7a2 si_find_label 2020-10-24 16:07:26 -04:00
Ethan Roseman
3407ecb91a si funcs and cleanup 2020-10-24 00:23:16 -04:00
Ethan Roseman
2ea328286b Set8009A650_40 2020-10-21 22:27:59 -04:00
Ethan Roseman
32e896c011 SetManyVars 2020-10-21 22:05:01 -04:00
Ethan Roseman
7a7f24431f more cleanup 2020-10-21 21:53:26 -04:00
Ethan Roseman
5c049a9f22 SomeMatrixOperations bogo 2020-10-21 21:39:50 -04:00
Ethan Roseman
a659c1aeb4 big boy cleanup 2020-10-21 18:05:18 -04:00
Ethan Roseman
5bf7732a4e SomeXYZFuncTodoRename 2020-10-21 01:33:24 -04:00
Ethan Roseman
773f9256c4 GetNpcCollisionHeight 2020-10-20 22:47:13 -04:00
Ethan Roseman
59d30300f5 GetItemName 2020-10-20 20:59:17 -04:00
Ethan Roseman
2bbf2623e7 1 more 2020-10-20 19:31:45 -04:00
Ethan Roseman
6bfd58db59 Merge branch 'master' into cornucopia 2020-10-20 18:00:16 -04:00
Ethan Roseman
fe04af7b4c SpawnSunEffect 2020-10-20 17:43:20 -04:00
Ethan Roseman
89ae878f24 Merge branch 'master' into misc-improvements 2020-10-20 17:26:27 -04:00
Alex Bates
1e9843e549
remove _ prefix from filenames 2020-10-20 21:32:06 +01:00
Alex Bates
ca88a636e9
split maps further, clean asm 2020-10-20 20:47:10 +01:00
Alex Bates
ff7c3f333e
split all map files 2020-10-20 20:11:56 +01:00
alex
607dba0c58
Merge branch 'master' into misc-improvements 2020-10-20 18:51:56 +01:00
Ethan Roseman
dbd8e0b1ee Merge branch 'misc-improvements' into cornucopia 2020-10-20 12:44:50 -04:00
Ethan Roseman
dfd9de4765 Beginning SpawnSunEffect 2020-10-19 19:48:16 -04:00
Ethan Roseman
8e104e1147 AwaitPlayerNearNPC 2020-10-19 18:47:29 -04:00
Alex Bates
f9a667bc7d
begin script disassembly 2020-10-19 22:58:57 +01:00
Ethan Roseman
8e47ca56c4
Map code (#80)
* split all map code

hype

* split area_table.bin properly

* fix coverage.py c_func_pattern to match multiline func signatures

* add src/world/* to makefile

* bump splat

* yikes

* splat maps without vram_lock

Co-authored-by: Alex Bates <hi@imalex.xyz>
2020-10-19 00:42:17 -04:00
sonicspiral
a82d662627
Decomp func_8013A854 from code_d0a70_len_4fe0 and add UnkStructFromfunc8013A854 (#78)
* inisital docs of asm logic and mips_to_c output

* add temp unknown struct for this func
* remove comments from asm, will keep them local only.

* moved UnkSructFromfunc8013A854 to common_sructs.h
* added it's pointer to undefined_syms
* fixed struct pointer and size
* this is a new struct, no others that are `0x7C` in size

* pulled upstream. testing more code.

* fix func_8013A854 to represent latest upstream

* remove unknown struct from common structs to this func

* this is a void func

* unknown struct should be an array with size based on mipstoc outpute a0 < 0x5A

* correct number of lines of asm output from diff, but all code does not match

* fix data types in UnkStructFromfunc8013A854

* temp_v0's logical shift needs to go after UnkStructFromfunc8013A854

* remove unneeded variables

* remove unneeded variables and adding inline sll multiple calc

* add UnkStructFromfunc8013A854 back to common structs

* add UnkStructFromfunc8013A854 back to common structs

* pull latest n64 splat

* analyzing func_8013AA9C to construct UnkStructFromfunc8013A854

* may need unions to represent sub structs in this unk

* roll back struct changes and focus on regalloc

* not an array of pointers looks like there's an array of 90 structs, each struct of size 0x7C

* got OK, now need to cleanup code

* Merge branch 'master' of https://github.com/ethteck/papermario into code_d0a70_len_4fe0-func_8013A854

# Conflicts:
#	tools/n64splat

* fix comment

* remove func_8013AA9C comment used during debug

* add placeholders unks in UnkStructFromfunc8013A854 based on func_8013AA9C

* add first 6 unks in D_80156954

* update todo, add some padding

* adding padding

* adjusting padding

* finished first implementation of padding for UnkStructFromfunc8013A854

* run ./coverage.py --delete-matched

* git checkout -f master && git pull for tools/star-rod

* several changes to UnkStruct8013A854:
* change name from UnkStructFromfunc8013A854 to UnkStruct8013A854
* only include known member data
* add list typedef since this is any arracy of structs

* fix UNKSTRUCT8013A854_SIZE const

* fix スプラトゥーン n64splat

* implement UnkStruct8013A854List to track which array we are pointing to in this unknown struct

* resolve PR feedback. todo resolve splat, review alex optimization:
* move unkstruct extern, struct, and size to code_d0a70_len_4fe0.c
* format void func_8013A854 variable spacing
* add unknown symbol D_80156954;0x80156954 to tools/symbol_addrs.txt

* try fix スプラトn64 with git checkout master && git pull

* fix lint

* move var declaration to inside if and format code

* remove todo comment

Co-authored-by: sonicspiral <>
Co-authored-by: sonicspiral <mru@plusultra.localdomain>
2020-10-19 00:15:04 -04:00
Ethan Roseman
56f2d04886 si_handle_bind\_🔒 2020-10-18 21:48:27 -04:00
Ethan Roseman
78dc55f2f5 some of world_goompa 2020-10-18 20:24:43 -04:00
Ethan Roseman
b71a05cd97 world_goombaria 2020-10-18 20:04:18 -04:00
Ethan Roseman
37856b1b54 2020-10-18 19:27:14 -04:00
Ethan Roseman
fa589f28f1 more 🐟 2020-10-18 18:16:42 -04:00
Ethan Roseman
a15a282a08 Thy cornucopia hath return! 2020-10-18 17:04:40 -04:00
Ethan Roseman
55e4a0df8f Nusys 1.0 -> 2.05, Makefile cleanup 2020-10-17 23:48:26 -04:00