summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
13 daysApply includes style to `src/code/z_[r-z].*.c` (#2824)Dragorn421
* Apply includes style to `src/code/z_[r-z].c` * fixup
2026-09-02z_scene Some comments and function names (#2808)djevangelia
* z_scene Some comments and function names * review changes * further fixing from comments * vromAddr --------- Co-authored-by: djevangelia <djevangelia>
2026-09-01Document an includes style, apply to z_demo.c and z_play.c (#2803)Dragorn421
* Document an includes style, apply to z_demo.c and z_play.c * "reverse" style includes * bss * clarify what a "main header" is * Update docs/includes.md Co-authored-by: Tharo <tharo10600@gmail.com> * Update docs/includes.md --------- Co-authored-by: Tharo <tharo10600@gmail.com>
2026-08-31[cc0 oot] object_zf and z_en_zf (#2791)Dragorn421
* [cc0 oot] object_zf and z_en_zf * fixups * ENZF_TYPE_LIZALFOS_PAIRED_ -> ENZF_TYPE_LIZALFOS_PAIRED_MINIBOSS_ * EnZf cleanup
2026-08-31Document pass on WaterBox code (#2695)mzxrules
* Document pass on WaterBox code * implement suggestions, missing comment --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-08-31[cc0 oot] z_vis* (#2782)Dragorn421
* [cc0 oot] z_vis* * bss * docs * fixup * further vis docs * add FbFilterType enum * bss * gfxP
2026-08-31[cc0 oot] EnFish (#2792)Dragorn421
* [cc0 oot] EnFish * bring changes to external files * EnFish actionFunc typedef * EnFish move variable assigns into decls * format
2026-08-31[cc0 oot] Biri (#2794)Dragorn421
* [cc0 oot] Biri * name biri anims (by usage, Z64Utils cant preview them) * fixup bari/biri mixup * EnBili cleanup * biri cleanup * biri: merge var ini with decl
2026-08-31gActorSetupDls (#2802)Derek Hensley
* gActorSetupXluDL * gActorSetupOpaDL * ACTOR_SETUP_OPA_DL * BSS * Some more usages of ACTOR_SETUP_OPA_DL * docs --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-08-31[cc0 oot] bowling things (#2793)Dragorn421
* [cc0 oot] bowling things * bowling fixups * bowling things cleanup
2026-08-31[cc0 oot] Bari (#2795)Dragorn421
* [cc0 oot] Bari * revert using biri params * EnVali cleanup * bari cleanup * bari cleanup
2026-08-31[cc0 oot] Keese (#2798)Dragorn421
* [cc0 oot] Keese * bodyType -> bodyElementalType * cleanup EnFirefly * keese cleanup
2026-08-31[cc0 oot] BgDyYoseizo (#2796)Dragorn421
* [cc0 oot] BgDyYoseizo * BgDyYoseizo small cleanup * bgdyyoseizo comment on D_80875440
2026-08-30Useful Eventchkinf flag renames (#2807)Olvivi
* Rename EVENTCHKINF 40, 45, 80, C7 * Rename EVENTCHKINF 40, 45, 80, C7 w format * updated save.h comment for accuracy Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Applied 'Zelda' to 'Zeldas' & 'Pulled' to 'Obtained' adjustments * EVENTCHKINF_INDEX_OBTAINED_ZELDA_LETTER -> EVENTCHKINF_INDEX_OBTAINED_ZELDAS_LETTER --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-08-29Document some bugs (#2806)Dragorn421
* `@bug UB` in Item_Give and Item_CheckObtainability * `@bug` on `envCtx->windSpeed` not initialized in Environment_Init
2026-08-19Document z_eff_ss_stone1.[ch] (#2670)Gabriel Ravier
* Document z_eff_ss_stone1.[ch] * Incorporate feedback from PR review. From https://github.com/zeldaret/oot/pull/2670: - Shortened excessively verbose suppressRTransFadeFlashAlphaStepAfterTwoFrames name to suppressFadeFlash - Fixed up comment that went waaaaaay beyond the column limit in z_eff_ss_stone1.h - Shortened comparison with 0 of variable bool semantics in z_eff_ss_stone1.c Signed-off-by: Gabriel Ravier <gabravier@gmail.com> * Fix misnaming from PR review and document some more From https://github.com/zeldaret/oot/pull/2670: - shortenFadeFlash is incorrect - renamed to freezeFadeFlash - Used `false` instead of 0 in EnArrow_Fly - Elaborated comments about what exactly freezeFadeFlash does Also added a few extra comments to z_eff_ss_stone1.c * Ran clang-format * More feedback from PR review, clarified comment From https://github.com/zeldaret/oot/pull/2670: - Change 0 to false in header comment - Remove verbose speculation about former use of unused variable - Made comment on use of viewDepth clearer - Separated matrix and gfx code with a newline Signed-off-by: Gabriel Ravier <gabravier@gmail.com> * Marked the "1500" as being in units --------- Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2026-08-19Document `EnIn` (AKA the hard-working Ingo) (#2778)Jordan Longstaff
* Document `EnIn` (AKA the hard-working Ingo) * Fix variable references * Revert switch * Rename race outcome functions for clarity * Apply suggestions
2026-08-19[cc0 oot] kanji_tex (#2784)Dragorn421
* [cc0 oot] "kanread" * format * document kanji_tex * fixup
2026-08-05[cc0 oot] z_memory_utils (#2783)Dragorn421
* [cc0 oot] z_memory_utils * format * doc * MemCopy: The memory regions must not overlap.
2026-08-05[cc0 oot] gameplay_keep (#2781)Dragorn421
* [cc0 oot] gameplay_keep * gFishIn{Air,Water}Anim
2026-08-04[cc0 oot] object_tp and z_en_tp (#2785)Dragorn421
* [cc0 oot] object_tp and z_en_tp * docs * fixup
2026-05-31Finish `EnNutsball` documentation (#2763)Jordan Longstaff
* Finish `EnNutsball` documentation * Rename things
2026-05-27Document `EnSa` (#2744)Jordan Longstaff
* Document `EnSa` * Rename INFTABLE entries * Animation set -> group * Remove trailing commas * Rename textState field * Remove trailing comma * Rename EVENTCHKINF flag * Correct frowning/closed swap of enum * Rename INFTABLE flag
2026-05-25Document DemoSa (Saria's cutscene actions) (#2669)Jordan Longstaff
* Document DemoSa (Saria's cutscene actions) * Add missing include * Add another missing include * Change struct to enum * add action enum comments to action funcs array * comment on `DemoSa_InitChamberOfSages` not setting action and relying on the struct being zerod * fixup demosa action enum numbering formatting * Rename Unknown -> Unused * Rename init function * Missed rename * Use `ANIMMODE` enum Co-authored-by: Copilot <copilot@github.com> * Remove redundant includes * Rename Ganon actions to SageAction * Rename sage-related actions * More renames * SageAction -> SageMagic * Restore duplicate eye/mouth enums * Minor style fixes * Better action function name matching --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: Copilot <copilot@github.com>
2026-05-23Document `EnHs` and `EnHs2` (Carpenter's son) (#2758)Jordan Longstaff
* Document `EnHs` and `EnHs2` (Carpenter's son) * focusOffset -> sFocusOffset * Rename tracking flag fields * Roll back subrepo changes * Remove comment on trackingFlags Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06Child Ruto Actions Part 6: Sitting (#2623)Jordan Longstaff
* Child Ruto Actions Part 6: Sitting * Format * Enum indices in comments * Remove trailing whitespace * Rename room number fields * Rename to EnRu1_UpdateBgCheckInfo * Revert "Rename to EnRu1_UpdateBgCheckInfo" This reverts commit 7926cfeeca3e27166e7eeebc65d6d6832a6d9202. * Rename to UpdateBouncing * Rename INFTABLE flags * Rename to actorIter * Remove unneeded parentheses * Rectify comments in `EnRu1_UpdateSittingAction` * Reformat * Proposed name changes * Change comment * Multiple reversions
2026-05-06BgSpot11Oasis: name functions and static variables (#2751)Nathan Casabieille
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06EnBox: name unknown functions and struct fields (#2749)Nathan Casabieille
* EnBox: name unknown functions and struct fields * ovl_En_Box: name ENBOX_TYPE_9/10, rename render mode DList functions * ovl_En_Box: formatting --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06BgSpot09Obj: document params type enum (#2747)Nathan Casabieille
* BgSpot09Obj: document params type enum * Address review comments - Remove "objects" from description (has specific meaning in Zelda64 engine) - Move BgSpot09ObjType enum to .h for use by external files - Replace return 0/1 literals with false/true in func_808B1AE0 - Fix enum comments: remove "visible" terminology, correct tent is adult-only --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06Document CIC6105 (#2739)Tharo
* Document CIC6105 * Changes, AUDIOMGR_DEBUG_LEVEL -> AUDIOMGR_ACTIVITY_LEVEL
2026-05-03Finish `EnDivingGame` documentation (#2733)Jordan Longstaff
* Finish `EnDivingGame` documentation * Rupee phase enum * Fix overlooked field rename * Shorten some field names for formatting * Reformat * Revert "unthrown Rupees" rename * Parenthesize textId conditions * Rename `GiveScale` functions * Rename `nextTextState` * Clang-format --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-03Fixups around textboxSegment (#2743)Dragorn421
2026-04-25Format extracted params: ObjSwitch (#2722)Dragorn421
* ObjSwitch params macros * format extracted ObjSwitch params
2026-04-24`Item_DropCollectibleRandom`: params macro and drop tables enum (#2707)Dragorn421
* `Item_DropCollectibleRandom`: params macro and drop tables enum * fixup
2026-04-24Rename NoteSubEu -> NoteSampleState (#2738)Tharo
2026-04-17Simplify or comment on the remaining complex render mode settings (#2713)Tharo
* Simplify or comment on the remaining complex render mode settings * Suggested changes * Format
2026-04-16Macro-ify access to pauseCtx->playerSegment regions (#2693)Tharo
* Macro-ify access to pauseCtx->playerSegment regions. Using macros to indicate which region in the player segment is being accessed makes the memory layout more obvious and indicates the intended level of memory ownership, particularly in the case of the texture image at the start of the segment. * Add clarifications for gameplay_keep details * Uniform macro name for the render texture * Comment
2026-04-13Finish `EnExRuppy` documentation (#2732)Jordan Longstaff
* Finish `EnExRuppy` documentation * Rename throw distance field * Move comments to enum type * Use `EnHeishi1` type for guard * Add comment on `EnHeishi1` supposition
2026-04-12Correct field offsets in header files (#2730)Philip Dubé
2026-04-07oot-gc-eu-dbg-2 OK (#2714)Dragorn421
* oot-gc-eu-dbg-proto OK * add gc-eu-dbg-proto to readme * mention overdump trimming for all debug roms * rename gc-eu-dbg-proto to gc-eu-dbg-2 Rationale: first version to make it into decomp (which should also be the first one that surfaces) gets an un-numbered version name, then the second version gets -2, and so on
2026-03-22Document bug where fog factors are not restored upon switching back from ↵Tharo
S2DEX2 after drawing a room background (#2725)
2026-03-21Comment more original names for audio functions from animal crossing (#2721)Tharo
* Comment more original names for audio functions from animal crossing * Drop delayparam, not original
2026-03-12Add `@bug` comment on an Actor_Spawn printf (#2717)Dragorn421
2026-03-02gc-eu-dbg OK (#2700)Dragorn421
* gc-eu-dbg OK * cleanup/fortify makefile and line_numbers.h changes * fill segments.csv * add gc-eu-dbg to Jenkinsfile * cleanup/fortify dmadata_table.h * add gc-eu-dbg to readme * fix checksum check and compressed checksum
2026-02-26Finish `EnMThunder` documentation (#2702)Jordan Longstaff
* Finish `EnMThunder` documentation * Boolean conversion * Hex to decimal conversions * Rename static variables
2026-02-25Make bool return values of SkelAnime_Update and LinkAnimation_Update clear ↵Tharo
(#2706) * Make bool return values of SkelAnime_Update and LinkAnimation_Update clear * formatting: empty line after decl --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-02-24Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep (#2703)Dragorn421
* Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep * bss
2026-02-22Fix F3DEX2 ucode name on N64 versions (not PosLight) (#2701)Dragorn421
* Fix F3DEX2 ucode name on N64 versions (not PosLight) * put the not-PosLight / PosLight differences under F3DEX_GBI_PL * revert bss changes
2026-02-22Fix misc 23 (#2699)Dragorn421
* remove noop macros Fault_SetFontColor Fault_SetCharPad under PLATFORM_N64 * remove duplicate declarations in sfx.h * use render mode presets more * decimal for alpha values * fix some z_camera comments typos * fix references to preprocess.sh (used to be preprocess.py) * remove outdated comment on deps in makefile * code_800AD920 was renamed to z_viszbuf * fix capitalization typo: gOcarinaofTimeDesignTex -> gOcarinaOfTimeDesignTex * fix typo: gLinkAdultEyesClosedfTex, gLinkChildEyesClosedfTex -> remove extra f * fix typo: gCrstalSwitchRedTex, gCrstalSwitchBlueTex -> gCrystal * fix PARAMS_GET_U amount of bits
2026-02-22Assets system: format extracted actor params (and EnDoor params) (#2698)Dragorn421
* Assets system: format extracted actor params (and EnDoor params) * and actor list too... * and actor list required inclues too... * ENDOOR_PARAMS_GENERAL, ENDOOR_PARAMS -> ENDOOR_PARAMS, ENDOOR_PARAMS_NODATA