1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-02 15:55:59 +00:00
oot/src/code
Sirius902 5c631e3170
ovl_En_Horse_Normal (#403)
* merge upstream

* Merge upstream

* Match EnHorseNormal_Init

* Work on EnHorseNormal_Draw (probably finish depending functions first)

* func_80A6CC88

* Work on EnHorseNormal_Draw

* Clang format

* Properly use OPEN_DISPS

* Stop using thisx lol

* Use the funny angle number

* Use &D_04049AD0 because it's not a display list?

* Stop using fun macros to fix stack

* EnHorseNormal_Draw

* EnHorseNormal_Destroy

* EnHorseNormal_Update

* Use disp macros EnHorseNormal_Draw

* Correctly type D_04049AD0

* func_80A6C570

* Name some draw stuff

* Fix names

* Make if condition more readable

* func_80A6B30C and fix incorrect  pointer types

* Function prototypes

* func_80A6B250

* Add header comment

* Move skin function to functions.h

* Change to stable

* Cleanup a little

* Match some more

* Work on func_80A6BE6C (won't compile yet)

* Work on func_80A6BE6C again

* Progress

* func_80A6CAFC

* Match all but one :)

* Work on func_80A6BE6C

* Work more on func_80A6BE6C

* Multiply floating point by integer lol

* Reorder assignment to almost match

* func_80A6BE6C

* Fix warning and remove unnecessary forward declarations

* Data section

* Cleanup data a bit

* More cleanup and clang format

* Clang format is a little confused

* More cleanup

* Formatting

* Revert formatting on z_bg_spot01_objects2.c

* Name unk_14C

* Add clone comment

* Name clonePos

* Name and cleanup

* Name some animation related stuff

* Remove unnecessary assignment

* Name cloneRotY

* Use ARRAY_COUNT for sAnimations

* Add more to unknown struct layout

* Use u8 for last struct member

* Use s32 for length

* Add padding disclaimer

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

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

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

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

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

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

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

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

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

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

* Various suggestions

* Replace 10430.378f

* Remove padding because alignment

* Move function array out of function

* Remove struct name being present twice unecessarily

* Oops forgot the s

* Don't separate static vars from others

* Some cleanup

* Use ARRAY_COUNT(sJntSphItemsInit)

* Minor cleanup

* Rename enum members

* Oops forgot to rename enum

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2020-10-12 18:45:16 -04:00
..
__osMalloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
audio_effects.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
audio_heap.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
audio_playback.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
audio_seqplayer.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
audioMgr.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800A9D40.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800A9F30.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800ACE70.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800AD920.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800BB0A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800C3C20.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800D2E30.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800D31A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800DACC0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800E11F0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800EC960.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800F7260.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800F9280.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800FBCE0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800FC620.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800FCE80.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800FD970.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_8006BA00.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_8006C3A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_8006C510.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_8008E6A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80097A00.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
code_800430A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_801067F0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_801068B0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80043480.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80069420.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80106860.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80110450.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
db_camera.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
debug_malloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
fault.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
fault_drawer.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
flg_set.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
game.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
gamealloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
gfxprint.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
graph.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
irqmgr.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
jpegdecoder.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
jpegutils.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
listalloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
loadfragment2.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
logseverity.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
main.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
mempak.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
mtxuty-cvt.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
padmgr.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
padsetup.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
padutils.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
PreRender.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
printutils.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
relocation.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sched.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
shrink_window.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sleep.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
speed_meter.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_cfb.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_math.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_math3d.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_math_atan.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_matrix.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
sys_ucode.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
system_malloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
title_setup.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
TwoHeadArena.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
ucode_disas.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_actor.c ovl_En_Horse_Normal (#403) 2020-10-12 18:45:16 -04:00
z_actor_dlftbls.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_bgcheck.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_camera.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_cheap_proc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_collision_btltbls.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_collision_check.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_common_data.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_construct.c Decompile z_kanfont (#443) 2020-10-12 17:42:17 -04:00
z_debug.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_debug_display.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_demo.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_DLF.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_draw.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_eff_blure.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_eff_shield_particle.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_eff_spark.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_eff_ss_dead.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_effect.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_effect_soft_sprite.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_effect_soft_sprite_dlftbls.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_effect_soft_sprite_old_init.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_elf_message.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_en_a_keep.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_en_item00.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_face_reaction.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo_circle.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo_fade.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo_triforce.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo_wipe1.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fcurve_data_skelanime.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_game_dlftbls.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_horse.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_jpeg.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_kaleido_manager.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_kaleido_scope_call.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_kaleido_setup.c Decompile z_kanfont (#443) 2020-10-12 17:42:17 -04:00
z_kanfont.c Decompile z_kanfont (#443) 2020-10-12 17:42:17 -04:00
z_kankyo.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_lib.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_lifemeter.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_lights.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_malloc.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_map_data.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_map_exp.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_map_mark.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_message_PAL.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_moji.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_msgevent.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_olib.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_onepointdemo.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_parameter.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_path.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_play.c Make Gamestates use thisx for entry point functions (#437) 2020-10-11 21:52:50 -04:00
z_player_call.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_player_lib.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_prenmi.c Make Gamestates use thisx for entry point functions (#437) 2020-10-11 21:52:50 -04:00
z_prenmi_buff.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_quake.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_rcp.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_room.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_sample.c Make Gamestates use thisx for entry point functions (#437) 2020-10-11 21:52:50 -04:00
z_scene.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_scene_table.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_skelanime.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_skin.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_skin_awb.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_skin_matrix.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_sram.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_ss_sram.c Decompile z_sram.c (#431) 2020-10-11 13:45:08 -04:00
z_view.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_vimode.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_vismono.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_vr_box.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_vr_box_draw.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00