Commit Graph

593 Commits

Author SHA1 Message Date
tom-overton cc0c11396f func_80AB36C4 OK 2021-11-11 10:57:09 -08:00
tom-overton 75b0dc05f6 func_80AB363C OK 2021-11-11 10:57:09 -08:00
tom-overton e3344dfe63 func_80AB3880 OK 2021-11-11 10:57:09 -08:00
tom-overton e92ac3cf13 func_80AB38B0 OK 2021-11-11 10:57:09 -08:00
tom-overton 4a50759cfd func_80AB39BC OK 2021-11-11 10:57:09 -08:00
tom-overton 4e78ab3a46 func_80AB3ED0 OK 2021-11-11 10:57:09 -08:00
tom-overton 9a364d85a0 func_80AB3A7C OK 2021-11-11 10:57:08 -08:00
tom-overton 1d84929f8c func_80AB3B34 OK 2021-11-11 10:57:08 -08:00
tom-overton 5f7301319d func_80AB3BD8 OK 2021-11-11 10:57:08 -08:00
tom-overton a8fff70463 func_80AB3BE8 OK 2021-11-11 10:57:08 -08:00
tom-overton a26105f358 func_80AB319C OK 2021-11-11 10:57:08 -08:00
tom-overton 5b62b69dd1 func_80AB4160 OK 2021-11-11 10:57:08 -08:00
tom-overton 6934a744ab func_80AB4080 OK 2021-11-11 10:57:08 -08:00
tom-overton b66c7b13e2 func_80AB3C50 OK 2021-11-11 10:57:08 -08:00
tom-overton a4cb7d2116 func_80AB3240 OK 2021-11-11 10:57:08 -08:00
tom-overton 4f28076dc7 func_80AB3CCC OK 2021-11-11 10:57:08 -08:00
tom-overton 42b3d4c2a3 func_80AB3010 OK 2021-11-11 10:57:08 -08:00
tom-overton d4d19c5b3e func_80AB4040 OK 2021-11-11 10:57:08 -08:00
tom-overton 8724507733 ObjTokeidai_Update OK 2021-11-11 10:57:08 -08:00
tom-overton a78df4ea07 func_80AB28C8 OK 2021-11-11 10:57:08 -08:00
tom-overton d0802acb84 func_80AB2790 OK 2021-11-11 10:57:08 -08:00
tom-overton 9033e73e83 func_80AB2834 OK 2021-11-11 10:57:08 -08:00
tom-overton f342801e4e func_80AB27B4 OK 2021-11-11 10:57:08 -08:00
tom-overton c267867f2d func_80AB29F8 OK 2021-11-11 10:57:08 -08:00
tom-overton a8595e8c25 func_80AB3BB0 OK 2021-11-11 10:57:08 -08:00
tom-overton 8c2f3aa082 func_80AB2BBC OK 2021-11-11 10:57:08 -08:00
tom-overton 8b0e9b4e2b ObjTokeidai_Destroy OK 2021-11-11 10:57:08 -08:00
tom-overton 927ccae9ea ObjTokeidai_Init OK 2021-11-11 10:57:08 -08:00
tom-overton 7f84189753 Migrate data to C 2021-11-11 10:57:08 -08:00
EllipticEllipsis 285381e662
vimgr OK (#421)
* vimgr OK

* spec

* OSIoMesg, add OS_MESG defines, other review

* Review
2021-11-11 15:30:31 -03:00
EllipticEllipsis b245740020
CRC files OK and documented (#409)
* crc.c OK and documented

* chmod calc_bss.sh and add base dir to includes

* Port voicecrc work, add documentation

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* Add full stop

* Review

* Format

* Add some more `!= 0`s

* size_t

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2021-11-11 15:03:05 -03:00
EllipticEllipsis 782b9277e2
pfsfilestate OK (#422)
* pfsfilestate OK

* Format

* Update src/libultra/io/pfsfilestate.c

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2021-11-11 14:16:40 -03:00
EllipticEllipsis 3ee6c43600
pfsdeletefile OK (#424)
* pfsdeletefile OK

* Update src/libultra/io/pfsdeletefile.c

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2021-11-11 13:42:53 -03:00
Anghelo Carvajal c018e83d36
Remove decomp-permuter (#447)
* Nuke decomp permuter

* Add decomp permuter and mips2c to gitignore
2021-11-11 12:46:18 -03:00
EllipticEllipsis 2e5c142f3b
pfschecker OK (#429)
* pfschecker OK

* Clean up contpfs a bit

* Add prototype to pfs.h

* Format

* Update src/libultra/io/pfschecker.c

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2021-11-11 12:29:22 -03:00
engineer124 d825ef5de1
Improve/Add Enums for Player, Items, and Quest (#275)
* Create enums (non-matching monkaBSS)

* Add effect enum

* Almost fix bss reordering (1 different word)

* Fix capacity

* Fully fix bss

* Add PlayerBoots

* PR Feedback & add missing playerForm enums

* Clean-Up

* Script to check global bss ordering

* Bit of cleanup

* Format

* Remove global_bss_check PR

* Fix bss

* Add enums to new PRs & previously missed ones

* Remove Effect Enums

* Missed one

* Format

* Remove old prevent_bss_reordering.h comments

* Use a better macro

* A few more uses of enums found

* Add enums to recent PRs

* Improve GI enums

* Add enums from new PRs

* PR Suggestions

* format

* Fix bss

* Fix mistake in GI

* No actually, part of it was correct before

Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
2021-11-11 12:04:57 -03:00
Connor Anderson 25c60c6911
Add multiprocessing to disassembly script (#449)
* Fix naming bug in disasm.py

* Factor out segment disassembly

* Add multiprocessing for disassembly

* Add multiprocessing for symbol discovery
2021-11-11 11:36:40 -03:00
EllipticEllipsis 30ff2e12b0
guS2DInitBg OK (#426) 2021-11-10 23:16:44 -05:00
EllipticEllipsis 304bfa443e
Transfer osViModes to C files (#438)
* Transfer osViModes to C files

* Finish spec

* Import data to and Improve vi.c

* spec, again

* Format

* Use defines for the types
2021-11-10 23:04:57 -05:00
EllipticEllipsis 29746156af
pfsisplug OK (#430)
* pfsisplug OK

* Remove duplicate struct

* Apply suggestions from code review

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2021-11-10 22:43:08 -05:00
kyleburnette 6b4c24014e
vigetcurrframebuf OK (#386)
* vigetcurrframebuf OK

* Renamed framep to buffer throughout repo

* Made tharo's suggestions

* Fix functions.h
2021-11-08 12:55:39 -03:00
Parker Burnett 77b9431f11
En_hakurock rOcK (#355)
* inital commit with a good chunk done

* adsjfkalsdfh

* can't figure this out for the life of me...

* I'll come back to this later

* not finished, but at least OKs

* blah, still stuck

* en_hakurock OK

* minor clean up

* formatting and pushing up changes

* fixing spec

* fixing warnings and addressing feedback

* addressing PR comments from engineer

* fixing enum

* format
2021-11-06 00:59:45 -03:00
Anghelo Carvajal 278ff4a4b3
`motor.c` OK (#397)
* use motor in the spec

* import bss

* Delete viextendvstart.c

* rename functions

* move stuff and format

* remove globals.h and ultra64.h

* Update src/libultra/io/motor.c

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>

* add motor.h to padmgr

* fix

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
2021-11-06 00:29:56 -03:00
Anghelo Carvajal e70a8fbb99
Add `stddef.h` and libc headers cleanup (#396)
* Move headers to include/libc

* stddef

* move math.h

* General cleanup

* move fabs, sqrtf and sqrt to math.h

* move alloca and assert

* whoops
2021-11-05 23:44:58 -03:00
Derek Hensley 49f55ff005
EnvFlags OK (#404)
* Matched

* Remove magic number

* Rename system to EnvFlags
2021-11-05 23:15:47 -03:00
EllipticEllipsis 2907da61c3
xlitob.c OK (#417)
* xlitob.c OK

* spec
2021-11-05 12:03:11 -03:00
Tom Overton c706b2be70
En_Baguo (Nejiron) OK and mostly documented (#351)
* Migrate data to C

* EnBaguo_Init OK

* EnBaguo_Destroy OK

* func_80A3B220 OK

* func_80A3B2CC OK

* func_80A3B2CC OK

* func_80A3B794 OK

* func_80A3B5E0 OK

* func_80A3B7B8 OK

* EnBaguo_Update OK

* func_80A3B8F8

* func_80A3BE24 OK, some other not-OK junk

* func_80A3BE60 OK (wow this is bad!)

* Document the blink system

* func_80A3C17C OK

* Document timer and fix warnings

* func_80A3C008 OK

* Rename x/y/z so it's clear they are positions

* func_80A3BE60 OK in a not-crazy way

* func_80A3B958 OK

* func_80A3BF0C OK

* Make the rotation a Vec3s

* Update the spec to use the built reloc

* Use ARRAY_COUNT instead of hardcoded length

* Document the state stuff

* Document NejironParticle

* Document the rolling rotation stuff

* unk_1BC -> maxDistanceFromHome

* unk_1B8 -> zRollDirection

* Name the two draw functions

* Name the static variables properly

* Name all other functions

* Clean up forward declares

* Last bit of documentation and cleanup

* Add an enum for the rolling direction

* Add explanatory comment

* state -> action and move action descriptions inline

* Use enum for Stone Mask

* Use "Setup" for the setup function

* Document the damage effect

* Add some space around the for-loop

* ./format.sh

* Use % 8 everywhere

* Use -= instead of += a negative number

* Switch order of max check

* Use CLEAR_TAG_POP enum value

* eyeIndexTemp -> eyeIndex

* visible -> isVisible

* Move enums above structs

* Merge animation system changes

* yDist fix

* Respond to review feedback
2021-11-05 10:14:22 -03:00
Maide 693c701025
Boss_02 (3 non-matching) (#324)
* Boss_02

* Fixups

* Warnings
2021-11-05 08:04:10 -04:00
Anghelo Carvajal fcb09f5e28
Texture alignment macros (#284)
* Add ALIGNED8

* Add designated initializer macro

* Update include/command_macros_base.h

Co-authored-by: rylieb <31797144+rylieb@users.noreply.github.com>

* Remove braces

Co-authored-by: rylieb <31797144+rylieb@users.noreply.github.com>
2021-11-04 20:36:02 -03:00
Maide 418e09bf6f
En_Floormas (#307)
* En_Floormas

* Format
2021-11-04 18:30:05 -04:00