<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/code/code_80043480.c, branch main</title>
<subtitle>Decompilation of The Legend of Zelda: Ocarina of Time</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/'/>
<entry>
<title>Use MM names for some unnamed code files (#2312)</title>
<updated>2024-12-08T21:52:48+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-12-08T21:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=06ceb8e661a17ed1383189148ce97acf2140fa48'/>
<id>06ceb8e661a17ed1383189148ce97acf2140fa48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document `ACTOR_FLAG_CAN_PRESS_SWITCHES` (#2275)</title>
<updated>2024-10-21T03:19:14+00:00</updated>
<author>
<name>fig02</name>
<email>fig02srl@gmail.com</email>
</author>
<published>2024-10-21T03:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=3677c111408fcf81a108567fadcfba3bbafdbe31'/>
<id>3677c111408fcf81a108567fadcfba3bbafdbe31</id>
<content type='text'>
* document switch activation

* format

* activate -&gt; press

* fix comment</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* document switch activation

* format

* activate -&gt; press

* fix comment</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Small Retail Files Part 2 OK (#1696)</title>
<updated>2024-02-02T18:15:38+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-02-02T18:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=f23a05eecddccb8061d425c3ea21bbb575c22395'/>
<id>f23a05eecddccb8061d425c3ea21bbb575c22395</id>
<content type='text'>
* z_draw.c OK

* more files</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* z_draw.c OK

* more files</pre>
</div>
</content>
</entry>
<entry>
<title>Doc dynapoly move flags (#1372)</title>
<updated>2022-10-11T22:47:33+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-10-11T22:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=40a4abefa55de5a06c6b6f35f8630c673806d9ba'/>
<id>40a4abefa55de5a06c6b6f35f8630c673806d9ba</id>
<content type='text'>
* Doc dynapoly move flags

* Use `DYNAPOLYMOVE_UPD_` more

* remove `DynaPolyActor.unk_15A` (padding)

* `DYNAPOLYMOVE_UPD_` -&gt; `DYNA_MOVE_`

* Remove `DYNA_MOVE_POS_AND_ROT_Y`

* Actual docs

* Update function names

* transformFlags and Carried names

Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* Fixup comment on `DynaPolyActor_UpdateCarriedActorPos`

* Format

* `DYNA_TRANSFORM_NONE` -&gt; 0

* Touch up mentioning the `DYNA_TRANSFORM_` flags in docs

Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Doc dynapoly move flags

* Use `DYNAPOLYMOVE_UPD_` more

* remove `DynaPolyActor.unk_15A` (padding)

* `DYNAPOLYMOVE_UPD_` -&gt; `DYNA_MOVE_`

* Remove `DYNA_MOVE_POS_AND_ROT_Y`

* Actual docs

* Update function names

* transformFlags and Carried names

Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* Fixup comment on `DynaPolyActor_UpdateCarriedActorPos`

* Format

* `DYNA_TRANSFORM_NONE` -&gt; 0

* Touch up mentioning the `DYNA_TRANSFORM_` flags in docs

Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Some names and docs on dynapoly (#1287)</title>
<updated>2022-06-25T13:53:26+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-06-25T13:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=ed0ab877c9f250c233be6ec9a9e83425cc1a827d'/>
<id>ed0ab877c9f250c233be6ec9a9e83425cc1a827d</id>
<content type='text'>
* Add `BG_DYNA_ACTOR_FLAG_` for `DynaCollisionContext.bgActorFlags`

* Document 3/4 bgActor flags

* `func_8003EE6C` -&gt; `DynaPoly_InvalidateLookup`

* `DynaPoly_ExpandSRT` -&gt; `DynaPoly_AddBgActorToLookup`

* Add `DYNAPOLYACTOR_UNK160_` for `DynaPolyActor.unk_160`

* More dynapoly docs

* One comment

* Some `DynaPoly_` -&gt; `DynaPolyActor_`

* run formatter

* .

* `BG_DYNA_ACTOR_FLAG_IS_USED` -&gt; `BG_DYNA_ACTOR_FLAG_IN_USE`

* `BG_DYNA_ACTOR_FLAG_` -&gt; `BGACTOR_`

* `DYNAPOLYACTOR_INTERACT_FLAG_` -&gt; `DYNA_INTERACT_`

* `ResetInteractFlags` -&gt; `ClearInteractFlags`

* Remove Has/Is prefix on dyna interact flags getters

* format

* remove now useless comments

* Remove `!= 0` on interact flags getter usage

* ceilings collision -&gt; ceiling collision

* `ClearInteractFlags` -&gt; `UnsetInteractFlags` (pepega)

* `UnsetInteractFlags` -&gt; `UnsetAllInteractFlags` (pepega x2)

* Add back `Is` prefix (no `Has` this time) to dyna interact flags getters</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add `BG_DYNA_ACTOR_FLAG_` for `DynaCollisionContext.bgActorFlags`

* Document 3/4 bgActor flags

* `func_8003EE6C` -&gt; `DynaPoly_InvalidateLookup`

* `DynaPoly_ExpandSRT` -&gt; `DynaPoly_AddBgActorToLookup`

* Add `DYNAPOLYACTOR_UNK160_` for `DynaPolyActor.unk_160`

* More dynapoly docs

* One comment

* Some `DynaPoly_` -&gt; `DynaPolyActor_`

* run formatter

* .

* `BG_DYNA_ACTOR_FLAG_IS_USED` -&gt; `BG_DYNA_ACTOR_FLAG_IN_USE`

* `BG_DYNA_ACTOR_FLAG_` -&gt; `BGACTOR_`

* `DYNAPOLYACTOR_INTERACT_FLAG_` -&gt; `DYNA_INTERACT_`

* `ResetInteractFlags` -&gt; `ClearInteractFlags`

* Remove Has/Is prefix on dyna interact flags getters

* format

* remove now useless comments

* Remove `!= 0` on interact flags getter usage

* ceilings collision -&gt; ceiling collision

* `ClearInteractFlags` -&gt; `UnsetInteractFlags` (pepega)

* `UnsetInteractFlags` -&gt; `UnsetAllInteractFlags` (pepega x2)

* Add back `Is` prefix (no `Has` this time) to dyna interact flags getters</pre>
</div>
</content>
</entry>
<entry>
<title>PlayState Rename (#1231)</title>
<updated>2022-05-21T18:23:43+00:00</updated>
<author>
<name>fig02</name>
<email>fig02srl@gmail.com</email>
</author>
<published>2022-05-21T18:23:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=2e6279bc8e528833704bc6b77635f0eeae6bbe44'/>
<id>2e6279bc8e528833704bc6b77635f0eeae6bbe44</id>
<content type='text'>
* global context -&gt; play

* fix PlayState* PlayState</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* global context -&gt; play

* fix PlayState* PlayState</pre>
</div>
</content>
</entry>
<entry>
<title>Various minor cleanups (#940)</title>
<updated>2021-09-05T12:00:24+00:00</updated>
<author>
<name>Roman971</name>
<email>32455037+Roman971@users.noreply.github.com</email>
</author>
<published>2021-09-05T12:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=2862aa6d03208e19955e280e6d110e0fcff357ce'/>
<id>2862aa6d03208e19955e280e6d110e0fcff357ce</id>
<content type='text'>
* Fix includes using braces instead of quotes

* Remove some unused printf arguments

* Fix a condition in Door_Shutter

* Run the formatter

* Cleanup incorrect uses of DynaPolyMoveFlag as function arguments

* Cleanup combined Math_StepToF checks</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix includes using braces instead of quotes

* Remove some unused printf arguments

* Fix a condition in Door_Shutter

* Run the formatter

* Cleanup incorrect uses of DynaPolyMoveFlag as function arguments

* Cleanup combined Math_StepToF checks</pre>
</div>
</content>
</entry>
<entry>
<title>Fix most compiler warnings in the boot and code segments (#674)</title>
<updated>2021-02-14T00:49:40+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2021-02-14T00:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=f9d96d9f73ac090245a518ec04f3fa0e50655d1e'/>
<id>f9d96d9f73ac090245a518ec04f3fa0e50655d1e</id>
<content type='text'>
* Less warnings in boot &amp; code segments

* few more warnings gone

* Ran formatter

* z_view warning gone

* -&gt; 1

* f31 -&gt; 31

* Remove function casts

* Few more small improvements

* Separate declaration and assignment in func_80091738 and Item_Give

Co-authored-by: Thar0 &lt;maximilianc64@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Less warnings in boot &amp; code segments

* few more warnings gone

* Ran formatter

* z_view warning gone

* -&gt; 1

* f31 -&gt; 31

* Remove function casts

* Few more small improvements

* Separate declaration and assignment in func_80091738 and Item_Give

Co-authored-by: Thar0 &lt;maximilianc64@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Actor Struct Changes (and a few related things) (#617)</title>
<updated>2021-01-18T21:04:04+00:00</updated>
<author>
<name>fig02</name>
<email>fig02srl@gmail.com</email>
</author>
<published>2021-01-18T21:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=00a5edea71a605e7bdad78892b2863000e53624e'/>
<id>00a5edea71a605e7bdad78892b2863000e53624e</id>
<content type='text'>
* reformat header

* type -&gt; category

* done for now i think

* some more stuff

* first -&gt; head

* focus

* flag comment

* ground -&gt; floor

* remove asm, name wrapper funcs

* name func, format

* review

* targetPriority, format

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "0305ec2c2"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "0305ec2c2"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* comment

* review

* feet flags

* horse shadow</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformat header

* type -&gt; category

* done for now i think

* some more stuff

* first -&gt; head

* focus

* flag comment

* ground -&gt; floor

* remove asm, name wrapper funcs

* name func, format

* review

* targetPriority, format

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "0305ec2c2"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "0305ec2c2"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* comment

* review

* feet flags

* horse shadow</pre>
</div>
</content>
</entry>
<entry>
<title>z_bgcheck.c, 800430A0.c, 80043480.c (#256)</title>
<updated>2021-01-08T11:12:58+00:00</updated>
<author>
<name>mzxrules</name>
<email>mzxrules@gmail.com</email>
</author>
<published>2021-01-08T11:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=3cef03f5ff9c0341544afec9636bd0581f87d0cc'/>
<id>3cef03f5ff9c0341544afec9636bd0581f87d0cc</id>
<content type='text'>
* beginning of migrating changes

* got matching

* changed order a bit

* clean up bgcheck

* fix conflict

* fix conflict again

* first stab at identifying types, some oks

* Clean up most bad structs/pointer math, move relevant structs to z64bgcheck.h, get some OKs

* more OKs, z_bgcheck.bss migration, update some sys_math3d.c args

* couple more OKs

* pushing some OKs

* fix compilation issues

* code_800430A0.c OK, more files decomp'd

* 8003A3E0 big OK :)

* Decomp most of func_8003C614, decomp helper funcs

* Decomp SurfaceType, CamData, and WaterBox property related functions

* more OKs, big OK in 8003C078

* more OKs, more progress, move a function definition in z_collision_check to functions.h

* more clean-ups, more OKs, dyn_vtx is now defined as u8*

* 8003A5B8, 8003A7D8, 8003C614, 8003DD6C OK, document function args better

* data migrated, more OKs

* 80041240 OK, func_8003B3C8 and func_8003BB18 disassembled

* func_80040284, 800409A8 non_matching, add IS_ZERO macro

* All asm files have C representations, some big OKs, lots of minor tweaks

* More OKs, non-matching code cleanup

* 8003FBF4 and 80040BE4 OK, improve codegen for most functions

* format z_bgcheck.c

* fix warnings, compile errors on NON_MATCHING

* func_8003EE80 is now NON_MATCHING

* begin documenting some functions

* formatting

* more documentation, func_8003A95C OK

* fix PHYSICAL_TO_VIRTUAL changes

* fix var rename

* More documentation, functions 80040E40, 80041648 OK, change types to not be compatible with ZAP

* func_8004239C ok, more NON_MATCHING improvements, more documentation

* Implement most suggested changes

* Convert comments to slower comments

* /**

* Implement ZAP2 changes

* my anti-virus ate my format.sh results

* Rename a couple hundred functions, fix minor stuff

* rename var so that clang formats correctly

* run format.sh

* implement Petrie's matches/suggestions

* format

* matches

* and the asm

* slight error

* Add SSList

* two more matches

* stuff

* implement code changes

* clean up Petrie's matchings

Co-authored-by: Arthur &lt;arthurtilly413@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: petrie911 &lt;pmontag@DESKTOP-LG8A167.localdomain&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* beginning of migrating changes

* got matching

* changed order a bit

* clean up bgcheck

* fix conflict

* fix conflict again

* first stab at identifying types, some oks

* Clean up most bad structs/pointer math, move relevant structs to z64bgcheck.h, get some OKs

* more OKs, z_bgcheck.bss migration, update some sys_math3d.c args

* couple more OKs

* pushing some OKs

* fix compilation issues

* code_800430A0.c OK, more files decomp'd

* 8003A3E0 big OK :)

* Decomp most of func_8003C614, decomp helper funcs

* Decomp SurfaceType, CamData, and WaterBox property related functions

* more OKs, big OK in 8003C078

* more OKs, more progress, move a function definition in z_collision_check to functions.h

* more clean-ups, more OKs, dyn_vtx is now defined as u8*

* 8003A5B8, 8003A7D8, 8003C614, 8003DD6C OK, document function args better

* data migrated, more OKs

* 80041240 OK, func_8003B3C8 and func_8003BB18 disassembled

* func_80040284, 800409A8 non_matching, add IS_ZERO macro

* All asm files have C representations, some big OKs, lots of minor tweaks

* More OKs, non-matching code cleanup

* 8003FBF4 and 80040BE4 OK, improve codegen for most functions

* format z_bgcheck.c

* fix warnings, compile errors on NON_MATCHING

* func_8003EE80 is now NON_MATCHING

* begin documenting some functions

* formatting

* more documentation, func_8003A95C OK

* fix PHYSICAL_TO_VIRTUAL changes

* fix var rename

* More documentation, functions 80040E40, 80041648 OK, change types to not be compatible with ZAP

* func_8004239C ok, more NON_MATCHING improvements, more documentation

* Implement most suggested changes

* Convert comments to slower comments

* /**

* Implement ZAP2 changes

* my anti-virus ate my format.sh results

* Rename a couple hundred functions, fix minor stuff

* rename var so that clang formats correctly

* run format.sh

* implement Petrie's matches/suggestions

* format

* matches

* and the asm

* slight error

* Add SSList

* two more matches

* stuff

* implement code changes

* clean up Petrie's matchings

Co-authored-by: Arthur &lt;arthurtilly413@gmail.com&gt;
Co-authored-by: fig02 &lt;fig02srl@gmail.com&gt;
Co-authored-by: petrie911 &lt;pmontag@DESKTOP-LG8A167.localdomain&gt;</pre>
</div>
</content>
</entry>
</feed>
