Commit Graph

1933 Commits

Author SHA1 Message Date
Jordan Longstaff 5ae2f89cd8
Merge b225188a3e into 0877ce4adf 2025-12-15 07:46:04 -05:00
Jordan Longstaff b225188a3e
Merge branch 'main' into en-kendo-js 2025-12-15 07:45:55 -05: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
JordanLongstaff 58f3a25664 Rename message handler functions 2025-12-11 09:50:46 -05:00
JordanLongstaff a7442cd4d9 Remove statement added by faulty merge 2025-12-09 12:16:39 -05:00
Jordan Longstaff 508d8bb07a
Document number input display and control functions (#1840) 2025-12-09 13:52:17 -03:00
Jordan Longstaff f75a5e1d2b
Document `func_808B849C` (#1841)
* Document `func_808B849C`

* Clarify doc about number returned

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

* Add number comparisons

* Try arithmetic in remains function

* Reverse addition operation - will it break matching?

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-12-09 12:46:54 -03:00
Jordan Longstaff 0bd2da4eb4
Merge branch 'main' into en-kendo-js 2025-12-09 10:38:37 -05:00
JordanLongstaff 8dd469a7f5 Merge branch 'main' into en-kendo-js 2025-12-09 10:36:08 -05: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
Isghj d6143abe52
`EnDnk` Documented (#1831)
* Dnk: some docs

* Dnk: more docs

* Dnk: format

* Dnk: More docs

* Dnk: more docs

* Dnk: more docs

* Dnk: specify variants

* Pr2: requested changes
2025-12-09 07:51:03 -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
JordanLongstaff 6a21225be3 Use boolean values for isRetracting 2025-12-06 21:46:11 -05:00
JordanLongstaff 4133fd90ea Rename text ID arrays 2025-12-06 21:43:36 -05:00
JordanLongstaff f098c8ca26 Refactor message start macro 2025-12-06 21:42:43 -05:00
JordanLongstaff 9281ba2345 Remove mask message macro 2025-12-06 21:42:11 -05:00
JordanLongstaff c2d003cd8f Dismantle message enum 2025-12-06 21:39:40 -05: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
JordanLongstaff 374040b608 Deciphered FF part of params 2025-12-05 14:31:33 -05:00
JordanLongstaff 6135dcc7f7 Rename Skel object 2025-12-05 13:55:20 -05:00
JordanLongstaff cf26ad619a Fix uses of isSlashingLog 2025-12-05 13:53:52 -05:00
Isghj cc4a063e0c
Fix `rename_sym.sh` tool: functions.txt/variables.txt (#1829)
* rename_sym: fixed to work with new disasm functions/variables locations

* rename_sym: re-enabled asm
2025-12-05 09:06:54 -03:00
JordanLongstaff fc1e51f27b Remove trailing whitespaces 2025-12-04 10:20:29 -05:00
JordanLongstaff ec030b3867 Merge branch 'main' into en-kendo-js 2025-12-04 10:10:25 -05:00
JordanLongstaff 4ac3a4321c Rename WEEKEVENTREG flag 2025-12-04 10:10:20 -05:00
JordanLongstaff a153b2bf13 Rename animation constants 2025-12-04 10:09:04 -05: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
JordanLongstaff 8dc460256e Found out what that unused animation was 2025-12-03 10:20:42 -05:00
JordanLongstaff c49409ee5d Fix isSlashingLog reference 2025-12-02 10:41:04 -05:00
JordanLongstaff bd66ee07ce Fix typedefs 2025-12-02 09:10:10 -05:00
JordanLongstaff 1062874b9b Document `EnKendoJs` 2025-12-02 08:45:58 -05:00
Isghj 64d2e009fb
`EnFz` and `object_fz`: Freezard documented (#1828)
* Freezard: some docs

* Freezard: more docs

* Freezard: most function names

* Freezard: last function named

* Freeza: more docs

* Freezard: oops wrong actor name

* Fz: more docs

* Fz: more docs

* Fz: Object named

* Fz: Object named

* Fz: changed my mind, function names changed to reflect old OOT behavior not seen in this game, in case someone confuses them

* Freezer: docs

* Free: more docs

* F: format

* Fz: more docs

* Fz: format

* EnFz: more docs, format

* Fz: More minor docs

* Fz: more docs, format

* Apply suggestions from code review

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

* EnFz: More requested changes

* Fz: updated function declarations

* EnFz: one of the flags was still 0

* Fz: updated functions.txt for disasm

* Apply suggestions from code review

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

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-11-14 15:48:06 -08: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
Ozero4 7af068b2a2
Rename EnHorse_CheckBoost (#1824) 2025-10-27 12:39:13 -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
Derek Hensley e181a607bc
Build only in spec (#1823) 2025-08-20 14:26:09 -04: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 28b60fc00c
Handwritten asm: bcmp, bcopy, bzero (#1817)
* Handwritten asm: bcmp, bcopy, bzero

* consistent and

* Consistent add
2025-08-16 09:07:25 -04:00
Tharo 086fc5635e
Handwritten asm: gu and mgu (#1816)
* Handwritten asm: gu and mgu

* Remove some unnecessary pad_texts

* Consistent add/and instructions
2025-08-16 09:01:46 -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
Anghelo Carvajal a0c992ea35
Fix docker builds (#1814)
* Fix dockerfile.

It was broken because the practicerom package changed stuff and apt didn't like whatever changed.
This is the commit that seems to have broken how the old practicerom package worked: e7bec93b0b (diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5)

* Update docker docs.

Some references were broken in the markdown files, and there's no longer a need to run the git `safe.directory` command since the docker file was doing it already

* Include `gcc-mips-linux-gnu` in the dockerfile

* break up dockerfile commands a bit more

* Update practicerom instructions

* Update practice rom again
2025-08-12 17:02:58 -07:00
Tharo 1ca6ca804d
Handwritten asm: fp (#1818) 2025-08-08 22:02:03 -07:00
Tharo 9612575930
parameters.s (#1820) 2025-08-07 14:46:09 -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
Eblo a6411b4ba2
Replace erroneous CsCmdStartSeq with CsCmdStopSeq (#1812) 2025-07-05 12:54:47 -04:00