1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-29 03:34:07 +00:00
oot/include
Kenix3 f4499a8de2
En_Clear_Tag OK and documented (#689)
* Decompile and document En_Clear_Tag

* Adds a define for setting the total count of ClearTag particles.

* Fixes swap in particle effect struct member names.

Additionally, implements the DECR macro where available.
Additionally, implements the CLAMP_MIN macro.
Additionally, adds more comments inside of functions explaining how the Arwing works.

* Reformats z_en_clear_tag.c after recent fixes.

* Removes not OK DECR and CLAMP_MIN macros.

I don't know why they built locally OK for me. May have had a stale build.

* Added static to data declarations.

Additionally added white spacing between data definitions.

* Various syling fixes in EnClearTag

Fixes inconsistent usage of particle/effect. They're Effect is the better name, so I went with that.

Fixed a naming issue in CalculateFloorTangent.

Adds s prefix to all the static variables.

Renames clearTagParticlesBuffer to sClearTagEffects

Consistent capitalization in comments.

Adds more descriptive comments to function level comments that didn't say a lot already.

Renamed gameplay.particleEffects to gameplay.specialEffects.

Renames cameraNumber to cameraId.

Fixed capitalization in display list variable names.

* Always capitalize the A in arwing.

* Fixes issue with overzealous replacement of arwing -> Arwing

* Renames arwing display lists to include the g prefix.

* Renames effect seed -> random

* Removes unnecessary decrement timer comments.

* Updates Arwing comments to detail why it's important that the roll is updated to zero.

* Updates stack variable names in EnClearTag_Update to be more consistent with each other.

* Updates Arwing crashing documentation.

* Further update documentation on arwing crashing.

* Even further updates to Arwing crashing docs.

* Fixes issue of missing newline in En_Clear_Tag.xml

* targetDirection reset now has a chained assignment

* Rotation angle to hex

* Fixes rotation hex and identifies float.

* Updates arwing fire check.

* Arwing cutscene timer is multiplied by 128 rather than shifting 7

* Updates scaledCrashingTimer assignment to be more consistent.

* Updates max scale to multiply by 2

* Gives name to the work buffer indices.

Additionally, makes enum names more consistent.

* Removes unnecessary globalCtx2 in EnClearTag_CreateFlashEffect

* Runs format.sh after recent changes.

* Updated path of ClearTag assets.

* Clear tag now uses Arwing in the display list name for all effects.

* Updates work buffer to expand and contract as new enums are added.

* Uses c99 defines in my c89

* Updates the unknown 8 bytes in en_clear_tag

* review

Co-authored-by: fig02 <fig02srl@gmail.com>
2021-03-29 19:14:08 +02:00
..
ultra64 Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
alloca.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
bgm.h First proper commit. 2020-03-17 00:31:30 -04:00
color.h PreRender decomped and equivalent (one small non-matching) (#723) 2021-03-20 15:10:10 -04:00
command_macros_base.h Create Macros for Cutscene Data (#63) 2020-05-20 07:37:28 -04:00
fp.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
functions.h En_Clear_Tag OK and documented (#689) 2021-03-29 19:14:08 +02:00
global.h First proper commit. 2020-03-17 00:31:30 -04:00
ichain.h Partially format header files 2020-03-22 22:50:15 +01:00
initvars.h Decompile most effect files in "code" (#144) 2020-05-18 14:24:00 -04:00
macro.inc First proper commit. 2020-03-17 00:31:30 -04:00
macros.h PreRender decomped and equivalent (one small non-matching) (#723) 2021-03-20 15:10:10 -04:00
math.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
regs.h decompile z_camera (#398) 2020-12-06 17:39:47 -05:00
segment_symbols.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sfx.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
stdarg.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
stdbool.h Partially format header files 2020-03-22 22:50:15 +01:00
stddef.h Partially format header files 2020-03-22 22:50:15 +01:00
stdlib.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
ultra64.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
unk.h Decompile z_play.c and Match/Document some of z_view.c (#74) 2020-04-16 17:36:12 -04:00
variables.h code_80110450 (game over) OK* (#739) 2021-03-28 19:50:46 -04:00
vt.h Partially format header files 2020-03-22 22:50:15 +01:00
z64.h En_Clear_Tag OK and documented (#689) 2021-03-29 19:14:08 +02:00
z64actor.h Update z64actor.h (#710) 2021-02-24 22:37:20 -05:00
z64animation.h z_skin OK and z_skin_awb decomped (one barely nonmatching) (#632) 2021-02-12 20:41:34 +01:00
z64audio.h Finished decomp of code_800F7260 (1 non-matching) (#733) 2021-03-27 21:01:50 +01:00
z64bgcheck.h Minor z_bgcheck documentation fixes (#675) 2021-02-12 17:30:21 -05:00
z64camera.h Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z64collision_check.h Document Collision_Check (#468) 2021-01-17 21:13:36 -05:00
z64cutscene.h En_Zl4 (#590) 2021-02-12 17:16:40 -05:00
z64cutscene_commands.h ovl_Demo_Kankyo OK (#608) 2021-01-31 18:38:23 -05:00
z64dma.h Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z64effect.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z64item.h All* Get Item objects decompiled (#668) 2021-02-12 22:57:06 +01:00
z64light.h SkelAnime "Skeleton" Documentation Pass (#497) 2020-12-01 22:19:56 -05:00
z64math.h En_anubice OK (#688) 2021-02-15 16:27:22 -05:00
z64object.h Reduce hardcoded sizes for a few data tables (#646) 2021-01-20 13:15:17 -05:00
z64player.h DoorKiller OK (#631) 2021-03-14 11:21:15 -04:00
z64save.h Highscores array (#600) 2021-01-05 14:57:18 -05:00
z64scene.h Reduce hardcoded sizes for a few data tables (#646) 2021-01-20 13:15:17 -05:00
z64transition.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00