1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-13 04:39:36 +00:00
oot/include
Sirius902 bc9ca97086
ovl_Boss_Ganon2 (2 nonmatching) (#874)
* Match a few

* Remove cast

* BossGanon2_Destroy

* Some struct layout

* Missed one

* Work on BossGanon2_Update

* Oops missed another

* Work on update more

* Get it to compile

* Work a bit on update

* func_808FD27C

* Cleanup a bit

* Fix incompatible pointer type

* Work more on update

* Multiply

* Fix janky cast regalloc

* Remove some casts

* Move switch case to right spot

* Tiny regalloc

* Fix stack

* Try to fix jump table

* Migrate bss

* Make data match

* Fix minor formatting

* Another minor formatting

* Replace hex with symbols

* Do display lists

* Vertices

* jnt items init

* Split gfx into separate file

* func_808FCF40

* func_808FCF5C

* func_808FD080

* func_808FD4D4

* func_808FF898

* func_808FFA24

* func_808FFAC8

* func_808FFBBC

* func_808FFC84

* use unk_313 as a bool

* func_808FFCFC

* func_808FFDB0

* Add commented static

* func_808FFEBC

* func_808FFFE0

* func_809000A0

* Remove useless cast in func_809000A0

* Remove useless temp

* Fix wrong branch

* BossGanon2_Update

* Fix implicit function declarations

* Type D_8090EB2C to zelda pointer

* Reorder include because why not

* Deduplicate undefined syms

* Add more to struct

* Work on func_808FD5F4

* Major work on func_808FD5F4

* Get func_808FD5F4 to compile

* Make unk_398 unsigned

* Work on func_808FD5F4

* Progress

* func_808FD210

* BossGanon2_Draw

* Make it compile

* Fix compiler warnings

* Fix branches func_808FD5F4

* re-nonmatching func_808FD5F4

* stuff

* fix math functions

* clang format

* more progress

* Replace bit stuff with type

* Merge master

* Add possibly janky things and fix while loop

* Why does this help

* Chained assignment

* Remove dubious thing

* Reorder thing

* Add possibly fake notices

* Use true and false

* Make func_808FD5F4 equivalent

* Massage stack a little

* func_80906AB0

* Correct texture params

* Whitespace is good

* Use decimal line numbers

* func_809069F8

* Work on func_809060E8

* Make funny loop less funny

* Float stuff

* Remove useless cast

* Merge upstream

* Fix compiler error in nonmatchings

* func_809060E8

* Change tex alloc to be full integer

* Add unk_234

* Correct size of unk_2F4

* Make textures u64[]

* Type textures to u64[]

* func_80905DA8

* func_80905674

* Replace some pi

* BossGanon2_PostLimbDraw2

* func_8090523C

* func_80904FC8

* func_80904D88

* BossGanon2_PostLimbDraw

* BossGanon2_OverrideLimbDraw

* func_8090464C

* func_80903F38

* Match func_80900890

* Move func_80906538 prototype

* Work on func_80902348

* Match func_80902348

* Add fake warning to array thing

* Work on func_8090120C

* Remove useless var from func_8090120C

* Work more on func_8090120C

* Move case probably into place func_8090120C

* Work on func_8090120C until 4914

* Add break to switch

* Pass player to startPlayerCutscene

* Work more on func_8090120C

* Work on func_80902524

* Move function prototype

* Match func_80902524

* Clean up sfx ids in func_808FD5F4

* Correct SFX_FLAG in func_8090120C

* Match func_8090120C

* Match func_80904340

* Change tex to u8[]

* Cleanup func_808FD5F4 a bit

* Clean up another inequality func_808FD5F4

* Match func_80904108

* Cleanup for PR

* Cleanup for PR part 2

* Cleanup data a bit and start on func_80906538

* Basically match func_80906538

* Match func_80906538

* Rename tex to shadowTexture

* Work on func_809034E4 a bit

* replace 255 with 0xFF for texture

* Correct NON_MATCHING guard

* Make func_809034E4 equivalent and not ugly!

* Reuse i in func_809034E4

* Minor cleanup in func_809034E4

* Remove unused asm

* Static all the data

* Switch to using assets xml for overlay graphics :)

* Remove now unused undefined syms

* Rename pad to D_809071FC

* Some cleanup

* Cleanup and name more stuff

* Name BossGanon2_DrawShadowTexture

* Rename to sZelda

* Correct array in func_809034E4.s

* Start using proper symbols for assets

* Add morre undefined syms comments

* Cleanup a bit

* Cleanup a bit more

* Use THIS in limb functions

* Update comments

* Use define for actor id

* Remove unnecessary padding in struct

* Rename rand_float to randFloat

* Update src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Various minor suggestions

* Replace shadowTexture with void* wherever possible

* Update src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Do multiply

* Name some variables from debug prints

* Update src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Use ARRAY_COUNT(sParticles) everywhere

* Put data and bss in _data.c

* Remove unecessary @bug s

* Minor suggestions

* Why are there so many timers

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2021-08-06 20:30:31 +02:00
..
ultra64 Audio WIP (#836) 2021-07-27 19:44:58 -04: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 convert remaining RGB5a1 to RGBA16 (#879) 2021-08-01 19:15:21 +02:00
command_macros_base.h Add scene macros (#792) 2021-05-08 17:16:21 -04:00
fp.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
functions.h Mark func_800DC910 as NON_EQUIVALENT (#882) 2021-08-04 17:39:28 +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 db_camera (#842) 2021-07-26 00:34:25 +02:00
math.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
regs.h Interface improvements (#822) 2021-06-15 13:29:10 -04:00
segment_symbols.h Some progress on z_vr_box.c (#838) 2021-07-04 11:43:04 -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 Audio WIP (#836) 2021-07-27 19:44:58 -04:00
vt.h Partially format header files 2020-03-22 22:50:15 +01:00
z64.h ovl_Boss_Ganon2 (2 nonmatching) (#874) 2021-08-06 20:30:31 +02:00
z64actor.h Item00 BSS OK (#881) 2021-08-04 12:41:56 -04:00
z64animation.h Add struct LegacyLimb and rename AnimationHeader2 for object_human (#849) 2021-06-14 14:12:34 -04:00
z64audio.h Audio WIP (#836) 2021-07-27 19:44:58 -04:00
z64bgcheck.h Minor z_bgcheck documentation fixes (#675) 2021-02-12 17:30:21 -05:00
z64camera.h OnePointDemo OK (#719) 2021-03-31 12:18:31 -04:00
z64collision_check.h Decompile Twinrova (#837) 2021-08-04 14:13:00 -04:00
z64cutscene.h OnePointDemo OK (#719) 2021-03-31 12:18:31 -04: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
z64interface.h Interface improvements (#822) 2021-06-15 13:29:10 -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
z64map_mark.h Improve the format in z_map_mark_data.c and cleanup mapmark.py (#798) 2021-04-28 05:10:23 -04: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 En_Horse OK (#554) 2021-04-11 21:23:40 -04:00
z64save.h Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803) 2021-05-02 19:15:16 -04:00
z64scene.h Add UNK_09 macro and other minor fixes (#813) 2021-05-14 20:11:00 -04:00
z64transition.h libultra cleanup (#215) 2020-10-03 11:22:44 -04:00