mzxrules
acffd6443f
Documentation pass on WaterBox code ( #1860 )
...
* Documentation pass on WaterBox code
* format
* vtx flags, fix comments
* format
* Add function documentation comment
2026-08-29 08:44:47 -07:00
djevangelia
31b5e861b2
z_player Player_Action_DismountLadder ( #1883 )
...
* Player_Action_DismountLadder
* actionVar2 naming in setup
* Player_Action_DismountLadder format
---------
Co-authored-by: djevangelia <djevangelia>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
2026-08-28 07:39:11 -04:00
Derek Hensley
7ddfb60b04
gSetupActorDLs ( #1893 )
...
* D_801AEFA0 -> gActorEmtpyDL
* gActorSetupOpaDL
* gActorSetupXluDL
2026-08-28 07:15:23 -04:00
Jordan Longstaff
a6850d2149
Document a few symbols regarding the Ikana Canyon guard ( #1868 )
...
* 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-19 07:59:01 -07:00
Jordan Longstaff
5fd95d51f9
Document EnTest3 ( #1881 )
...
* 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-18 12:20:31 -07:00
Jordan Longstaff
29425bb7cf
Bombers Part 3: EnBombers ( #1849 )
...
* Bombers Part 3: Wandering NPCs and caught players
* Rename WEEKEVENTREG flags
* Fix missing rename of `unk_2A0`
2026-07-18 10:52:47 -07:00
Jordan Longstaff
354a8637e1
Bombers Part 2: Guard ( #1848 )
...
* Bombers Part 2: Guard
* Fix errors
* Re-rename functions
2026-04-26 09:59:30 -04:00
Derek Hensley
57e41795f5
String macros ( #1871 )
...
* 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-21 08:12:46 -04:00
Anghelo Carvajal
fa85e7cda5
[n64-jp-1.1] __osMalloc.c matched ( #1845 )
...
* match osmalloc
* some names
* format
* Breakup osFree checks and move strings around
* misc changes
2026-04-20 10:32:24 -07:00
Jordan Longstaff
9eb9f6f978
Document WEEKEVENTREG enabling peephole in Curiosity Shop ( #1870 )
2026-04-17 07:26:40 -04:00
Jordan Longstaff
33f8d3c62b
Document EnKendoJs ( #1838 )
...
* 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-04-08 07:34:59 -04:00
Anghelo Carvajal
a9da608e18
[n64-jp-1.1] CIC6105.c matched ( #1843 )
...
* match CIC6105.c
* Renames and fixes
* Fix bss
* format
* Review
* Version check inequalities
2026-03-26 07:59:39 -03:00
Jordan Longstaff
311cdd9db0
Rename multiple variables in MessageContext ( #1837 )
...
* 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-09 12:26:52 -03:00
Jordan Longstaff
18a8a1bea7
Rename WEEKEVENTREG_73_80 ( #1842 )
2025-12-09 08:22:23 -03:00
Derek Hensley
7b96e58622
Multiversion code support (n64-jp-1.1) ( #1826 )
...
* 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-08 21:11:07 -08:00
Jordan Longstaff
f6b17e2358
Document textbox types, backgrounds and two related global array variables ( #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-06 15:32:14 -08:00
Jordan Longstaff
f973883b06
Document func_80148CBC ( #1836 )
...
* Document `func_80148CBC`
* Add doc comment
2025-12-06 14:36:31 -08:00
Isghj
5898c3e2b0
EnPoComposer and object_po_composer further documented (#1833 )
...
* 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-06 12:03:15 -08:00
Jordan Longstaff
92be14f00e
Document func_801514B0 ( #1834 )
...
* Document `func_801514B0`
* Add transformation enum reference
* Rename to ShowDescription
* Format
2025-12-04 08:48:58 -03:00
Gabriel Ravier
7e800791a1
Correctly type the global char arrays in build.h as const ( #1827 )
...
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-11-09 11:12:50 -03:00
Derek Hensley
3b3b117100
Switch to spimdisasm ( #1822 )
...
* Switch to spimdisasm
* Remove disasm step from Jenkins
* PR Review
* Update spimdisasm and macro.inc
* jlabel visibility
2025-08-29 21:05:26 -07:00
Tharo
1d97f2ea08
Handwritten asm: OS functions, libm_vals ( #1821 )
...
* Handwritten asm: OS functions, libm_vals
* rm hardware_regs.ld
* andi -> and, addiu -> addu
* CACHE macro
2025-08-19 14:46:43 -04:00
Tharo
b1a50c2d1b
Handwritten asm: exceptasm, get/setintmask ( #1819 )
...
* 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-16 08:50:16 -04:00
Tharo
ce93b71b95
Handwritten asm: Register getter/setter functions ( #1815 )
...
* Handwritten asm: Register getter/setter functions
* Formatting fix
2025-08-05 12:13:47 -04:00
Tharo
43a3ad88dc
Handwritten asm build prep, add handwritten asm for the code segment ( #1807 )
...
* 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-07-31 13:00:42 -04:00
engineer124
d31ceacfdf
Document Player's Face and z_actor FaceChange functions ( #1777 )
...
* 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-06-03 18:59:25 -07:00
Tharo
ace4043d1a
Some sequence 0 improvements ( #1811 )
...
* Some sequence 0 improvements
* Fix writing s16
2025-05-25 22:48:29 -07:00
Derek Hensley
03f12527e1
Remove us specific dmadata table ( #1801 )
2025-03-24 11:01:04 -03:00
Ozero4
9213dc7a5e
func_80183070 to Sys_Freeze ( #1686 )
2025-03-04 19:06:23 -08:00
Derek Hensley
b9c7cbcbf6
EffectSs Sync ( #1799 )
...
* gEffectSsOverlayTable
* Sync with OoT docs
2025-03-03 13:22:56 -03:00
Dragorn421
679ae89099
Macroify MML opcodes ( #1798 )
...
* Macroify MML opcodes
* format
* sync w/ oot: shorten macro names, -DMML_VERSION in Makefile
2025-02-23 06:41:05 -08:00
Derek Hensley
61961fb938
Remove asm-processor in favor of preprocess.sh ( #1760 )
...
* 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-21 18:02:19 -08:00
Derek Hensley
8d9750652e
Small sys_flashrom clean up ( #1795 )
...
* sys_flashrom cleanup
* Remove uncessary data word from function names
* format
2025-02-21 17:00:11 -08:00
Derek Hensley
4780abbfd8
Misc FAKE fixes ( #1783 )
...
* 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-02-16 09:30:27 -08:00
Derek Hensley
c767f49455
Extract Incbins ( #1776 )
...
* extract incbins infastructure
* rspboot incbin
* rsptext incbin
* rspdata incbin
* aspMainStack incbin
* ipl3 incbin
2025-01-27 13:15:16 -03:00
Derek Hensley
982ca889e2
Misc Cleanup ( #1782 )
...
* 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-27 12:48:59 -03:00
Tharo
2b069011be
Provide AVOID_UB for some bugs found in GCC compiler testing ( #1785 )
...
* 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-20 19:52:03 -03:00
Tharo
e8e73fe771
Sync soundfont_compiler.c with recent OoT change, give automatic names to 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
2025-01-12 08:30:17 -08:00
Derek Hensley
385c45ad48
Match SysCfb_Init without extra symbols ( #1780 )
2024-12-28 08:47:11 -03:00
Derek Hensley
da09352606
Move D_80097508 out of system_heap.c ( #1779 )
2024-12-28 08:27:25 -03:00
Tharo
06b06ab507
Check in makerom files ( #1758 )
...
* Check in makerom files
* Fix disasm for asm files in src
2024-12-22 15:48:13 -08:00
Yanis
187e75c441
bgcheck macros from OoT ( #1774 )
2024-12-22 15:34:35 -08:00
Tharo
2a152a9676
Apply the NORETURN attribute to functions that do not return ( #1768 )
...
* Apply the NORETURN attribute to functions that do not return
* Add NORETURN to debug.c functions
2024-12-22 15:24:47 -08:00
engineer124
4724a2b7fe
Standardize "ActorMovement" over "ActorMove" ( #1773 )
...
* actor movement
* cleanup
* missed one
2024-12-21 14:15:10 +11:00
Tharo
5a9c2871ed
Move gAudioTatumInit and gAudioHeapInitSizes to their own file, using 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-21 12:41:28 +11:00
Tharo
047c505b96
Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd to represent the start of the system heap ( #1767 )
2024-12-19 16:38:44 +11:00
engineer124
a6675d7327
Document Update Actor Flags ( #1762 )
...
* name flags, TODO: comments
* comments
* improve comments
* small cleanup
* cleanup comment
2024-12-17 13:18:56 -08:00
engineer124
6156df5fee
Document Culling ( #1759 )
...
* culling docs
* cleanup
* PR suggestions
2024-12-15 19:11:29 +11:00
Tharo
01a1b113b4
libultra/libc cleanup ( #1757 )
...
* 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 18:28:22 -08:00
Tharo
fc8d1165c8
[Audio 9/9] Loose ends ( #1755 )
...
* [Audio 9/9] Loose ends
* Fix sampleconv memset bug
* Doc updates from oot
2024-12-13 16:27:45 -08:00