<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/code/z_lights.c, branch main</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>Document Light-Based Actor Flags (#1754)</title>
<updated>2024-12-06T04:48:38+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-12-06T04:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=3c16f534de369221f9f1d5d9542fd902b54743bc'/>
<id>3c16f534de369221f9f1d5d9542fd902b54743bc</id>
<content type='text'>
* light flags template

* first attempt

* typo

* improve names

* improve comments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* light flags template

* first attempt

* typo

* improve names

* improve comments</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup gSPMatrix, rename `Matrix_New` -&gt; `Matrix_Finalize`, add MATRIX_FINALIZE_AND_LOAD (#1729)</title>
<updated>2024-10-23T00:51:00+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-10-23T00:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=ec9b5839ade6b9ab5b9aa51260865ea7b894b496'/>
<id>ec9b5839ade6b9ab5b9aa51260865ea7b894b496</id>
<content type='text'>
* mtx-finalize

* cleanup gSPMatrix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* mtx-finalize

* cleanup gSPMatrix</pre>
</div>
</content>
</entry>
<entry>
<title>Remove assets from automatic includes (#1683)</title>
<updated>2024-09-10T18:16:56+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-09-10T18:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b9ea1c19ab8c8f273cf8cddfc372dcb47106f1f3'/>
<id>b9ea1c19ab8c8f273cf8cddfc372dcb47106f1f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Format gbi.h, move ucode defines to makefile (#1650)</title>
<updated>2024-06-23T16:51:44+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-06-23T16:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=3682a13ec55f84eecf8b16aa7e32bda7bcf9bdfc'/>
<id>3682a13ec55f84eecf8b16aa7e32bda7bcf9bdfc</id>
<content type='text'>
* Format gbi.h, move ucode defines to makefile, correct usage of gDPSetDither

* UCODE_DEFS -&gt; GBI_DEFINES, add GBI_DOWHILE toggle

* Define GBI_DOWHILE for bss calculations

* Makefile thing</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Format gbi.h, move ucode defines to makefile, correct usage of gDPSetDither

* UCODE_DEFS -&gt; GBI_DEFINES, add GBI_DOWHILE toggle

* Define GBI_DOWHILE for bss calculations

* Makefile thing</pre>
</div>
</content>
</entry>
<entry>
<title>EnInvadepoh (Aliens, UFO, Invasion Handler, etc.) OK and documented (#1614)</title>
<updated>2024-04-29T15:19:55+00:00</updated>
<author>
<name>Tom Overton</name>
<email>tom-overton@users.noreply.github.com</email>
</author>
<published>2024-04-29T15:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=7c93d5e1253bb631cba185918ad2f0957da1c437'/>
<id>7c93d5e1253bb631cba185918ad2f0957da1c437</id>
<content type='text'>
* deimplementation complete

* newlines

* match

* data import

* back port cleanup changes

* stuff

* naming and such

* all funcs provisionally named

* more stuff

* merge

* Fix merge issues

* begin cleanup

* Use constants for all face animation data

* Use THIS like almost every actor does

* Change "Light Ball" to "UFO"

* Rename the alien types

* EnInvadePoh -&gt; EnInvadepoh

* Rename the types

* Rename some Twinmold stuff

* ConfusedRomani -&gt; SilentRomani

* Fix stack size issues with EnInvadepoh_Cremia_Init

* Move a struct out of the header to where it belongs

* Some header cleanup and struct names

* Name remaining struct vars

* Some more struct var renames

* Finish reviewing the struct var names

* Rename most of the interactInfo stuff

* Consistency

* Remove unused union

* Define EN_INVADEPOH_LIMB_MAX like EndingHero6 does

* Fix header

* Update functions.txt and variables.txt

* Create macros for accessing spawn time and kill count

* Some defines

* Some minor comments and cleanup

* Rename some functions

* Comments for those three functions

* Draw function cleanups

* Some damaged and dead cleanup

* Death scale stuff

* Good chunk of alien functions

* Invasion state naming

* Weekeventreg naming

* Happy with &gt;20% of functions now

* A couple more functions

* More consistent names for BSS variables

* Some Init cleanup

* Happy with 30% of the functions now

* Finish the abductors

* Some random functions to get the functions I'm happy with &gt;1/3rd

* Use `InitPath` for everything

* UFO functions done, &gt;40% functions I'm happy with

* Do a lot of work on InvasionHandler action funcs

* Finish invasion handler code

* InitVars

* Rename the "closest alien" stuff to "closest alien threat"

* Finish most of the dog functions

* Lots of small stuff here and there

* Finish documenting the dog bug

* Document `EnInvadepoh_Dog_IsCloseToPath`

* `EnInvadepoh_Dog_MoveAlongPath` and other fixes

* Simple comment for `EnInvadepoh_Dog_Move`

* Various path functions, finish dog

* Consistently use "SetMatrixTranslation"

* Change all the angleToPlayer stuff to pitch/yaw

* Some RewardRomani functions

* Finish RewardRomani

* Finish Night1Romani and BarnRomani, &gt;75% of functions done

* Some minor stuff

* Document bug

* Finish all of SilentRomani minus the Idle functions

* Finish EnInvadepoh_SilentRomani_Idle

* Finish Night3Cremia

* Finish Night3Romani

* Finish `EnInvadepoh_Ufo_SpawnSparkles`

* Finish some library functions

* Finish the alien pathing stuff

* Finish Romani path stuff

* Finish all non-InteractInfo stuff

* InteractInfo -&gt; ModelInfo

* Create a `EnInvadepohFaceAnimBase` struct

* Name some of the animation data

* Switch to `Chained`/`ChainedDelay` and do some other cleanup

* Name all of the animation data

* Finish documenting and cleaning up the face animation functions

* Some comments at the top of the file

* Clean up forward declarations

* Clean some stuff up to the ModelInfo functions

* Fix build

* Move the animation data around so all the ModelInfo functions are adjacent

* Review

* Use `CLOCK_TIME_MINUTE` in `EnInvadepoh_Alien_PathComputeProgress`

* Respond to some of Anghelo's review

* Update comment on spawn time macros explaining what indices are usable

* Create a `DEATH_SCALE` define

* `WEEKEVENTREG_RECEIVED_MILK_BOTTLE` -&gt; `WEEKEVENTREG_RECEIVED_ALIENS_BOTTLE`

* Forgot to do the bomber's notebook stuff too

* parallelogram -&gt; rectangle

* Respond to engineer's review

* Slight spacing fix

---------

Co-authored-by: petrie911 &lt;petrie911@users.noreply.github.com&gt;
Co-authored-by: petrie911 &lt;pmontag@Monday.localdomain&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: engineer124 &lt;engineer124engineer124@gmail.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>
* deimplementation complete

* newlines

* match

* data import

* back port cleanup changes

* stuff

* naming and such

* all funcs provisionally named

* more stuff

* merge

* Fix merge issues

* begin cleanup

* Use constants for all face animation data

* Use THIS like almost every actor does

* Change "Light Ball" to "UFO"

* Rename the alien types

* EnInvadePoh -&gt; EnInvadepoh

* Rename the types

* Rename some Twinmold stuff

* ConfusedRomani -&gt; SilentRomani

* Fix stack size issues with EnInvadepoh_Cremia_Init

* Move a struct out of the header to where it belongs

* Some header cleanup and struct names

* Name remaining struct vars

* Some more struct var renames

* Finish reviewing the struct var names

* Rename most of the interactInfo stuff

* Consistency

* Remove unused union

* Define EN_INVADEPOH_LIMB_MAX like EndingHero6 does

* Fix header

* Update functions.txt and variables.txt

* Create macros for accessing spawn time and kill count

* Some defines

* Some minor comments and cleanup

* Rename some functions

* Comments for those three functions

* Draw function cleanups

* Some damaged and dead cleanup

* Death scale stuff

* Good chunk of alien functions

* Invasion state naming

* Weekeventreg naming

* Happy with &gt;20% of functions now

* A couple more functions

* More consistent names for BSS variables

* Some Init cleanup

* Happy with 30% of the functions now

* Finish the abductors

* Some random functions to get the functions I'm happy with &gt;1/3rd

* Use `InitPath` for everything

* UFO functions done, &gt;40% functions I'm happy with

* Do a lot of work on InvasionHandler action funcs

* Finish invasion handler code

* InitVars

* Rename the "closest alien" stuff to "closest alien threat"

* Finish most of the dog functions

* Lots of small stuff here and there

* Finish documenting the dog bug

* Document `EnInvadepoh_Dog_IsCloseToPath`

* `EnInvadepoh_Dog_MoveAlongPath` and other fixes

* Simple comment for `EnInvadepoh_Dog_Move`

* Various path functions, finish dog

* Consistently use "SetMatrixTranslation"

* Change all the angleToPlayer stuff to pitch/yaw

* Some RewardRomani functions

* Finish RewardRomani

* Finish Night1Romani and BarnRomani, &gt;75% of functions done

* Some minor stuff

* Document bug

* Finish all of SilentRomani minus the Idle functions

* Finish EnInvadepoh_SilentRomani_Idle

* Finish Night3Cremia

* Finish Night3Romani

* Finish `EnInvadepoh_Ufo_SpawnSparkles`

* Finish some library functions

* Finish the alien pathing stuff

* Finish Romani path stuff

* Finish all non-InteractInfo stuff

* InteractInfo -&gt; ModelInfo

* Create a `EnInvadepohFaceAnimBase` struct

* Name some of the animation data

* Switch to `Chained`/`ChainedDelay` and do some other cleanup

* Name all of the animation data

* Finish documenting and cleaning up the face animation functions

* Some comments at the top of the file

* Clean up forward declarations

* Clean some stuff up to the ModelInfo functions

* Fix build

* Move the animation data around so all the ModelInfo functions are adjacent

* Review

* Use `CLOCK_TIME_MINUTE` in `EnInvadepoh_Alien_PathComputeProgress`

* Respond to some of Anghelo's review

* Update comment on spawn time macros explaining what indices are usable

* Create a `DEATH_SCALE` define

* `WEEKEVENTREG_RECEIVED_MILK_BOTTLE` -&gt; `WEEKEVENTREG_RECEIVED_ALIENS_BOTTLE`

* Forgot to do the bomber's notebook stuff too

* parallelogram -&gt; rectangle

* Respond to engineer's review

* Slight spacing fix

---------

Co-authored-by: petrie911 &lt;petrie911@users.noreply.github.com&gt;
Co-authored-by: petrie911 &lt;pmontag@Monday.localdomain&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: engineer124 &lt;engineer124engineer124@gmail.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>General Cleanup 3 (#1543)</title>
<updated>2024-01-29T13:51:59+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-01-29T13:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6fb4a073257379b562c2ddec74583fd8b83fb0a2'/>
<id>6fb4a073257379b562c2ddec74583fd8b83fb0a2</id>
<content type='text'>
* voicestopread -&gt; voicestopreaddata

* PadMgr_ThreadEntry

* PointLight_t

* OS_VI_UNK28

* print stuff

* Remove OS_PRIORITY_THREADTAIL

* sBoeDlists -&gt; sBoeModelInfo

* Prerender_DrawBackground2D

* segments

* Revert "print stuff"

This reverts commit 1d833e2f0d2e013d73ab9c4826fac8efefdc830b.

* format

* Update src/overlays/actors/ovl_En_Mkk/z_en_mkk.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* voicestopread -&gt; voicestopreaddata

* PadMgr_ThreadEntry

* PointLight_t

* OS_VI_UNK28

* print stuff

* Remove OS_PRIORITY_THREADTAIL

* sBoeDlists -&gt; sBoeModelInfo

* Prerender_DrawBackground2D

* segments

* Revert "print stuff"

This reverts commit 1d833e2f0d2e013d73ab9c4826fac8efefdc830b.

* format

* Update src/overlays/actors/ovl_En_Mkk/z_en_mkk.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>General Cleanup (#1529)</title>
<updated>2024-01-14T23:03:13+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-01-14T23:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6412ddad50c687b007127f67e92382ec54611270'/>
<id>6412ddad50c687b007127f67e92382ec54611270</id>
<content type='text'>
* Cleanup

* vi define cleanup

* kdebugserver

* osmotor

* Remove sqrtf.c

* Move osFlash out of libultra

* PadUtils_Destroy

* BOOT_ADDRESS_ULTRA

* Fault

* Format

* viconfig.h

* More small cleanups

* gfx cleanup

* Format

* Forgot to save

* variables.h

* dListTable -&gt; dListSides

* Fix header includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup

* vi define cleanup

* kdebugserver

* osmotor

* Remove sqrtf.c

* Move osFlash out of libultra

* PadUtils_Destroy

* BOOT_ADDRESS_ULTRA

* Fault

* Format

* viconfig.h

* More small cleanups

* gfx cleanup

* Format

* Forgot to save

* variables.h

* dListTable -&gt; dListSides

* Fix header includes</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>z_kankyo pt 1 (#1377)</title>
<updated>2023-10-05T05:08:08+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-10-05T05:08:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=03d1a794e1fe3995ae3f4ca99e244e4b14310092'/>
<id>03d1a794e1fe3995ae3f4ca99e244e4b14310092</id>
<content type='text'>
* z64environment.h

* remove todo

* Cleanup

* data + bss + 2 functions

* Bring over simple functions

* Remove lerp comment

* code functions csv

* Remove docs changes

* ZBufValToFixedPoint

* Remove leading 0's

* SEGMENT macros

* eventDayCount

* format

* z64bombers_notebook.h

* fix merge

* Comments

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* z64environment.h

* remove todo

* Cleanup

* data + bss + 2 functions

* Bring over simple functions

* Remove lerp comment

* code functions csv

* Remove docs changes

* ZBufValToFixedPoint

* Remove leading 0's

* SEGMENT macros

* eventDayCount

* format

* z64bombers_notebook.h

* fix merge

* Comments

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>`z64vi*.h` and `sys_cfb.h` headers (#1259)</title>
<updated>2023-08-09T23:44:31+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-08-09T23:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=d107b6c2a922fff477075fb3525e6541b6d7f108'/>
<id>d107b6c2a922fff477075fb3525e6541b6d7f108</id>
<content type='text'>
* z64vimode.h

* z64viscvg.h

* z64vis*.h

* VisCvg

* sys_cfb.h

* a bit of naming

* review

* Renames

* bss

* fix

* bss

* bss

* bss

* messed up the merge

* bss is borken

* reordering 2

* remove prevent header from fault.c</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* z64vimode.h

* z64viscvg.h

* z64vis*.h

* VisCvg

* sys_cfb.h

* a bit of naming

* review

* Renames

* bss

* fix

* bss

* bss

* bss

* messed up the merge

* bss is borken

* reordering 2

* remove prevent header from fault.c</pre>
</div>
</content>
</entry>
</feed>
