* Obj_Mine
* Obj_Mine
* Fixups
* Nonmatchings + cleanup
* Small cleanup
* externs
* structs complete
* wew
* some docs. still baffling
* documented physics stuff
* docs. physics be wack
* forgot some things
* format
* more cleanup
* merge and such
* format
* more format and cleanup
* asm stuff
* Update src/overlays/actors/ovl_Obj_Mine/z_obj_mine.c
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* now with decomp.me
* removed some extraneous macros I didn't end up using
* fixes and formats
* merge
* my god, it matches
* format
* removed macros
* more fixes
* format
* format
---------
Co-authored-by: Maide <eeeedddccc@hotmail.co.uk>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: petrie911 <petrie911@users.noreply.github.com>
Co-authored-by: petrie911 <pmontag@Monday.localdomain>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* EnDt deecomp first pass, two nonmatching
* Some cleanup, got the big boy matching
* Some light cleanup, documenting blinking behaviour
* Fixed last non-matching with some permuter silliness
* Decompilation complete
* Mayor documentation, first pass
* Updating some unknown vars in baisen
* Added an enum for mayor's cutscene state
* Formatting pass for mayor
* Cleaning up unk var in mayor meeting method
* Some cleanup and changes based on PR feedback
* Another cleanup and fix pass based on PR feedback
* Updated mayor event flags according to their usage
* All the parentheses
* Another round of PR feedback cleanup
* Having another crack at naming/cleanup based on PR feedback
* Renaming animation symbols
* Fixing broken references in other actors from anim rename
---------
Co-authored-by: GinNoOokami <noreply>
* Fix struct
* 20/79 OK
* BossHakugin_Draw OK
* func_80B0D69C OK
* func_80B0D2B8 OK
* func_80B0D750 OK
* Shadow function docs
* Fix some non-matchings
* Apparently this matches now? It didn't before
* OverrideLimbDraw OK
* BossHakugin_PostLimbDraw
* Animation Cleanup: En_G* (#1395)
* wip
* more cleanup
* more cleanup
* one more thing
* one more default case
* missed brackets
* PR Review
* add more matches and fill stuct
* 3 more Draw functions
* func_80B0E5A4
* Finshed the Draw functions
* Small cleanup
* Most of the death-handling code done
* more matching
* functions
* Goht collab (#9)
* Animation Cleanup: En_G* (#1395)
* wip
* more cleanup
* more cleanup
* one more thing
* one more default case
* missed brackets
* PR Review
* z_message_nes (1 NON_MATCHING) (#1394)
* Bring over progress
* Some docs
* scratch urls + format
* Fixes
* Match Message_DrawTextNES
* String macros
* color structs
* Document object_mk (#1389)
* Updated object_mk animation, limb, and skeleton names
* Updated object_mk texture and DList names
* Added comment to object_mk.xml
* Remove "ing" from Anim names
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update z_en_mk.c to not use "ing" in names
* Running formatter
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Player Docs: Initial framework for "Action Change Lists" (#1397)
* copy fig docs
* adjust wording
* another fix
* fix bool
* PR Suggestion
* Animation Cleanup: En_H* (#1399)
* begin H
* more cleanup
* Animation Cleanup: En_I* (#1400)
* cleanup I
* oops
* Start Player Item Docs (#1396)
* Copy Fig Docs
* small cleanup
* ItemChangeType comment
* bool
* item change comments
* PR Review
* rm comments
* Animation Cleanup: En_K* (#1402)
* cleanup k
* one more name
* Animation Cleanup: En_J* (#1401)
* cleanup J
* small fix
* functions
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Zach North <zrnorth@gmail.com>
Co-authored-by: petrie911 <pmontag@Monday.localdomain>
* hotfix
* all functions decomped
* all functions decomped
* Now with more data
* small fix
* another small fix
* ok last small fix I swear
* cleanup
* func_80B0A8C4 OK
* func_80B0D9CC OK
* Use generated reloc for Goht + remove Goht's undefined_syms
* Bodyparts + other clean up
* cleanup
* oops
* fix merge
* begin docs
* fix merge
* cutscene docs
* effects docs
* small docs
* Document colliders
* Odds and ends in the struct
* Name some functions
* Name two functions
* Some action functions and other odds and ends
* Name the lightning segments and electric ball functions correctly
* Names and other cleanup
* Start on hakurock + more cleanup
* Name all hakurock functions
* Name hakurock effects + create a GET_TYPE macro for it
* Finish documenting Hakurock
* Name one more function in BossHakugin
* Name a few more things
* Name a lot of struct vars
* Wall-related stuff
* Fix some fake matches
* Name a couple more struct vars
* Document some more of the struct
* Name the limb flag stuff
* Name the last unnamed struct vars
* Name the horn colliders correctly
* Some initial work on documenting data
* Some function documentation
* A couple of cleanups
* Finish documenting BossHakugin_UpdateBaseRot
* Name BossHakugin_SetLightningSegmentColliderVertices
* Document BossHakugin_AddLightningSegments
* Document BossHakugin_RunUpdateCommon and related functions
* Document BossHakugin_AddMalfunctionEffects
* Document BossHakugin_StepVectorToTarget
* Rename to BossHakugin_StepVector
* Finish documenting BossHakugin_AddMalfunctionEffects for now, might come back later though
* Document BossHakugin_UpdateSubCam
* Document BossHakugin_Thaw
* Document BossHakugin_ChargeUpAttack
* Some scattered docs
* Finish documenting the top "library" functions
* Document intro cutscene functions
* Document running and charging
* Document downed
* Document throwing
* Document remaining non-death action functions
* Document most of the death cutscene
* Get started on documenting crushing rocks
* Separate out the crushing rocks into their own struct
* Document the ExplosionLimbHideInfo
* Finish documenting BossHakugin_DeathCutsceneCrushedByRocks
* Almost done with rocks I think
* Port over Odolwa shadow documentation
* Finish documenting draw functions
* Finish documenting BossHakugin_Update
* Name variables in BossHakugin_UpdateElectricBalls
* Document BossHakugin_CheckForBodyColliderHit
* Finish documenting BossHakugin_UpdateDamage
* I've convinced myself these names are fine
* Almost finish documenting every update function
* Remove TODOs from the header
* Finish documenting the C file
* Delete duplicate define
* Finish variables.txt for Goht
* Undo change that desync'd z_eff_ss_fhg_flash.h from other effect headers
* Missed a THIS
* Some low-hanging review responses
* Add comment explaining something in BossHakugin_ShouldWait
* Match BossHakugin_SpawnLargeStalactiteWalls using a for-loop
* Create GOHT_ELECTRIC_BALL_COUNT_MAX constant
* vector -> norm and targetVector -> targetNorm
* Add TODO comments for dynamic shadow functions
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Parker B <20159000+jpburnett@users.noreply.github.com>
Co-authored-by: petrie911 <pmontag@Monday.localdomain>
Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
Co-authored-by: Zach North <zrnorth@gmail.com>
Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
* Some Decoder WIPs
* Improvements
* POC
* Fix bss
* another newline
* Staff OK
* Cleanup + fix progress script
* script cleanup
* Some docs
* makefile
* Extract text from extract_assets.py
* More docs
* Even more docs
* Other message assets
* Small cleanups
* Clean up decoders/encoders
* Message_SetupLoadItemIcon -> Message_DecodeHeader
* Some more docs
* Remove mkdmadata
* Fade Skippable
* More cmd docs
* 1 left
* Last notes
* HS_TIMER -> HS_TIME
* More general docs
* Format
* Note the charmap conversion for buttons in message_data_fmt_nes.h
* Remove trailing whitespace
* Small fixes
* PR
* data
* OK
* small docs
* docs
* Reloc
* Format
* this could have been a constexpr
* fix bss
* the rest of the fixes
* format
* revert makefile and clangformat
* comments
* Matching dmatable
* Generate NON_MATCHING dmadata
* Clean up dmamgr
* Format
* Ignore tools/buildtools/mkdmadata
* Warnings
* Use SYMS flag instead of segment name
* PR + more notes
* PR cleanups
* Move qrand to libc64
* use an union to avoid type punning
* __osMalloc
* math64.c
* fixed_point.h
* sleep
* aprintf.h
* sprintf
* malloc
* use original names on aprintf.c and malloc.c
* qrand cleanup pass
* use original names of sleep.c
* og names for sprintf
* more cleanup
* format
* fixes
* whoops
* use ARRAY_COUNT again
* comment
* Use `fu`
* forgot this one
* review
* fix
* sneak a tiny cleanup
* make segments for the systemheap and the framebuffers
* define in the makefile
* undefined syms
* Make segments for the pre boot buffers too
* Update spec
Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>
* review
* Update spec
Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>
* Update Makefile
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* comments
* comment
* move comment about the hardcoded address to buffers.h
* rewrite SYSTEM_HEAP_END_ADDR in terms of other symbols
* Use `ALIGNED` on all the buffers
* Rename SYSTEM_HEAP_END_ADDR to FRAMEBUFFERS_START_ADDR
* Put ALIGNED at the right like the rest of the codebase
* merge
* gLoBuffer
* gHiBuffer
* Add a static assert to ensure the address of gHiBuffer haven't shifted without the user noticing
* smol include cleanup
---------
Co-authored-by: Parker <20159000+jpburnett@users.noreply.github.com>
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* Init, Destroy, Update, easy actions
* Just the hard 3 + 1 left
* One left
* OK
Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
* Data/bss in, extract colheader
* Clean up externs
* Better match for func_809EECBC
* Sfx
* Lot of naming
* fix build
* Name skel stuff
* name limbdraws
* name colliders
* Document `object_boss05`
* Port some names from Odolwa
* Name bio baba types (and relatedly clean up EnPp)
* Better names for the LimbDraw functions + some related vars
* Name all functions
* Name a lot of struct vars
* Colliders and body parts
* Name all struct vars (might come back for a few of these though)
* Name most stack vars
* Fragment states, ice data
* Limb rot index
* Damage effects
* Enum for hit reactions
* Enums for movement state/attack state
* Finish up
* Missed this in EnPp
* Respond to reviews
* Fix comment
* Reverse order for postlimbdraw, etc. functions
* Remove blank line at the top
* Respond to review
* Make a "getter" macro for the force detach timer
* Respond to review
---------
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
Co-authored-by: angie <angheloalf95@gmail.com>
* Add Tharo's documentation comments
* Voice progress
* Match osVoiceControlGain
* Match osVoiceStartReadData
* Cleanup
* Add docs from n64devkit
* WIP on osVoiceGetReadData
* Add comment
* Match voiceinit.c
* Remove CONT_ERR, already present in controller.h
* Really close to matching osVoiceStopReadData
* Progress on voicecheckword
* Match osVoiceSetWord
* Add error codes
* Matched __osVoiceContRead2... Somehow...
* Add small amount of docs
* __osVoiceContRead36 was basically identical from __osVoiceContRead2
* docs, but maybe a little carried away
* Match __osVoiceContWrite4, Write is very similar to Read
* Match __osVoiceContWrite20 from __osVoiceContWrite4, ez
* Some docs
* Improve osVoiceGetReadData
* Match osVoiceCheckWord
* currentSyllable -> currSyllable
* Match osVoiceMaskDictionary
* Match __osVoiceSetADConverter
* Meme matched osVoiceStopReadData
* small cleanup
* Missed macros
* osVoiceGetReadData Meme Match
* Small clean-up
* format
* Properly split voice files from code
* Use proper flags for voice files
* Add basic docs for func_801A5AF0
* Import Voice Data
* Update matching functions in code_801A51F0 from audio WIP
* Update matching functions in code_801A4EB0 from audio WIP
* Match func_801A5A1C
* Match func_801A5228
* Match func_801A54D0
* Doc padmgr functions used
* Match func_801A5680, it's near identical to func_801A54D0
* code_801A51F0 OK
* Match func_801A4EB8
* Match func_801A4FD8 (mips2c got it matching directly)
* code_801A4EB0 & all of voice, OK
* Import bss
* Better match for func_801A5A1C
* format
* Cleanup
* Clean up dictionary
* Introduce OSVoiceDictionary
* More voice docs
* Fix bss
* Import code_801A4EB0 data
* Introduce Word Id enum
* Dictionary: u8 -> u16
* Introduce bgms
* Fill in bgm enums
* Rename bgm to clearer names
* Fix spacing
* Fix "No_Music" define
* remove comment
* import rodata
* Improve bgm names, found another seqId function
* Another seqId function
* Another name change
* Woods of Mystery -> Sarias Song
* Fix match in osVoiceControlGain
* Fix bss reordering
* Fix bss file split
* add saria's song bgm to pierre
* Another bgm function found!
* Add bgm's to `gSaveContext.seqIndex`
* Fix BSS
* fix bss
* Fix bss
* cleanup
* more cleanup
* cow voice weekeventflag
* small cleanup
* some docs
* cleanup var
* global
* more docs
* PR Review
---------
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* match first couple of funcs
* Attempt all functions
* add flags, func_80930190 OK
* z_en_honotrap OK
* clean things up
* implement most suggestions
* space out OPEN/CLOSE_DISP
* more improvements
* implement suggestions
* implement alf suggestions
* u substitution
* nitpicky
* format
* Boss01 (Odolwa) OK and documented
* Unify existing InitRand implementations
* Remove newlines after `// fallthrough`
* Respond to the rest of engineer's review
* Respond to most of anon's review
* Try to comment the shadow thing correctly
* Fix boss_01 after merge
* SEGMENTED_TO_VIRTUAL -> SEGMENTED_TO_K0
* Review
* Use DMG_SWORD_BEAM and update the comment in z64collision_check.h
* Respond to engineer's review
* os symbols
* various variables
* more variables
* more cleanup
* yeet HW_REG
* OS_PHYSICAL_TO_K0 and other cleanups
* Rename r4300.h
* migrate pimgr data and cleanup on initialize.c
* rename osFlash symbols
* cleanup gu
* vimodes
* yeet rmon, do libc files
* some os files
* hardwareinterrupt
* cleanup a lot of os files
* cleanup osVirtualToPhysical
* various io files
* another io chunk
* final io chunk
* yeet hardware.h
* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL
* fix typo
* fix merge
* remove global.h from libultra files
* fixes and format
* brief explanation
* review
* review
* review
* review
* SEGMENTED_TO_K0
* Revert "SEGMENTED_TO_K0"
This reverts commit f8d62d670f.
* take two
* bss
* bss
* update makeyar.c
* xmls
* commit c files
* remove paddings and update the spec
* Tell ZAPD to not generate C files for the 2 problematic XMLs
* Rename symbols to follow style
* cleanup the generated files a bit
* comment on makeyar
* fix distclean deleting the `assets/c/` files
* actually fix distclean
* OK, start documentation
* More documentation
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Decompile func_80167F0C
* FbdemoWipe4 OK and documented
* Mark bug in Wipe4
* More docs
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Mark bug
* Few more notes
* Fix function in Play
* Format
* Review
* Name Play_PostWorldDraw
* functions.h...
* Revert func_80167F0C
* Review
* functions.h
* Review
* Update Wipe4
* Rename system
* Format
* Put skeleton back in the cupboard
* bss
* Fix build
* rename to z_visfbuf
* review
* format
* bss
* some bss cleanup
* review
* bss
* review
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: angie <angheloalf95@gmail.com>