1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00
oot/data
Kenix3 353684c638
ovl_demo_effect 100% OK (#466)
* Fully decompiles demo_effect actor.

* Formats z_demo_effect.c

* GET_ACTOR_TYPE is renamed to GET_EFFECT_TYPE

* Implements OPEN_DISPS macros for all draw functions.

* Fixes ugly float values

* Removes unnecessary union structs in the DemoEffect actor struct

* Renames DemoEffect SkelAnimeCurve member to skelCurve

* Names initObjectBankIndex DemoEffect struct member

* Renames jewel display list holders

* Renames initialization function pointers to initUpdateFunc and initDrawFunc

* Renames primitive and environment color DemoEffect struct members.

* Fixes a couple missed floats.

* Renames most draw and update functions.

* Finishes naming all update functions.

* Adds additional SFX defines.

* Renames the rest of the functions

* Renames all external object display lists and vertex references

* Renames DemoEffect global data variables

* Renames DemoEffect Medal function to GetItem because it's used by LightArrows too

* Fixes DemoEffect Timewarp_Timeblock documentation.

* DemoEffect_TimewarpTimeblock updates shrink functions to use decimal

* Converts DemoEffect hex to decimal where appopriate

* Names the rest of DemoEffect struct members.

* Names DemoEffect triforceSpot crystalLightOpacity

* Adds DemoEffect enums for light effect color and god lgt types.

* Renames DemoEffect_UpdateBlueOrb to DemoEffect_UpdateBlueOrbGrow

* Fixes compiler warning in DemoEffect_JewelSparkle

* Renames DemoEffect_MedalSparkle argument

* Reformatting DemoEffect struct offset comments.

* Formats z_demo_effect

* Updates DemoEffect oGfxCtx to use the new macros.

* Adds comments detailing what each function in the DemoEffect system does.

* Removes z_demo_effect.data.s

* Renames DemoEffect global variables and sets them to static

* Removes pointer from DemoEffect function references

* Removes unncecessary default: break; statements in DemoEffect

* Converts rotation values to hex in DemoEffect

* DemoEffect effectFlags now uses ~1 rather than 65534

* DemoEffect_DrawGodLgt now uses a cleaner conditional statement

* eventChkInf in DemoEffect now uses 1 << 9 and 1 << 11

* DemoEffect now uses VT macros.

* Converts DemoEffect colors to hex.

* Changes M_PI / 32768.0f to M_PI / 0x8000

* Updates demo_effect enums to be all caps

* ovl_demo_effect reloc info is now included via build process rather than included from original asm

* Adds param packing macro

* DemoEffect struct unions are now typedef'd outside of the main struct

* Reformats DemoEffect sJewelSparkleColors

* Removes an if(globalCtx){} in DemoEffect_Init

* Removes ActorFunc cast in DemoEffect_Wait

* Removes unncessary comment in DemoEffect_MedalSparkle

* Timer check in DemoEffect_UpdateLightRingShrinking now uses <= 255 rather than < 256

* Removes unnecessary comment in DemoEffect_SetJewelColor

* Removes unncessary comment in DemoEffect_MoveJewelActivateDoorOfTime

* Converts an angle to hex in DemoEffect_MoveJewelActivateDoorOfTime

* Converts a while to for loop in DemoEffect_JewelSparkle

* Moves stack variables in DemoEffect_UpdateDust to a new line for each one

* Removes globalCtx2 assignment to the beginning of the function in DemoEffect_DrawJewel

* Removes unnecessary comment in DemoEffect_DrawCrystalLight

* No longer wrapping rotation reset in if(1){} in DemoEffect_DrawGodLgt

* Converts DemoEffect if statements to use != 0 and == 0 when non-boolean ints are checked.

* DemoEffect initDrawFunc now uses type ActorFunc rather than DemoEffectFunc

* review 2

Co-authored-by: fig <fig02srl@gmail.com>
2020-12-07 12:48:29 -05:00
..
overlays ovl_demo_effect 100% OK (#466) 2020-12-07 12:48:29 -05:00
__libm_qnan_f.rodata.s Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
audio_effects.data.s audio_playback, audio_effects OK (#313) 2020-08-15 14:06:26 -04:00
code_800D2E30.data.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800DACC0.bss.s audio_seqplayer, the easy half (#369) 2020-09-01 17:23:30 -04:00
code_800DACC0.data.s audio_seqplayer, the easy half (#369) 2020-09-01 17:23:30 -04:00
code_800E11F0.data.s Remove hard-coded pointers in several files (#186) 2020-06-04 17:51:14 -04:00
code_800E11F0.rodata.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800EC960.data.s Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
code_800F9280.data.s audio_heap: 1 non-matching (#381) 2020-09-20 13:22:09 -04:00
code_800F9280.rodata.s audio_heap: 1 non-matching (#381) 2020-09-20 13:22:09 -04:00
db_camera.bss.s decompile z_camera (#398) 2020-12-06 17:39:47 -05:00
db_camera.data.s Decompile shrink_window.c (#232) 2020-07-08 21:54:39 -04:00
fault_drawer.bss.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
fault.bss.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
rsp_boot.text.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
rsp.rodata.s Fix more raw pointers (rsp and part of .data) (#170) 2020-05-27 09:06:37 -04:00
rsp.text.s Fix more raw pointers (rsp and part of .data) (#170) 2020-05-27 09:06:37 -04:00
z_bgcheck.bss.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_bgcheck.data.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_bgcheck.rodata.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_en_item00.bss.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_en_item00.data.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_kankyo.bss.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_kankyo.data.s Fix remaining rom/ram pointers (#190) 2020-06-05 17:09:43 -04:00
z_lifemeter.data.s Fix and improve some non matchings (#229) 2020-06-30 14:44:07 -04:00
z_message_PAL.bss.s Fix remaining rom/ram pointers (#190) 2020-06-05 17:09:43 -04:00
z_message_PAL.rodata.s Update asm processor and migrate/improve rodata for a few files (#209) 2020-06-14 19:24:09 -04:00
z_onepointdemo.data.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
z_skin.bss.s Fix remaining rom/ram pointers (#190) 2020-06-05 17:09:43 -04:00
z_text.data.s z_select decompiled, 1 non matching left (#202) 2020-06-13 22:59:58 -04:00
z_vr_box.data.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00