1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00
oot/include
Sirius902 8c72e1dea6
Decompiled ovl_Shot_Sun (#236)
* match ShotSun_Init

* match ShotSun_Destroy

* match func_80BADDCC

* break up unk_19C to add spawnTimer

* ShotSun_Update

* func_80BADE74

* work on func_80BAE05C

* make func_80BAE05C closer

* use proper macros for osSyncPrintf

* format if statement better and add temp player pointer func_80BAE05C

* Reorder spawnPos to match stack args later

* match func_80BAE05C

* almost match func_80BADF0C

* Remove temporary and add parenthesis

* change part of comment and move last unk_1A4 assignment to be similar to decompiler

* Change do while(false) to if (1)

* func_80BADF0C

* change comment

* update spec

* fix vt macro

* cleanup and name

* remove asm

* remove data

* remove extern

Co-authored-by: Random <28494085+Random06457@users.noreply.github.com>

* remove & for function pointers

* rename and retype D_02007020

* format

* remove tiny whitespace

* reorder if statement

* finish renaming

* replace cast with bitwise operation

* move globally used functions to functions.h

* reorder description

* move headers for EnItem00 and EnAObj to z64actor.h

* retype Item_DropCollectible and Item_DropCollectible2 to return EnItem00*

* rename ShotSun_StartFairyCountdown to ShotSun_TriggerFairy

* rename ShotSun_FairyCountdown to ShotSun_SpawnFairy

* add unk_E3EC field to MessageContext

* rename to ShotSun_UpdateHyliaSun for now

* remove != 0 on flag check

* remove unsigned suffix and use enum constant for Item_DropCollectible call

* add unk_95C field to Player

* add ub comment

* retype unk_1A4 and remove explicit struct padding

* Update src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

Co-authored-by: Random <28494085+Random06457@users.noreply.github.com>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-07-12 19:03:38 -04:00
..
PR Matched some controller files (#178) 2020-06-17 07:16:30 -04:00
ultra64 Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
alloca.h Various fixes/matches 2020-03-18 01:09:31 +01:00
bgm.h First proper commit. 2020-03-17 00:31:30 -04:00
color.h Arms_Hook OK (#210) 2020-06-17 15:44:22 -04:00
command_macros_base.h Create Macros for Cutscene Data (#63) 2020-05-20 07:37:28 -04:00
fp.h code_800FCE80 OK 2020-03-21 03:43:48 +01:00
functions.h Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04: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 Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
math.h Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
regs.h Decomp game.c (#129) 2020-05-14 19:11:33 -04:00
segment_symbols.h Fix remaining rom/ram pointers (#190) 2020-06-05 17:09:43 -04:00
sfx.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
stdarg.h First proper commit. 2020-03-17 00:31:30 -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 Partially format header files 2020-03-22 22:50:15 +01:00
string.h Partially format header files 2020-03-22 22:50:15 +01:00
ultra64.h Matched some controller files (#178) 2020-06-17 07:16:30 -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 Decompile shrink_window.c (#232) 2020-07-08 21:54:39 -04:00
vt.h Partially format header files 2020-03-22 22:50:15 +01:00
z64.h Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04:00
z64actor.h Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04:00
z64animation.h Decompiles fcurve_skelanime, code_8006C510, and actor MagicWind (#135) 2020-05-19 16:27:25 -04:00
z64audio.h Improve and fix some non matchings (#148) 2020-05-19 15:55:49 -04:00
z64collision_check.h Fix offset and size comments in collision_check structs (#115) 2020-05-04 07:04:32 -04:00
z64cutscene.h Create Macros for Cutscene Data (#63) 2020-05-20 07:37:28 -04:00
z64cutscene_commands.h Disassemble more cutscenes (#241) 2020-07-12 11:38:38 -04:00
z64dma.h use clang, modify z64animation.h and z64dma.h to use open braces on newline 2020-03-24 12:16:13 -05:00
z64effect.h En_Heishi1 and Eff_Ss_Solder_Srch_Ball OK (#234) 2020-07-09 15:12:03 -04:00
z64item.h En_Kz OK (#176) 2020-05-29 17:20:00 -04:00
z64light.h Partially format header files 2020-03-22 22:50:15 +01:00
z64math.h Split remaining z_camera files (#98) 2020-04-30 10:49:11 -04:00
z64object.h Partially format header files 2020-03-22 22:50:15 +01:00
z64scene.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
z64transition.h Decompile a bunch of small files (#160) 2020-05-25 23:18:14 +02:00