<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/include/macros.h, branch gha</title>
<subtitle>Decompilation of The Legend of Zelda: Majora’s Mask</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/'/>
<entry>
<title>String macros (#1871)</title>
<updated>2026-04-21T12:12:46+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2026-04-21T12:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=57e41795f53f8d43d67e94f89b1b532e30cf8aec'/>
<id>57e41795f53f8d43d67e94f89b1b532e30cf8aec</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
<entry>
<title>Player Docs: Idle and Fidget (#1723)</title>
<updated>2024-10-20T14:35:03+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-10-20T14:35:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=d03e8719e62900d5b917f5429177560bd044fddd'/>
<id>d03e8719e62900d5b917f5429177560bd044fddd</id>
<content type='text'>
* idle and fidget docs

* more cleanup

* cleanup

* regs

* spacing</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* idle and fidget docs

* more cleanup

* cleanup

* regs

* spacing</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Clean (#1680)</title>
<updated>2024-09-08T03:55:59+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-09-08T03:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6eaf196927eb6c4465c3b6c8fcdcefb08a9bc377'/>
<id>6eaf196927eb6c4465c3b6c8fcdcefb08a9bc377</id>
<content type='text'>
* vramu32 in Overlay_Relocate

* Actor_SetColorFilter args

* Effect Hitmark enum

* Actor_WorldToActorCoords

* Some fault clean up

* contoller.h

* macros.h no longer needs stdint.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vramu32 in Overlay_Relocate

* Actor_SetColorFilter args

* Effect Hitmark enum

* Actor_WorldToActorCoords

* Some fault clean up

* contoller.h

* macros.h no longer needs stdint.h</pre>
</div>
</content>
</entry>
<entry>
<title>Add a `z64play.h` header (#1646)</title>
<updated>2024-06-25T19:17:03+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2024-06-25T19:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6541532abb5c03088ad67748bbb23965c654127e'/>
<id>6541532abb5c03088ad67748bbb23965c654127e</id>
<content type='text'>
* z64play.h

* Move macros, functions and variables to header

* cleanup

* Reduce needed headers on z_collision_check

* Change play functions to take PlayState

* Move `Actor_ProcessInitChain` to `ichain.h`

* format

* Update src/code/z_play.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Add macros.h to sys_math3d.c

* Rename SequenceContext to SceneSequences

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* z64play.h

* Move macros, functions and variables to header

* cleanup

* Reduce needed headers on z_collision_check

* Change play functions to take PlayState

* Move `Actor_ProcessInitChain` to `ichain.h`

* format

* Update src/code/z_play.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Add macros.h to sys_math3d.c

* Rename SequenceContext to SceneSequences

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>`sys_math3d.c` Decompiled and Mostly Documented (#1450)</title>
<updated>2024-06-15T05:39:31+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-06-15T05:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b55f8ffe6e60ed2335acbe7d428049ea1056f4b5'/>
<id>b55f8ffe6e60ed2335acbe7d428049ea1056f4b5</id>
<content type='text'>
* Use matched sys_math3d functions by Tharo

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* kinda match some unattempted functions

* move sys_math3d function declarations to z64math.h

* Rename some simple functions

* Take matched Math3D_LineVsLineClosestTwoPoints from OoT

* minor fixes to make stuff actually equivalent

* func_8017FB1C

* format

* minor cleanup

* Math3D_PointOnDirectedLine

* func_8017FB1C documentation

Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;

* Remove actorfixer

* fix merge

* Apply renames

* more cleanup

* bss cleanup

* match Math3D_CylVsLineSeg

* WIP

* OK

* small cleanup

* Remove macros.h from sys_math3d

* Small cleanup

* Some more small clean up

* cleanup and docs

* cleanup

* PR Review

* cleanup

* fix merge

* fix merge

* merge main

* fix bss

* bss

* fix

* PR Review

* bss fix

* Merge main

* Fix bss

* Fix merge

* Add zero vecs to sys_math3d

* Format

* namefixer run

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use matched sys_math3d functions by Tharo

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* kinda match some unattempted functions

* move sys_math3d function declarations to z64math.h

* Rename some simple functions

* Take matched Math3D_LineVsLineClosestTwoPoints from OoT

* minor fixes to make stuff actually equivalent

* func_8017FB1C

* format

* minor cleanup

* Math3D_PointOnDirectedLine

* func_8017FB1C documentation

Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;

* Remove actorfixer

* fix merge

* Apply renames

* more cleanup

* bss cleanup

* match Math3D_CylVsLineSeg

* WIP

* OK

* small cleanup

* Remove macros.h from sys_math3d

* Small cleanup

* Some more small clean up

* cleanup and docs

* cleanup

* PR Review

* cleanup

* fix merge

* fix merge

* merge main

* fix bss

* bss

* fix

* PR Review

* bss fix

* Merge main

* Fix bss

* Fix merge

* Add zero vecs to sys_math3d

* Format

* namefixer run

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>More General Cleanup (#1638)</title>
<updated>2024-06-03T18:33:03+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-06-03T18:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=f26e77ba4088f20e72e13409f9ad535039abd291'/>
<id>f26e77ba4088f20e72e13409f9ad535039abd291</id>
<content type='text'>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>c_keyframe.c decompiled and documented (#1630)</title>
<updated>2024-05-17T12:29:19+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-05-17T12:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=c609d3dcae48ec2bd261c800f6cf75911a7bd1b2'/>
<id>c609d3dcae48ec2bd261c800f6cf75911a7bd1b2</id>
<content type='text'>
* 2 non-matching

* 1 function left

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Fully matching

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Documented, has bss reordering issues

* Fixes

* Apply suggestions

* Format

* Re-add cast oops

* Remove != 0 for override and transform limb draws, format

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 2 non-matching

* 1 function left

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Fully matching

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Documented, has bss reordering issues

* Fixes

* Apply suggestions

* Format

* Re-add cast oops

* Remove != 0 for override and transform limb draws, format

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Yet another header cleanup (#1508)</title>
<updated>2023-11-23T02:55:05+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-11-23T02:55:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=506e2155474b1914fe93f070c55debdeaf6df0a6'/>
<id>506e2155474b1914fe93f070c55debdeaf6df0a6</id>
<content type='text'>
* lights.c

* z64skin_matrix.h

* Move out some stuff from macros.h

* gamealloc.h

* move most transition functions to z64transition.h

* z64lib.h

* `include` cleanup on transition files

* z_overlay cleanup

* z64malloc.h

* format

* forgot to remove those

* forgot this

* fix borken includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lights.c

* z64skin_matrix.h

* Move out some stuff from macros.h

* gamealloc.h

* move most transition functions to z64transition.h

* z64lib.h

* `include` cleanup on transition files

* z_overlay cleanup

* z64malloc.h

* format

* forgot to remove those

* forgot this

* fix borken includes</pre>
</div>
</content>
</entry>
<entry>
<title>Yet another libultra cleanup (#1384)</title>
<updated>2023-10-26T13:44:27+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-10-26T13:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6475196f0fd24b1697241e3662bc732cdd81d212'/>
<id>6475196f0fd24b1697241e3662bc732cdd81d212</id>
<content type='text'>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</pre>
</div>
</content>
</entry>
<entry>
<title>`code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106)</title>
<updated>2023-10-26T06:42:24+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>elliptic.ellipsis@gmail.com</email>
</author>
<published>2023-10-26T06:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6bdb7c31ea6511a0ac892d6417beff36f5da6ecb'/>
<id>6bdb7c31ea6511a0ac892d6417beff36f5da6ecb</id>
<content type='text'>
* OK, start documentation

* More documentation

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Decompile func_80167F0C

* FbdemoWipe4 OK and documented

* Mark bug in Wipe4

* More docs

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Mark bug

* Few more notes

* Fix function in Play

* Format

* Review

* Name Play_PostWorldDraw

* functions.h...

* Revert func_80167F0C

* Review

* functions.h

* Review

* Update Wipe4

* Rename system

* Format

* Put skeleton back in the cupboard

* bss

* Fix build

* rename to z_visfbuf

* review

* format

* bss

* some bss cleanup

* review

* bss

* review

---------

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* OK, start documentation

* More documentation

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Decompile func_80167F0C

* FbdemoWipe4 OK and documented

* Mark bug in Wipe4

* More docs

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* Mark bug

* Few more notes

* Fix function in Play

* Format

* Review

* Name Play_PostWorldDraw

* functions.h...

* Revert func_80167F0C

* Review

* functions.h

* Review

* Update Wipe4

* Rename system

* Format

* Put skeleton back in the cupboard

* bss

* Fix build

* rename to z_visfbuf

* review

* format

* bss

* some bss cleanup

* review

* bss

* review

---------

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
