<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/code/code_800FD970.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>RNG doc (#1892)</title>
<updated>2024-02-27T03:21:25+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-02-27T03:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=7f64ace8f0d38b83c1e616b74994cc0ef043de3a'/>
<id>7f64ace8f0d38b83c1e616b74994cc0ef043de3a</id>
<content type='text'>
* RNG doc

* Add some missing note qualifiers in comments

* code_800FD970 -&gt; rand in Makefile and disasm CSVs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* RNG doc

* Add some missing note qualifiers in comments

* code_800FD970 -&gt; rand in Makefile and disasm CSVs</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup `clang-format off` (#1195)</title>
<updated>2022-04-29T19:06:08+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-04-29T19:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=4a6bfcdd21fb2dd6458a3c947b63372e5aa76e19'/>
<id>4a6bfcdd21fb2dd6458a3c947b63372e5aa76e19</id>
<content type='text'>
* Run formatter

* Remove useless `// clang-format off`

* Improve manual formatting inside `clang-format off` blocks

* Remove `// clang-format off` where used only for code style formatting

* Remove some `// clang-format off` with a for loop "trick"

* Reduce the size of `clang-format off` blocks

* Remove one `clang-format off` by moving assignment to inside line

* Revert "Remove some `// clang-format off` with a for loop "trick""

This reverts commit 30c344b800f22cc45cc30c8c88ce014715cdfed0.

* Put some `// clang-format on` back on the same level as `off`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Run formatter

* Remove useless `// clang-format off`

* Improve manual formatting inside `clang-format off` blocks

* Remove `// clang-format off` where used only for code style formatting

* Remove some `// clang-format off` with a for loop "trick"

* Reduce the size of `clang-format off` blocks

* Remove one `clang-format off` by moving assignment to inside line

* Revert "Remove some `// clang-format off` with a for loop "trick""

This reverts commit 30c344b800f22cc45cc30c8c88ce014715cdfed0.

* Put some `// clang-format on` back on the same level as `off`</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Cleanup 2 (#1007)</title>
<updated>2021-11-30T23:40:42+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2021-11-30T23:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=669732abbe78ad6dad6b5f7273f595befd630cba'/>
<id>669732abbe78ad6dad6b5f7273f595befd630cba</id>
<content type='text'>
* Cleanup `UNK_TYPE`, `UNK_PTR` usage

* Add some missing empty lines after declarations

* Remove some legacy comments from non-matching times

* Fix some grammar (mostly "it's"/"its")

* Use proper names for two symbols after ZAPD bugfix

* Cleanup `place_title_cards.xml`

* Use `NULL` to check against `D_8012D260` pointer

* Parentheses around some macro arguments

* wip proofread headers up to z64animation.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup `UNK_TYPE`, `UNK_PTR` usage

* Add some missing empty lines after declarations

* Remove some legacy comments from non-matching times

* Fix some grammar (mostly "it's"/"its")

* Use proper names for two symbols after ZAPD bugfix

* Cleanup `place_title_cards.xml`

* Use `NULL` to check against `D_8012D260` pointer

* Parentheses around some macro arguments

* wip proofread headers up to z64animation.h</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>Consistent naming for Math_ functions (#542)</title>
<updated>2020-12-26T10:44:53+00:00</updated>
<author>
<name>petrie911</name>
<email>69443847+petrie911@users.noreply.github.com</email>
</author>
<published>2020-12-26T10:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=8fa6cb6ff927496403f950fc86146d6aabe9773f'/>
<id>8fa6cb6ff927496403f950fc86146d6aabe9773f</id>
<content type='text'>
* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* give this a shot

* fix conflict

* one more try

* could be useful

* whoops

* ZAP2 stuff

* ZAP why

* ZAP again

* maths

* Factoriali -&gt; Factorial

* soon, soon

* renames

* rand

* docs

* merged

* formatting

* little more cleanup

* asm crept back in

* changes to MathF

* smooth criminal

* functions.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* give this a shot

* fix conflict

* one more try

* could be useful

* whoops

* ZAP2 stuff

* ZAP why

* ZAP again

* maths

* Factoriali -&gt; Factorial

* soon, soon

* renames

* rand

* docs

* merged

* formatting

* little more cleanup

* asm crept back in

* changes to MathF

* smooth criminal

* functions.h</pre>
</div>
</content>
</entry>
<entry>
<title>libultra cleanup (#215)</title>
<updated>2020-10-03T15:22:44+00:00</updated>
<author>
<name>Random</name>
<email>28494085+Random06457@users.noreply.github.com</email>
</author>
<published>2020-10-03T15:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=174af7384d1cfcbf15da02d9069bf02bdc433c20'/>
<id>174af7384d1cfcbf15da02d9069bf02bdc433c20</id>
<content type='text'>
* cleanup libultra

* fixes

- use quotes instead of &lt;&gt; for includes
- add macros for zelda specific thread priorities
- fix Makefile
- properly format the remaining pfs structs

* fix button macros + add CHECK_BTN_ANY/CHECK_BTN_ALL

* remove ULTRA_ABS

* fix includes

* update z_player.c/z_lib.c + run format.sh

* merge upstream/master

* fix include in En_Goroiwa

* fix includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cleanup libultra

* fixes

- use quotes instead of &lt;&gt; for includes
- add macros for zelda specific thread priorities
- fix Makefile
- properly format the remaining pfs structs

* fix button macros + add CHECK_BTN_ANY/CHECK_BTN_ALL

* remove ULTRA_ABS

* fix includes

* update z_player.c/z_lib.c + run format.sh

* merge upstream/master

* fix include in En_Goroiwa

* fix includes</pre>
</div>
</content>
</entry>
<entry>
<title>Decompile Player (#387)</title>
<updated>2020-09-19T01:45:39+00:00</updated>
<author>
<name>Roman971</name>
<email>32455037+Roman971@users.noreply.github.com</email>
</author>
<published>2020-09-19T01:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=14191307e96cc915fa5a67704eba16421cf4deb2'/>
<id>14191307e96cc915fa5a67704eba16421cf4deb2</id>
<content type='text'>
* Setup player decomp

* Decompile z_player.c and z_player_lib.c

* Decompile remaining z_player.c functions

* Various player improvements

* Player progress (some non matchings and .data migrated)

* Player progress (reposition data and fix some non matchings)

* Cleanup, improve and document parts of z_player_lib.c/z_player.c

* Fix player renames in z_en_st.c

* Fix missing open/close disps in z_player.c

* Minor player fixes

* Address player comments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Setup player decomp

* Decompile z_player.c and z_player_lib.c

* Decompile remaining z_player.c functions

* Various player improvements

* Player progress (some non matchings and .data migrated)

* Player progress (reposition data and fix some non matchings)

* Cleanup, improve and document parts of z_player_lib.c/z_player.c

* Fix player renames in z_en_st.c

* Fix missing open/close disps in z_player.c

* Minor player fixes

* Address player comments</pre>
</div>
</content>
</entry>
<entry>
<title>Decompile most effect files in "code" (#144)</title>
<updated>2020-05-18T18:24:00+00:00</updated>
<author>
<name>Roman971</name>
<email>32455037+Roman971@users.noreply.github.com</email>
</author>
<published>2020-05-18T18:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=e29b77919bd98375e31760ed082cf014c58dbef8'/>
<id>e29b77919bd98375e31760ed082cf014c58dbef8</id>
<content type='text'>
- `z_effect`: Matched and essentially all documented.
- `z_eff_spark.c`: Decompiled (1 non matching left) and mostly documented.
- `z_eff_shield_particle.c`: Matched and mostly documented.
- `z_eff_blure.c`: Decompiled (5 non matchings left) and partially documented.
- `z_effect_soft_sprite.c`: Matched and mostly documented.
- `z_eff_ss_dead.c`: Matched but not documented.
- `z_effect_soft_sprite_dlftbls.c`: "Matched" (only data, contains the effect ss overlay table).
- `z_effect_soft_sprite_old_init.c`: Not decompiled, but functions are categorized by effect ss overlay. And they should be decompiled at the same time as their corresponding effect ss in the future.

Other changes:
- Added a lot of types/enums to `z64effect.h`and moved+renamed some structs from `z64.h` to this header
- Added effect ss overlay segments to `segment_symbols.h` and effect ss init vars to `initvars.h`
- Added a macro called `VTX_T` to generate a `Vtx_t` in the same style as `VTX`
- Fixed `flg_set.c` .bss to be in the right file
- Removed `tools/overlayhelpers/batchdisasm` since it's no longer relevant
- Removed unused leftover asm from recent PRs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- `z_effect`: Matched and essentially all documented.
- `z_eff_spark.c`: Decompiled (1 non matching left) and mostly documented.
- `z_eff_shield_particle.c`: Matched and mostly documented.
- `z_eff_blure.c`: Decompiled (5 non matchings left) and partially documented.
- `z_effect_soft_sprite.c`: Matched and mostly documented.
- `z_eff_ss_dead.c`: Matched but not documented.
- `z_effect_soft_sprite_dlftbls.c`: "Matched" (only data, contains the effect ss overlay table).
- `z_effect_soft_sprite_old_init.c`: Not decompiled, but functions are categorized by effect ss overlay. And they should be decompiled at the same time as their corresponding effect ss in the future.

Other changes:
- Added a lot of types/enums to `z64effect.h`and moved+renamed some structs from `z64.h` to this header
- Added effect ss overlay segments to `segment_symbols.h` and effect ss init vars to `initvars.h`
- Added a macro called `VTX_T` to generate a `Vtx_t` in the same style as `VTX`
- Fixed `flg_set.c` .bss to be in the right file
- Removed `tools/overlayhelpers/batchdisasm` since it's no longer relevant
- Removed unused leftover asm from recent PRs</pre>
</div>
</content>
</entry>
<entry>
<title>Rename variables in code_800FD970 (#142)</title>
<updated>2020-05-15T22:53:58+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2020-05-15T22:53:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=63985a001145d5e3721c35c725ae981073d6e106'/>
<id>63985a001145d5e3721c35c725ae981073d6e106</id>
<content type='text'>
* Decompile code_800FD970

* Comment cleanups, ensure formatter won't cause a matching issue later

* Make code_800FD970 variables static and rename

* Delete data and bss asm files</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Decompile code_800FD970

* Comment cleanups, ensure formatter won't cause a matching issue later

* Make code_800FD970 variables static and rename

* Delete data and bss asm files</pre>
</div>
</content>
</entry>
<entry>
<title>Decompile code_800FD970 (#141)</title>
<updated>2020-05-15T17:58:14+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2020-05-15T17:58:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=47e25298a01a167e29af566e16aee031035850f2'/>
<id>47e25298a01a167e29af566e16aee031035850f2</id>
<content type='text'>
* Decompile code_800FD970

* Comment cleanups, ensure formatter won't cause a matching issue later</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Decompile code_800FD970

* Comment cleanups, ensure formatter won't cause a matching issue later</pre>
</div>
</content>
</entry>
</feed>
