1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-09 00:00:44 +00:00

Decompile z_play.c and Match/Document some of z_view.c (#74)

* Decompile z_play.c and Match/Document some of z_view.c

Also fix the last non matching in z_sample.c and update some game state functions.

* Suggestions from PR #74

* Fix undefined reference to Gameplay_DrawOverlay

* Suggestion from PR #74 (2)

* Fix a fake argument in func_800BC450
This commit is contained in:
Roman971 2020-04-16 23:36:12 +02:00 committed by GitHub
parent 9ac1f8130d
commit 262f6c507c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
278 changed files with 5139 additions and 5939 deletions

View file

@ -69,7 +69,7 @@ glabel func_800C99C4
/* B40C40 800C9AA0 AE2F0000 */ sw $t7, ($s1)
/* B40C44 800C9AA4 27B000D8 */ addiu $s0, $sp, 0xd8
/* B40C48 800C9AA8 02002025 */ move $a0, $s0
/* B40C4C 800C9AAC 0C02A89E */ jal func_800AA278
/* B40C4C 800C9AAC 0C02A89E */ jal View_Init
/* B40C50 800C9AB0 8FA50224 */ lw $a1, 0x224($sp)
/* B40C54 800C9AB4 2409000A */ li $t1, 10
/* B40C58 800C9AB8 240A00F0 */ li $t2, 240
@ -80,7 +80,7 @@ glabel func_800C99C4
/* B40C6C 800C9ACC AFA000A4 */ sw $zero, 0xa4($sp)
/* B40C70 800C9AD0 AFA000AC */ sw $zero, 0xac($sp)
/* B40C74 800C9AD4 02002025 */ move $a0, $s0
/* B40C78 800C9AD8 0C02A93F */ jal func_800AA4FC
/* B40C78 800C9AD8 0C02A93F */ jal View_SetViewport
/* B40C7C 800C9ADC 27A500A4 */ addiu $a1, $sp, 0xa4
/* B40C80 800C9AE0 8FAC0224 */ lw $t4, 0x224($sp)
/* B40C84 800C9AE4 02002025 */ move $a0, $s0

View file

@ -56,7 +56,7 @@ glabel func_800C9E44
/* B41050 800C9EB0 0C031AB1 */ jal Graph_OpenDisps
/* B41054 800C9EB4 2407013E */ li $a3, 318
/* B41058 800C9EB8 27A40080 */ addiu $a0, $sp, 0x80
/* B4105C 800C9EBC 0C02A89E */ jal func_800AA278
/* B4105C 800C9EBC 0C02A89E */ jal View_Init
/* B41060 800C9EC0 8FA501B4 */ lw $a1, 0x1b4($sp)
/* B41064 800C9EC4 240F000A */ li $t7, 10
/* B41068 800C9EC8 241800F0 */ li $t8, 240
@ -67,7 +67,7 @@ glabel func_800C9E44
/* B4107C 800C9EDC AFA00058 */ sw $zero, 0x58($sp)
/* B41080 800C9EE0 AFA00060 */ sw $zero, 0x60($sp)
/* B41084 800C9EE4 27A40080 */ addiu $a0, $sp, 0x80
/* B41088 800C9EE8 0C02A93F */ jal func_800AA4FC
/* B41088 800C9EE8 0C02A93F */ jal View_SetViewport
/* B4108C 800C9EEC 27A50058 */ addiu $a1, $sp, 0x58
/* B41090 800C9EF0 8FA901B4 */ lw $t1, 0x1b4($sp)
/* B41094 800C9EF4 27A40080 */ addiu $a0, $sp, 0x80