<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/code/z_snap.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>FALLTHROUGH Attribute, switch cleanup (#1719)</title>
<updated>2024-10-20T00:56:35+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-10-20T00:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=1b7c9ecb88fe542ebd383053f480b156ab832a5a'/>
<id>1b7c9ecb88fe542ebd383053f480b156ab832a5a</id>
<content type='text'>
* add fallthrough

* attributes

* fix warning</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add fallthrough

* attributes

* fix warning</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce a bunch of small new headers (#1649)</title>
<updated>2024-07-28T20:53:28+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2024-07-28T20:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=cd087d85113291740357f9e7caaef916575a2775'/>
<id>cd087d85113291740357f9e7caaef916575a2775</id>
<content type='text'>
* regs.h

* gfxalloc.h

* z64inventory.h

* gfx.h

* graph.h

* z64olib.h

* z64elf_message.h

* fix missing include

* Include z64inventory.h on z64save.h

* fix bss

* Move PosRot to z64math.h

* So dumb

* Update src/overlays/actors/ovl_En_Kusa/z_en_kusa.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

* Remove graph.h

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* regs.h

* gfxalloc.h

* z64inventory.h

* gfx.h

* graph.h

* z64olib.h

* z64elf_message.h

* fix missing include

* Include z64inventory.h on z64save.h

* fix bss

* Move PosRot to z64math.h

* So dumb

* Update src/overlays/actors/ovl_En_Kusa/z_en_kusa.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

* Remove graph.h

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use more `TRUNCF_BINANG` for f32 -&gt; s16 casts (#1503)</title>
<updated>2023-12-13T04:16:24+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2023-12-13T04:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=5607eec18bae68e4cd38ef6d1fa69d7f1d84bfc8'/>
<id>5607eec18bae68e4cd38ef6d1fa69d7f1d84bfc8</id>
<content type='text'>
* TRUNCF_BINANG

* brackets

* extra cast</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* TRUNCF_BINANG

* brackets

* extra cast</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Cleanup 2 (#1260)</title>
<updated>2023-06-02T04:39:39+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2023-06-02T04:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=4b25b4d8e655c5280fd42e5c99f3971ae9b5326b'/>
<id>4b25b4d8e655c5280fd42e5c99f3971ae9b5326b</id>
<content type='text'>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</pre>
</div>
</content>
</entry>
<entry>
<title>Add `SaveInfo` substruct to `SaveContext` (#1191)</title>
<updated>2023-04-18T22:54:32+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-04-18T22:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=3c107cb148d784e2af4a347dc78f25b1697410be'/>
<id>3c107cb148d784e2af4a347dc78f25b1697410be</id>
<content type='text'>
* SaveInfo

* fix accesses in sram_NES.c

* some more fixing

* more fixes

* format

* fix unk

* namefixer

* format

* bss

* review

* weekeventregconvert

* namefixer

* bss</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* SaveInfo

* fix accesses in sram_NES.c

* some more fixing

* more fixes

* format

* fix unk

* namefixer

* format

* bss

* review

* weekeventregconvert

* namefixer

* bss</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Cleanup 14 (#1214)</title>
<updated>2023-03-21T14:12:22+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-03-21T14:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=9bb978527f619abbedbc5119fa2811385b29c01e'/>
<id>9bb978527f619abbedbc5119fa2811385b29c01e</id>
<content type='text'>
* bgId

* z64scene.h whitespace

* SubS_ComputeTrackPointRot casts

* Macros cleanup

* ifs

* Empty Loops

* Lights_FindBufSlot void

* SkelAnime_GetFrameData

* };

* Struct inits

* fs

* @todo

* Bug comments

* EnPofusen and ObjUm

* Trailing comma

* Revert "bgId"

This reverts commit eea073c5ac30fd41f50436eeade43a811d0f0981.

* Revert "z64scene.h whitespace"

This reverts commit 399fd57550b7536b357ab6283360042f2e3e1467.

* Revert "SubS_ComputeTrackPointRot casts"

This reverts commit dea896c8743475508a3c7391e9d19cdb6b63f6a7.

* FAKE

* Review

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bgId

* z64scene.h whitespace

* SubS_ComputeTrackPointRot casts

* Macros cleanup

* ifs

* Empty Loops

* Lights_FindBufSlot void

* SkelAnime_GetFrameData

* };

* Struct inits

* fs

* @todo

* Bug comments

* EnPofusen and ObjUm

* Trailing comma

* Revert "bgId"

This reverts commit eea073c5ac30fd41f50436eeade43a811d0f0981.

* Revert "z64scene.h whitespace"

This reverts commit 399fd57550b7536b357ab6283360042f2e3e1467.

* Revert "SubS_ComputeTrackPointRot casts"

This reverts commit dea896c8743475508a3c7391e9d19cdb6b63f6a7.

* FAKE

* Review

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>Play (2 NON_MATCHINGS) (#1109)</title>
<updated>2023-01-14T15:18:13+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-01-14T15:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=ab8d34b8dc2ccd28ae4224d8500decff0fa25a1c'/>
<id>ab8d34b8dc2ccd28ae4224d8500decff0fa25a1c</id>
<content type='text'>
* Bring over progress from another branch

Co-authored-by: Maide &lt;34639600+Kelebek1@users.noreply.github.com&gt;

* cleanup, fake match Play_Init

* small fixes

* Some small cleanup

* Match func_80165460 (from debug)

* Match func_80165658

* Match func_80165DB8, func_80165DCC, func_80165DF0, func_80165E04

* Match func_80167DE4 (from debug)

* Match func_80167F0C

* Match func_80168DAC

* Matched func_80169100

* Matched func_801691F0

* import D_801DFA18

* match Play_Main thanks to debug

* cleanup

* synray does it again

* add docs from debug

* fix func_801656A4

* more docs and cleanup

* Match func_80166B30 and diff fake match in Init

* import transition docs from OoT

* Play Update, sort of

* cleanup Play_Update

* more cleanup

* slightly more docs

* small docs

* Play_Draw WIP Thanks @petrie911

* progress?

* two more matches

* format

* misc play docs

* transitions cleanup

* Motion Blur

* Transitions

* Fog

* Bombers notebook + small cleanup

* bss

* Camera Functions

* Picto functions

* Init

* MotionBlur Clean up

* Floor Surface

* Pictographs some more

* regs

* fix circular dependency problem

* Cleanup PR commits outside play

* namefixer

* PR picto

* PR audio

* PR small clean ups

* debug strings

* Picto defines

* bss

* enums

* remove void

* typedefs

* Hireso -&gt; BombersNotebook

* bss comments

* bss and I8/I5 functions

* Smaller PR comments

* Transitions

* Combine enums

* Revert "Combine enums"

This reverts commit 0da1ebcaed69a3ce0fbd5942460b67f80f0e15e7.

* Fix Transition defines

* RGBA16 macros

* Unname

* worldCoverAlpha

* Rename Update and Draw

* PR review, plus annotate bug

* Clean up nonmatchings with a closer DrawGame

* Format

* New macros

* UpdateMain and DrawMain

* Fix merge

* Small cleanups from PR

* zFar

* Intensity macros

* Format

* Remove bss comments

* Compression/decompression

* Small cleanup

* Format

* More PR cleanup

* Cleanup picto stuff

* format

* Fix compression comments

* Play processes state enums DONE -&gt; READY

* cutscene comment

* fix bss

Co-authored-by: Maide &lt;34639600+Kelebek1@users.noreply.github.com&gt;
Co-authored-by: engineer124 &lt;engineer124engineer124@gmail.com&gt;
Co-authored-by: petrie911 &lt;pmontag@PHYS-S129.iowa.uiowa.edu&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Bring over progress from another branch

Co-authored-by: Maide &lt;34639600+Kelebek1@users.noreply.github.com&gt;

* cleanup, fake match Play_Init

* small fixes

* Some small cleanup

* Match func_80165460 (from debug)

* Match func_80165658

* Match func_80165DB8, func_80165DCC, func_80165DF0, func_80165E04

* Match func_80167DE4 (from debug)

* Match func_80167F0C

* Match func_80168DAC

* Matched func_80169100

* Matched func_801691F0

* import D_801DFA18

* match Play_Main thanks to debug

* cleanup

* synray does it again

* add docs from debug

* fix func_801656A4

* more docs and cleanup

* Match func_80166B30 and diff fake match in Init

* import transition docs from OoT

* Play Update, sort of

* cleanup Play_Update

* more cleanup

* slightly more docs

* small docs

* Play_Draw WIP Thanks @petrie911

* progress?

* two more matches

* format

* misc play docs

* transitions cleanup

* Motion Blur

* Transitions

* Fog

* Bombers notebook + small cleanup

* bss

* Camera Functions

* Picto functions

* Init

* MotionBlur Clean up

* Floor Surface

* Pictographs some more

* regs

* fix circular dependency problem

* Cleanup PR commits outside play

* namefixer

* PR picto

* PR audio

* PR small clean ups

* debug strings

* Picto defines

* bss

* enums

* remove void

* typedefs

* Hireso -&gt; BombersNotebook

* bss comments

* bss and I8/I5 functions

* Smaller PR comments

* Transitions

* Combine enums

* Revert "Combine enums"

This reverts commit 0da1ebcaed69a3ce0fbd5942460b67f80f0e15e7.

* Fix Transition defines

* RGBA16 macros

* Unname

* worldCoverAlpha

* Rename Update and Draw

* PR review, plus annotate bug

* Clean up nonmatchings with a closer DrawGame

* Format

* New macros

* UpdateMain and DrawMain

* Fix merge

* Small cleanups from PR

* zFar

* Intensity macros

* Format

* Remove bss comments

* Compression/decompression

* Small cleanup

* Format

* More PR cleanup

* Cleanup picto stuff

* format

* Fix compression comments

* Play processes state enums DONE -&gt; READY

* cutscene comment

* fix bss

Co-authored-by: Maide &lt;34639600+Kelebek1@users.noreply.github.com&gt;
Co-authored-by: engineer124 &lt;engineer124engineer124@gmail.com&gt;
Co-authored-by: petrie911 &lt;pmontag@PHYS-S129.iowa.uiowa.edu&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>SceneNum -&gt; SceneId (#1036)</title>
<updated>2022-09-30T02:22:59+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-09-30T02:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=3a723efb15c4d3e044edda7979b1cde5588c0aeb'/>
<id>3a723efb15c4d3e044edda7979b1cde5588c0aeb</id>
<content type='text'>
* sceneNum -&gt; sceneId

* horse data scene -&gt; sceneId

* Clean up scene table

* format

* PR comments

* Some more

* It helps if you actually save the file

* PR

* Remove comment

* Format

* Conflicts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sceneNum -&gt; sceneId

* horse data scene -&gt; sceneId

* Clean up scene table

* format

* PR comments

* Some more

* It helps if you actually save the file

* PR

* Remove comment

* Format

* Conflicts</pre>
</div>
</content>
</entry>
<entry>
<title>General Cleanup 11 (#992)</title>
<updated>2022-08-16T01:42:21+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-08-16T01:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=bb96e47f8df9fa42e2120b7acda90432bacfde39'/>
<id>bb96e47f8df9fa42e2120b7acda90432bacfde39</id>
<content type='text'>
* char -&gt; UNK_TYPE1

* SubS fixes

* func_800B8500

* macros

* misc

* A few more GET_{ACTOR} vs {ACTOR}_GETw

* More Macros

* fix

* PARSE_TYPE -&gt; GET_TYPE

* 1 more</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* char -&gt; UNK_TYPE1

* SubS fixes

* func_800B8500

* macros

* misc

* A few more GET_{ACTOR} vs {ACTOR}_GETw

* More Macros

* fix

* PARSE_TYPE -&gt; GET_TYPE

* 1 more</pre>
</div>
</content>
</entry>
<entry>
<title>EnGe1 OK and documented, document `z_snap` (#952)</title>
<updated>2022-08-04T04:53:53+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>elliptic.ellipsis@gmail.com</email>
</author>
<published>2022-08-04T04:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=91b2bc3a88247800e7164273da5dd6b39920ba3a'/>
<id>91b2bc3a88247800e7164273da5dd6b39920ba3a</id>
<content type='text'>
* Move PictoActor typedefs to z64actor.h

* OK, data imported

* Minor snap stuff

* Name most functions and variables

* Name most of object, apart from animations

* Document snap

* Fix actors to use the PictoActor struct

* Format

* Finish documenting EnGe1

* Finish documenting z_snap and related actors

* Format

* Review, format

* Name last couple of things

* bss

* Review

* Review

* bss

* Introduce z64snap.h, add SCREEN_TO_DEVICE macros

* Back to PROJECTED_TO_SCREEN</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move PictoActor typedefs to z64actor.h

* OK, data imported

* Minor snap stuff

* Name most functions and variables

* Name most of object, apart from animations

* Document snap

* Fix actors to use the PictoActor struct

* Format

* Finish documenting EnGe1

* Finish documenting z_snap and related actors

* Format

* Review, format

* Name last couple of things

* bss

* Review

* Review

* bss

* Introduce z64snap.h, add SCREEN_TO_DEVICE macros

* Back to PROJECTED_TO_SCREEN</pre>
</div>
</content>
</entry>
</feed>
