Commit Graph

1621 Commits

Author SHA1 Message Date
Ozero4 710e1a7d50 Document EnInsect (#1861)
* Document `EnInsect`

* Rename ENINSECT_GET_1 to ENINSECT_GET_INIT_FLAGS

* Keep values in hex

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Apply reviews in EnInsect

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2026-10-20 18:33:26 -07:00
Alexis Cooper bf6bd9d0d3 Document EnToto (#1887)
* Start documenting Toto

* Document EnToto_IsFacingPlayer and Unk2B6/isPlayerCancelingSoundCheck

* Rename EnTotoText to EnTotoSpeakData to align with EnTest3 (Kafei)

* Update gitignore

* Document some HandleTalk and SetupTalk functions similar to EnTest3

* Rename D_80BA502C to sEnTotoSpeakData1

* Document TalkState setup funcs

* Update gitignore, document talk state update functions (from En_Test3)

* Toto talk loop animations

* Update gitignore for functions.txt

* Document ActionFuncs

* Clean up remaining undocumented variables

* Clean up comments

* Run format.py and clean up result, and revert makefile changes

* Add missing newline at end of z_en_toto.h

* Clean up gitignore and other local stuff

* gitignore again

* Gitignore again again

* Gitignore again again again

* Restore old graphovl.py

* Update include/z64save.h

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>

* Update src/overlays/actors/ovl_En_Toto/z_en_toto.c

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>

* Rename SetupAction and Action functions; fix block comments; create enum for TalkData

* move enum up so it's declared before it's used lol

* Change shouldCancelSoundCheck and ShouldPlaySoundCheckCompleteCutscene to bool

* Run format.py even though it makes the SpeakData array less readable yay

* Remove accidentally pushed files

* Enum for SpeakDataIndex

* SpeakDataIndex

* Index into SpeakData with enums

* Apply requested changes

* Apply clang-format

* Apply requested changes (rename SetPlayedFlags, add formsPlayed enum, fix a few missing enum replacements)

* Change enum to macros

* Apply more suggested changes

---------

Co-authored-by: AlexisACooper1 <alexis@lingualogica.net>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2026-10-10 19:53:23 -07:00
Derek Hensley 6e5fb93dde Another small misc Cleanup (#1906)
* Scene_CommandAltHeaderList

* Scene_CommandWindSettings

* Scene_CommandCollisionHeader

* EnMkk_Draw float

* func_8012F73C

* Object_UpdateEntries

* GET_PLAYER_ANIM

* KaleidoSetup_Update combine ifs

* KaleidoManager_GetRamAddr

* func_800F4A10 OWL_WARP_CLOCK_TOWN

* Rand_Next modulus instead of and

* Rand_Next s16 casts back to & 0xFFFF

* Player_InitItemActionWithAnim review suggestion

* KaleidoSetup_Update review

* func_8012F73C review

* Revert "GET_PLAYER_ANIM"

This reverts commit 3c6fb061eb.
2026-10-09 08:47:01 -03:00
Derek Hensley 56fa21dd00 [n64-jp-1.1] code files (#1900)
* [n64-jp-1.1] build OK

* [n64-jp-1.1] flg_set OK

* [n64-jp-1.1] game OK

* [n64-jp-1.1] graph OK (except bss)

* [n64-jp-1.1] main OK

* [n64-jp-1.1] padmgr OK

* [n64-jp-1.1] cmpdma OK

* [n64-jp-1.1] sys_freeze OK

* [n64-jp-1.1] sys_initial_check OK

* [n64-jp-1.1] sys_slowly OK

* [n64-jp-1.1] title_setup OK

* [n64-jp-1.1 z_DLF OK]

* [n64-jp-1.1] actor OK

* [n64-jp-1.1] bgcheck OK

* [n64-jp-1.1] collision btltbls OK

* [n64-jp-1.1] collision check OK

* [n64-jp-1.1] common_data OK

* [n64-jp-1.1] debug mode OK

* [n64-jp-1.1] demo OK

* [n64-jp-1.1] effect_soft_sprite OK

* Review suggestions
2026-09-26 14:38:01 -07:00
Derek Hensley ca6d0c227e OBJECT_UNSET_0 -> OBJECT_INVALID (#1908) 2026-09-23 20:46:36 -07:00
Jordan Longstaff a0436bd197 Enum for boss remains in blue warp (#1907)
* Enum for boss remains in blue warp

* Enum offset macros

* Rearrange enum subtraction

* DmHina enum
2026-09-23 20:24:35 -07:00
Jordan Longstaff 0365728815 Fisherman documentation (#1905)
* Fisherman documentation

* Rename eye texture arry, create indexing enum

* Apply many suggestions

* Missed eye texture renames

* More suggestions

* Change and to modulus
2026-09-20 10:22:21 -03:00
Jordan Longstaff 8abe023044 Document player transformation mask flags (#1904) 2026-09-20 09:58:30 -03:00
Jordan Longstaff 4a8851c7fb Document ObjLupygamelift (#1903)
* Document `ObjLupygamelift`

* Suggestions

* More enum usages

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2026-09-20 09:52:05 -03:00
Derek Hensley 486055ebec [n64-jp-1.1] irqmgr (#1876)
* [n64-jp-1.1] irqmgr

* Remove IRQMGR_PRINTF

* US is fine with the extra if 1s
2026-09-02 20:29:47 -07:00
Derek Hensley c85914172b [n64-jp-1.1] yaz0 (#1878)
* [n64-jp-1.1] yaz0

* PR suggestions
2026-09-02 19:59:34 -07:00
Derek Hensley 395be304f2 Overwrite PRINTF instead of whole new macros (#1899) 2026-08-30 10:08:27 -04:00
mzxrules 49afa18da0 split headers z_en_item00.h, z_en_a_keep.h, z64draw.h (#1897) 2026-08-30 09:56:09 -04:00
Dragorn421 ff5b97216d gActorSetup{Opa,Xlu}DL docs (#1898) 2026-08-30 09:49:30 -04:00
Derek Hensley 794ae59315 [n64-jp-1.1] libu64/rcp_utils (#1877) 2026-08-29 15:19:33 -07:00
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
Derek Hensley 5464daad84 [n64-jp-1.1] libu64/gfxprint (#1874) 2026-08-26 17:15:36 -07:00
Derek Hensley 0b4547d329 [n64-jp-1.1] Boss03 (#1872)
* [n64-jp-1.1] Boss03

* PR suggestions
2026-08-25 19:56:01 -07: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 ae6e93fcf9 Document BgIknvDoukutu (#1867) 2026-07-18 11:25:26 -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
Derek Hensley f1a423cdcd [n64-jp-1.1] audio_thread_manager (#1880) 2026-05-27 07:33:10 -07:00
Jordan Longstaff 49cd9aeb99 Document ObjWturn (#1866) 2026-04-28 08:38:43 -04:00
Derek Hensley b2c66163c7 [n64-jp-1.1] idle (#1875) 2026-04-28 08:21:02 -04:00
Derek Hensley 6c2e0113f8 [n64-jp-1.1] libu64/debug (#1873) 2026-04-26 10:55:04 -04:00
Derek Hensley 1ba2815d09 [n64-jp-1.1] z_std_dma (#1879) 2026-04-26 10:47:19 -04: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
Isghj ffc67c3e0a EnPr2 Skullfish documented (#1830)
* Pr2: some docs, first struct pass

* Pr2: Most functions named

* Pr2: more docs

* Pr2: object documented

* Pr2: object documented

* Pr2: format

* Pr2: more docs, format

* Pr2: requested changes

* Pr2: requested changes

* Pr2: forgot prz used the object too

* Pr2: more skelton limb enum changes

* Pr2: removed old comment
2026-04-19 09:35:39 -07:00
Jordan Longstaff 9eb9f6f978 Document WEEKEVENTREG enabling peephole in Curiosity Shop (#1870) 2026-04-17 07:26:40 -04:00
Jordan Longstaff 215f01d670 Document BgAstrBombwall (#1865) 2026-04-09 07:47:28 -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 04d96d3d34 Bombers Part 1: Rename (used) assets (#1847)
* Bombers Part 1: Rename (used) assets

* Fix duplicate definition

* Suggested renames
2026-02-18 07:53:53 -03:00
Tom Overton 6a2658058a Match various Bg_*_Bombwall actors for JP 1.1 (#1856) 2026-02-10 08:57:12 -03:00
Tom Overton b826285986 Match Bg_Fire_Wall for JP 1.1 (#1855) 2026-02-10 08:10:28 -03:00
Tom Overton 1ffe903d31 Match Bg_F40_Switch for JP 1.1 (#1854)
* Match `Bg_F40_Switch` for JP 1.1

* Put some data and BSS behind the version flag too

* Delete comment
2026-02-10 07:59:32 -03:00
Tom Overton 035595f37c Match Bg_Ingate for JP 1.1 (#1857) 2026-02-09 08:09:31 -03:00
Tom Overton 25e34ec140 Match Bg_Dblue_Balance for JP 1.1 (#1853)
* Match `Bg_Dblue_Balance` for JP 1.1

* Respond to review
2026-02-09 08:00:10 -03:00
Tom Overton ad7a80cb8f Match Bg_Crace_Movebg for JP 1.1 (#1852) 2026-02-05 08:19:11 -03:00
Anghelo Carvajal d358e1d213 [n64-jp-1.1] stackcheck.c matched (#1844)
* Match stackcheck

* format

* review
2026-02-04 20:22:56 -08:00
Jordan Longstaff 505f4b65c8 Rename globals related to textbox and icon scaling (#1846) 2026-02-04 19:29:12 -08:00
Tom Overton cb828147e1 Match Boss_Hakugin for JP 1.1 (#1851) 2026-02-04 08:35:28 -03:00
Jordan Longstaff 0877ce4adf Document EnMaruta (#1839)
* Document `EnMaruta`

* Document type from params

* Rename display lists properly

* Format

* Add ASCII picture to explain DL array

* Use boolean values for isRetracting

* Shorten name of zero vector

* Rename to gPracticeLogWholeDL

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>

* Forgot to rename the other reference

* Rename to SetupRiseThroughFloor

* Add comments marking "on floor setup" as theory-only

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-12-15 07:29:53 -03:00
Jordan Longstaff b84d745393 Name four global variables in z_message.c (#1832)
* Name static arrays for SoDT skip message IDs

* Rename two more static variables

* Convert hex drop thresholds to decimal

* Rename to text IDs
2025-12-13 17:04:05 -03:00
Jordan Longstaff 508d8bb07a Document number input display and control functions (#1840) 2025-12-09 13:52:17 -03:00