summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2026-07-19Document a few symbols regarding the Ikana Canyon guard (#1868)HEADmainJordan Longstaff
* Document a few symbols regarding the Ikana Canyon guard * Use switch-case in lieu of temp * Reformat switch-case * Re-format switch-case, fix braces
2026-07-18Document `EnTest3` (#1881)Jordan Longstaff
* Document `EnTest3` * Add comments for enum-type fields * Add scheduled action index comments Co-authored-by: Copilot <copilot@github.com> * Use enums in comparisons * Rename `sp3C` * Rewrite comments on speak data Co-authored-by: Copilot <copilot@github.com> * Reformat * Missed a text comment * Missed another text comment --------- Co-authored-by: Copilot <copilot@github.com>
2026-07-18Bombers Part 3: `EnBombers` (#1849)Jordan Longstaff
* Bombers Part 3: Wandering NPCs and caught players * Rename WEEKEVENTREG flags * Fix missing rename of `unk_2A0`
2026-04-26Bombers Part 2: Guard (#1848)Jordan Longstaff
* Bombers Part 2: Guard * Fix errors * Re-rename functions
2026-04-21String macros (#1871)Derek Hensley
* PRINTF * T * fault * yaz0 * __osMalloc * audio_thread_manager * graph * padmgr * sched * z_play * z_arrow_ice * z_arrow_light * z_elf_msg * z_elf_msg3 * z_elf_msg4 * z_elf_msg5 * z_mir_ray * stackcheck * Include versions in macros.h * Fix workaround for permuter
2026-04-20[n64-jp-1.1] __osMalloc.c matched (#1845)Anghelo Carvajal
* match osmalloc * some names * format * Breakup osFree checks and move strings around * misc changes
2026-04-17Document `WEEKEVENTREG` enabling peephole in Curiosity Shop (#1870)Jordan Longstaff
2026-04-08Document `EnKendoJs` (#1838)Jordan Longstaff
* Document `EnKendoJs` * Fix typedefs * Fix isSlashingLog reference * Found out what that unused animation was * Rename animation constants * Rename WEEKEVENTREG flag * Remove trailing whitespaces * Fix uses of isSlashingLog * Rename Skel object * Deciphered FF part of params * Dismantle message enum * Remove mask message macro * Refactor message start macro * Rename text ID arrays * Use boolean values for isRetracting * Remove statement added by faulty merge * Rename message handler functions * Minigame round union for clarity
2026-03-26[n64-jp-1.1] CIC6105.c matched (#1843)Anghelo Carvajal
* match CIC6105.c * Renames and fixes * Fix bss * format * Review * Version check inequalities
2025-12-09Rename multiple variables in `MessageContext` (#1837)Jordan Longstaff
* Rename multiple variables in `MessageContext` * Fix errors * Better rename for price fields * Rename two more fields related to number inputs * More renames for text line positioning fields * Fix copy-paste error
2025-12-09Rename `WEEKEVENTREG_73_80` (#1842)Jordan Longstaff
2025-12-08Multiversion code support (n64-jp-1.1) (#1826)Derek Hensley
* setup n64-jp-1.1 disasm * Add versions * New microcode * Bootstrap z_sram * Bootstrap ovl_file_choose * Bootstrap kaleido scope * Bootstrap BgHeavyBlock * MessageContext shift * SaveContext shift * ItemId shift * Fix `PLAYER_CSACTION` shift * format * Add JP only to Heavy Block Description * Makefile multi version comment --------- Co-authored-by: Tom Overton <tom.overton@outlook.com>
2025-12-06Document textbox types, backgrounds and two related global array variables ↵Jordan Longstaff
(#1835) * Document `D_801CFC78`, `func_80150A84` and textbox types * Format * Textbox background enum * More enum usages * Rename D_801D03A8 * Fix value of TEXTBOX_BG_NONE * Convert background type enum to macros * Restore enum, fix BSS ordering * Rename to SetTextboxColor * More BSS fixing
2025-12-06Document `func_80148CBC` (#1836)Jordan Longstaff
* Document `func_80148CBC` * Add doc comment
2025-12-06`EnPoComposer` and `object_po_composer` further documented (#1833)Isghj
* PoComposer: some docs * PoComposer: the rest of the object documented * PoComposer: docs tweaked * PoComposer: missing weekevent reg in a schedule file wasnt found by rename script * PoComposer: document tweaks * PoComposer: forgot the texture name
2025-12-04Document `func_801514B0` (#1834)Jordan Longstaff
* Document `func_801514B0` * Add transformation enum reference * Rename to ShowDescription * Format
2025-11-09Correctly type the global char arrays in build.h as const (#1827)Gabriel Ravier
Given that these arrays are typed as const in in build.c (and in OOT's include/build.h), it seems logical to also type them as const here.
2025-08-29Switch to spimdisasm (#1822)Derek Hensley
* Switch to spimdisasm * Remove disasm step from Jenkins * PR Review * Update spimdisasm and macro.inc * jlabel visibility
2025-08-19Handwritten asm: OS functions, libm_vals (#1821)Tharo
* Handwritten asm: OS functions, libm_vals * rm hardware_regs.ld * andi -> and, addiu -> addu * CACHE macro
2025-08-16Handwritten asm: exceptasm, get/setintmask (#1819)Tharo
* Handwritten asm: exceptasm, get/setintmask * Fix maybe * Update warnings * Remove .global from jlabel * Move os_internal_rsp inclusion to os.h * Make HWINT_* defins consistent
2025-08-05Handwritten asm: Register getter/setter functions (#1815)Tharo
* Handwritten asm: Register getter/setter functions * Formatting fix
2025-07-31Handwritten asm build prep, add handwritten asm for the code segment (#1807)Tharo
* Convert entry.s to IDO, use objcopy instead of ipl3.s and audio/lib/stack.s, add handwritten asm for the code segment * Fix disasm, review comments * Other suggestions
2025-06-03Document Player's Face and z_actor FaceChange functions (#1777)engineer124
* player face docs * more docs * cleanup * toto * more comments * fix bss, names * better comment * PR, fix comment * fix bss * sEyeTextures comment * FaceChange_UpdateBlinkingNonHuman --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-05-25Some sequence 0 improvements (#1811)Tharo
* Some sequence 0 improvements * Fix writing s16
2025-03-24Remove us specific dmadata table (#1801)Derek Hensley
2025-03-04func_80183070 to Sys_Freeze (#1686)Ozero4
2025-03-03EffectSs Sync (#1799)Derek Hensley
* gEffectSsOverlayTable * Sync with OoT docs
2025-02-23Macroify MML opcodes (#1798)Dragorn421
* Macroify MML opcodes * format * sync w/ oot: shorten macro names, -DMML_VERSION in Makefile
2025-02-21Remove asm-processor in favor of preprocess.sh (#1760)Derek Hensley
* Remove asm-processor in favor of preprocess.sh * Remove duplicate CMD_F * preprocess_pragmas gitignore * Mac fixes * Macos + clang as cc check fixes * Need quotes for paths with spaces * Fix bss
2025-02-21Small sys_flashrom clean up (#1795)Derek Hensley
* sys_flashrom cleanup * Remove uncessary data word from function names * format
2025-02-16Misc FAKE fixes (#1783)Derek Hensley
* CutsceneCamera_UpdateSplines fake match * CutsceneCamera_Init -1 splineIndex * Eye Point comment * func_80B781DC better fake * func_80B32F04 * ObjSwitch_Update * ObjSwitch_InitTrisCollider * ObjAqua_Init * EnTrt_ItemGiven * func_80C10E98 partly * EnTest7_WarpCsWarp this to 1 * EnTest6_InvertedSoTCutscene better fake * EnTest6_DrawAmmoDropRupee * EnPoSisters_MatchPlayerY * func_8095B76C * EnMinifrog_Init * func_80A5C0B8 * EnKnight_UpdateEffects * EnKnight_FlyingHeadAttack * EnKakasi_Init * EnInvadepoh_ModelInfo_GetNextFaceAnim * BgAstrBombwall_InitCollider like func_809CE068 * Player_UpdateInterface * Player_CsAction_TranslateReverse * DynaPoly_AddBgActorToLookup better fake * CutsceneManager_FindEntranceCsId * func_800AE930 better fake * Math3D_CylVsLineSeg better fake * MapDisp_InitBossRoomStorey * Play_Init * EnTimeTag_Diary_Wait better fake * Remove fake label from Player_SwordFromIA * Player_PostLimbDrawGameplay partly * EffectBlure_AddVertex prev temp * Player_PostLimbDrawGameplay attempt 2 * AudioMgr_StopAllSfxExceptSystem * Camera_Normal0 * Camera_Jump2 * Camera_Normal3 * PR review
2025-01-27Extract Incbins (#1776)Derek Hensley
* extract incbins infastructure * rspboot incbin * rsptext incbin * rspdata incbin * aspMainStack incbin * ipl3 incbin
2025-01-27Misc Cleanup (#1782)Derek Hensley
* Remove some unnecessary casts in Graph_TaskSet00 * gGfxSPTaskYieldBuffer as u64 * gGfxSPTaskStack size macro * R_THREE_DAY_CLOCK_Y_POS set to negative number * scope cfb in Graph_TaskSet00 * Graph_ThreadEntry types * func_80124618 * SysCfb_SetHiResMode
2025-01-20Provide AVOID_UB for some bugs found in GCC compiler testing (#1785)Tharo
* Provide AVOID_UB for some bugs found in GCC compiler testing Co-authored-by: Fig02 <fig02srl@gmail.com> * Format * Fix silly typo * Mention MM3D in en_dnq bug comment --------- Co-authored-by: Fig02 <fig02srl@gmail.com>
2025-01-12Sync soundfont_compiler.c with recent OoT change, give automatic names to ↵Tharo
sequence 0 channels that implement sfx (#1784) * Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx * Fix bss
2024-12-28Match SysCfb_Init without extra symbols (#1780)Derek Hensley
2024-12-28Move D_80097508 out of system_heap.c (#1779)Derek Hensley
2024-12-22Check in makerom files (#1758)Tharo
* Check in makerom files * Fix disasm for asm files in src
2024-12-22bgcheck macros from OoT (#1774)Yanis
2024-12-22Apply the NORETURN attribute to functions that do not return (#1768)Tharo
* Apply the NORETURN attribute to functions that do not return * Add NORETURN to debug.c functions
2024-12-21Standardize "ActorMovement" over "ActorMove" (#1773)engineer124
* actor movement * cleanup * missed one
2024-12-21Move gAudioTatumInit and gAudioHeapInitSizes to their own file, using ↵Tharo
data-with-rodata instead of const qualifiers (#1771) * Do not qualify gAudioHeapInitSizes with const under AVOID_UB * Move gAudioTatumInit and gAudioHeapInitSizes to their own file, move data to rodata * Space
2024-12-19Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd ↵Tharo
to represent the start of the system heap (#1767)
2024-12-17Document Update Actor Flags (#1762)engineer124
* name flags, TODO: comments * comments * improve comments * small cleanup * cleanup comment
2024-12-15Document Culling (#1759)engineer124
* culling docs * cleanup * PR suggestions
2024-12-13libultra/libc cleanup (#1757)Tharo
* libultra/libc cleanup * Format * Correct prototype for strchr * Different prototypes for bzero, bcmp, bcopy under __GNUC__ to match builtin prototypes * Correct alloca prototype
2024-12-13[Audio 9/9] Loose ends (#1755)Tharo
* [Audio 9/9] Loose ends * Fix sampleconv memset bug * Doc updates from oot
2024-12-10Boss07 (Majora) OK and documented [mm-n64-us.z64 OK] (#1753)Tom Overton
* more matches * more functions * merge, I hope * wrath done-ish * 5 nonmatchings * more matchings * more improvements * more stuff * stuff * docs part 1 / infinity * more docs * . * more adjustments * linked assets * Document object_boss07 and match Boss07_Incarnation_Intro (thanks Synray!) * more stuff * play part 2 * lol merge * update * unk types * SWEET GOOGLY MOOGLY IT MATCHES * cam fixes * adjust damage stuff * if? * stuff * signs * macro stuff. clean up later * names * Some small cleanup * cleanup and docs * more cleanup * Wrath shadow docs * Use `EVENTINF_INTRO_CS_WATCHED_MAJORA` after merging * Update functions.txt * Types cleanup * Some low hanging fruit * Undefined_syms.txt * More static -> battle handler * Lots of naming cleanup * Remove z_boss_07_dmgtbl.inc The reasoning behind removing this file is simple; it wasn't all that long, so extracting it out to an included file didn't really add much, and it made refactoring and/or things much harder, since you needed to check in multiple places to change things. * Get most of the limb stuff named (and actually update the spec) * Some minor cleanup * Updating the repo with what we talked about in discord * Some syncing with Odolwa and other misc name stuff * Some Odolwa/Bio Baba sync * Another bit of Odolwa/Bio Baba sync * Name a lot of incarnation limb variables * Finalize the incarnation intro variable stuff * Fix a goof * `incarnationWrathTransition` variables * `generalCollider` and always use "tentacle" * Completely remove "shot," always use "projectile" * Clean up `Boss07_Mask_Draw` * Name `maskShakeTimer` * Give better names to a few more things * Some beam-related struct vars * undefined_syms * More beam names * More beam stuff * Beam, pt 100000 * Some intro struct members * Some timers * More non-beam stuff, back to beam * Done with beam finally * All but one of the subcam variables, some other stuff * Some variable names and cleanup * More cleanup * jumpSfxTimer -> landSfxTimer * actionState -> subAction and a little bit of syncing with Odolwa * A couple more variables sync * Buncha variables * Lots of non-whip variables * Commit what I have before starting on some of the grab stuff * All but one struct var done * Lots of header cleanup * Finish the header file * Fix build after merging main * Damage effect enums * Update damage effect enums for Incarnation and Wrath * Update damage effect enums for Mask and Remains * First pass at top damage effects * Do a few sub action enums so I have something to show * Fix the damage effect enums, clean up a lot of subaction enums * All remaining sub action enums, cleanup damage effect enums, other misc cleanup * Finish enums * Finish data * Push up what I have * Consistency * scroll -> texScroll * low hanging fruit * PR + small fix * Happy with >20% of functions * Happy with >40% of functions * Happy with >60% of functions * Happy with >75% of functions * Happy with >90% of functions * Happy with >95% of functions * Happy with `Boss07_Wrath_DeathCutscene` * Happy with `Boss07_Mask_FireBeam` * Happy with `Boss07_Wrath_CheckWhipCollisions` * Happy with everything but `Boss07_Mask_Draw` * Happy with all functions I think? * Clean up forward declarations * Write a half-decent file header * Fix after merging * Fix some minor stuff here and there * Minor fix in the file header because I forgot I renamed this * Respond to engineer's review * Respond to Anghelo's review * Replace as many actor lookups with for-loops as I can in Odolwa/Majora * Change the comment about the hookshot from a `@note` to a `@bug` * `drag` -> `deceleration` * Extra scopes for the matrix stuff in `Boss07_Mask_DrawBeam` * Use decimal numbers in the various `FillShadowTex` functions --------- Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain> Co-authored-by: petrie911 <pmontag@Monday.localdomain> Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: petrie911 <pmontag@PHYS-S129.iowa.uiowa.edu> Co-authored-by: petrie911 <petrie911@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
2024-12-05Document Light-Based Actor Flags (#1754)engineer124
* light flags template * first attempt * typo * improve names * improve comments
2024-12-02Player Docs: Slide on Slope (#1752)engineer124
* slide on slope * cleanup