1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +00:00
oot/asm
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
..
non_matchings Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04:00
overlays/data/ovl_map_mark_data Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osDisableInt.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osGetCause.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osGetFpcCsr.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osGetSR.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osProbeTLB.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osRestoreInt.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osSetCompare.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osSetFpcCsr.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osSetSR.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
__osSetWatchLo.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
bcmp.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
bcopy.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
bzero.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800D71F0.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800DACC0.s Remove hard-coded pointers in several files (#186) 2020-06-04 17:51:14 -04:00
code_800DDE20.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800E11F0.s Update asm processor and migrate/improve rodata for a few files (#209) 2020-06-14 19:24:09 -04:00
code_800E88C0.s Remove hard-coded pointers in several files (#186) 2020-06-04 17:51:14 -04:00
code_800E9340.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800EC960.s Fix some missed and fake pointers in code (#180) 2020-06-01 18:55:34 -04:00
code_800F7260.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_800F9280.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_80102FA0.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
code_80104D60.s Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
dmadata.s First proper commit. 2020-03-17 00:31:30 -04:00
entry.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
exceptasm.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
fp.s code_800FCE80 OK 2020-03-21 03:43:48 +01:00
guMtxF2L.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
guMtxIdent.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
guMtxIdentF.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
guNormalize.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
guScale.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
guTranslate.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
ipl3.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
libm.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
mio0.s ucode_disas.c progress (#188) 2020-06-05 13:18:39 -04:00
osGetCount.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osInvalDCache.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osInvalICache.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osMapTLBRdb.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osSetIntMask.s Update asm processor and migrate/improve rodata for a few files (#209) 2020-06-14 19:24:09 -04:00
osUnmapTLBAll.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osWritebackDCache.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
osWritebackDCacheAll.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
PreRender.s Properly align asm & data (+ minor fixes) (#165) 2020-05-26 18:09:00 -04:00
rom_header.s Disassemble the rom header and entrypoint function (#87) 2020-04-22 13:44:46 -04:00