Lucas Shaw
045a92d7c3
Big actor cleanup (fixed) ( #69 )
...
* Started doing cleanup
* did more work
* did more migration
* migrated more rodata and worked on some structs
* did more work
* Removal of ROOM field from initvars, some rodata migration, some string decompilation
* General update
* Decompiled vt strings
* Tool work
* Tool improvements
* 270 overlay rodata files remaining
* better float handling
* floats
* Many more floats
* migrated boss_mo
* assorted fixes
* Migrated 10
* tool improvements
* migrated 10
* 10 more
* 1 more
* did a few more
* fixes
* 10 more
* more floats
* Did some more, updated migrate-rodata.py to 'modify' the C file after processing in order to make to compiler process it as if it was changed.
* removed changes made to script by accident
* migrated largest rodata - ovl_fishing
* Did some more
* 114 remaining
* 99 left !
* almost done migrating rodata
* did some more, done for tonight
* almost done, tried add support to the script for z_player
* All possible rodata migrated in actor overlays
* update
* removed static from all overlays, ran format.sh
* Removed unknown actor structs
* converted a few floats
* Added new lines to header files that were missing them. Removed unused asm files
* Removed unused asm files
* Formatting newlines
Further formatting
spacing
.float spacing
More space formatting
More spacing formatting
Removing .balign 4 after floats
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2020-04-14 14:16:34 -04:00
silv3rwing07
5aef81071e
padmgr and related ( #71 )
...
* In process of moving changes over from old repo
* Merged in changes
* Finished import of padmgr changes from old repo
* Adjusted some volatile
* Improving padmgr volatile situation
* Almost matched osReadMempak
* Working on osMempakDataCRC
* Explanations and equivalents but no matches for osMempakAddrCRC and osMempakDataCRC
* OK after merge
* Matched osMempakAddrCRC and osMempakDataCRC
* Matched osReadMempak
* Updated PadMgr function names to be less like original code
* Changed variable names to make them further from original code
* Changed names and it stopped matching
* Undid clang-format steamrollering whitespace memes
* Cleaned up Input names
* More formatting changes
* Moved padmgr to z64.h, deleted padmgr.h
2020-04-14 13:17:25 -04:00
Random
298abfb128
Decompile z_jpeg.c ( #70 )
...
* Decompile z_jpeg.c
- Decompile z_jpeg.c
- Move .bss variables from fault.c and fault_drawer.c into .s files to avoid bss reordering
* Rename JPEGWork to JpegWork and minor fix in Jpeg_GetU16
2020-04-13 19:03:10 -04:00
Random
6975b35591
remove useless parentheses
2020-04-08 20:24:46 +02:00
Random
0c0c15018f
Run format.sh
2020-04-08 18:45:50 +02:00
Random
d0cf6e153b
Decompile sleep.c and printutils.c
...
- Decompile sleep.c (OK)
- Decompile printutils.c (OK)
- Fix 1 non-matching in z_room.c
- Get rid of some magic numbers
2020-04-08 18:36:15 +02:00
dark-samus
5c5fa61d4e
fix 3 non-matchings in z_demo.c
2020-04-06 18:38:31 -04:00
glank
6b04aba0ea
Tidy up known render and combine modes
2020-04-05 23:40:06 +02:00
Thar0
6f36c5a048
Fix recently decompiled graph.c functions, Rename gfxArr to dispRefs
2020-04-05 19:05:12 +01:00
fig02
d975d809b8
Merge pull request #51 from Thar0/z_view
...
Decompile z_view.c
2020-04-05 13:54:17 -04:00
Random
43acba22a9
Fixes in PR #50 (3)
...
- Rename Graph_OpenDisp/Graph_CloseDisp to Graph_OpenDisps/Graph_CloseDisps
- Rename gfxArr to dispRefs
2020-04-05 19:29:30 +02:00
Tharo
fd38a9f2b7
Use correct VT macro
...
Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-05 16:06:55 +01:00
Random
02eaaa2039
Fixes in PR #50
...
- Rename "sGraph_UpdateTime" to "sGraphUpdateTime"
- Rename "Graph_Ct"/"Graph_Dt" to "Graph_Init"/"Graph_Destroy"
- Change the LOG_STRING macro
- Rename "LOG_VALUE" to "LOG_NUM"
- Fix brace style
- Rename "UcodeInfo"/"UcodeDisas" to "UCodeInfo"/"UCodeDisas"
- Fix field names in "UCodeDisas"
- Fix typo in "GraphicsContext"
- Change the size of unknown fields in "GraphicsContext" to hex
- Rename "game_init_func" to "gameStateInitFunc"
2020-04-05 12:32:08 +02:00
Thar0
00542fef56
More small cleanups, Improve legibility of func_800AAA9C by removing several unnecessary casts
2020-04-05 03:08:01 +01:00
Thar0
668d35b77f
Cleanups, Use VT macros
2020-04-05 02:50:46 +01:00
Thar0
b452adfecb
Remove pragma comments, convert line number args to decimal
2020-04-04 23:39:53 +01:00
Random
168d90b6b0
Add log macros
...
- Add log macros required to match `Graph_GetNextGameState`
2020-04-04 19:28:53 +02:00
Thar0
9b6cf8a92a
Merge https://github.com/zeldaret/oot into z_view
2020-04-04 18:20:45 +01:00
Thar0
5dea0fd785
Decompile most of z_view
2020-04-04 18:17:56 +01:00
Random
fed29c029c
Run format.sh
2020-04-04 18:38:05 +02:00
Random
f818fb5299
Decompile graph.c
...
- decompile `graph.c` (2 non-matchings left)
- decompile `z_game_dlftbls.c`
- add noop macros in `gbi.h`
2020-04-04 18:12:59 +02:00
KrimtonZ
3ab1af0c24
pr updates
2020-04-02 12:44:19 -05:00
KrimtonZ
25dcb73520
Merge branch 'master' into skelanimeupdates
2020-03-31 20:59:51 -05:00
KrimtonZ
32bda67e0f
Name a few unknown parameters
2020-03-31 20:53:53 -05:00
KrimtonZ
f069777b19
name more skelanime struct members, match all but 1 function, name more functions, some documentation
2020-03-31 20:19:21 -05:00
KrimtonZ
75f570f4ac
skelanime wip
2020-03-31 18:29:09 -05:00
Roman971
e99b2af35a
Merge branch 'master' into z_rcp
2020-03-31 10:02:59 +02:00
KrimtonZ
8f54c82a96
rename SkelAnime_ChangeAnimation functions
2020-03-30 22:37:01 -05:00
KrimtonZ
8c993d9676
Merge branch 'master' into skelanimeupdates
2020-03-30 22:22:54 -05:00
KrimtonZ
6d6299cb0b
use ONE_THIRD define for 0.333f
2020-03-30 22:22:10 -05:00
KrimtonZ
b9f2d4c707
more skelanime wip
2020-03-30 20:12:49 -05:00
KrimtonZ
24babfa95a
skelanime update wip
2020-03-30 17:53:26 -05:00
Roman971
f64174730c
Decompile z_elf_message.c (1 non matching left)
2020-03-30 22:29:55 +02:00
KrimtonZ
b337e1d518
Merge branch 'master' into skelanimeupdates
2020-03-30 07:03:12 -05:00
Roman971
f5ffe8687d
Decompile z_rcp.c (1 non matching left)
2020-03-29 18:47:38 +02:00
Random
462c284a17
Fixes in PR #41
...
- Use VT macros in code_800D31A0.c
- Change D_8012DBC0 to false instead of 0
- Fix brace style
2020-03-29 11:57:52 +02:00
Random
5f027cb431
Decompile z_quake.c and code_800D31A0.c
...
- `code_800D31A0.c` : OK
- `z_quake.c` : OK
2020-03-29 03:24:39 +02:00
KrimtonZ
e03c7377b9
name SkelAnime struct members
2020-03-25 22:01:24 -05:00
Ethan Roseman
a4be535164
Merge branch 'master' into ovl_En_Ru2_new
2020-03-25 18:56:09 -04:00
Ethan Roseman
36119f6c65
PR suggestions
2020-03-25 18:39:51 -04:00
KrimtonZ
2a4dd0b013
add non_matching code for func_800A29BC
2020-03-25 16:33:26 -05:00
KrimtonZ
dc35cba293
naming update
2020-03-25 14:44:42 -05:00
KrimtonZ
864cb28e27
remove skelanime data files, few extra namings, add non_matching for func_800A2E70
2020-03-25 14:38:16 -05:00
KrimtonZ
582b32d39c
Fix Draw Callbacks, fix segmented address in z_en_bird
2020-03-25 11:43:11 -05:00
KrimtonZ
095924d05a
clang formatting
2020-03-25 11:07:09 -05:00
KrimtonZ
498d19655b
Merge branch 'master' into skelanime
2020-03-25 10:52:04 -05:00
KrimtonZ
8970968cfc
name SkelAnime_InitLinkAnimetion, name load animation types and callbacks, rename several segement addresses in decompiled actors
2020-03-25 10:51:25 -05:00
fig02
80b0f9b5fe
Merge pull request #35 from JoshDuMan/nonmatching
...
Match z_en_bird.c's last function.
2020-03-25 11:38:37 -04:00
JoshDuMan
f0c033ce70
Match func_809C1CAC
2020-03-24 19:52:07 -04:00
dark-samus
4b7f998b20
match final non-matching in sys_cfb.c
2020-03-24 16:53:09 -04:00
KrimtonZ
a99840162b
minor formatting updates, match func_800A4A20
2020-03-24 14:01:00 -05:00
KrimtonZ
f2c65d615b
fix jenkins build errors, small prototype update
2020-03-24 13:06:15 -05:00
KrimtonZ
db3cfe1b61
use clang, modify z64animation.h and z64dma.h to use open braces on newline
2020-03-24 12:16:13 -05:00
KrimtonZ
8bbac143cd
Merge branch 'master' into skelanime
2020-03-24 11:56:37 -05:00
KrimtonZ
ac4a51bf8f
Rename SkelAnime functions, which in turn modified a bunch of actor functions. Move necessary skelanime function calls to functions.h, remove unnecessary skelanime functions from functions.h, other skelanime cleanup
2020-03-24 11:52:12 -05:00
fig02
4eb7f023f3
Merge pull request #30 from Roman971/format-fixes
...
Fix some issues with the formatter
2020-03-23 23:04:32 -04:00
dark-samus
4bbbdc39fd
use a better variable name
2020-03-23 20:04:09 -04:00
dark-samus
94e4c2b91f
fix final non-matching in fault_drawer.c
2020-03-23 19:46:07 -04:00
Roman971
9a63f1d4d1
Run formatter with changes
2020-03-24 00:35:35 +01:00
Roman971
da151300f7
Run gcc checks with NON_MATCHING defined
2020-03-23 23:20:34 +01:00
KrimtonZ
0d93e48035
skelanime WIP, name Matrix_TranslateThanRotateZYX, match Matrix_Translate
2020-03-23 16:31:24 -05:00
Roman971
7fcc79fc4d
Decompile Path_CopyLastPoint
2020-03-23 21:20:30 +01:00
Roman971
e88ea64835
Decompile Path_OrientAndGetDistSq
2020-03-23 21:19:54 +01:00
Roman971
a9d4fec113
Decompile Path_GetByIndex
2020-03-23 21:19:24 +01:00
Roman971
d2729f9d88
Split z_path.c and Rename some small files and functions
2020-03-23 21:18:53 +01:00
KrimtonZ
6072055c85
fix merge conflics
2020-03-22 20:57:25 -05:00
KrimtonZ
d136468ace
Merge branch 'master' into skelanime
2020-03-22 20:35:10 -05:00
KrimtonZ
2a158f79ce
skelanime WIP
2020-03-22 20:24:00 -05:00
Roman971
64b5536ab8
Fix remaining non matchings
2020-03-23 01:38:31 +01:00
Roman971
8cfe7cce9f
Format all src C files
2020-03-22 22:20:03 +01:00
Roman971
251aea64ab
Add comments and macros to prevent match issues with formatting
2020-03-22 21:09:54 +01:00
Roman971
b372169893
Merge pull request #22 from Random06457/master
...
Decompiled z_sample.c
2020-03-22 20:04:39 +01:00
Random
0db4629a63
Update PR #22
...
minor fixes
2020-03-22 19:32:44 +01:00
glank
fd7c3c9e56
Responding to PR comments
2020-03-22 18:55:23 +01:00
glank
d7b0ba7c06
Merge branch 'master' into z_en_tk
2020-03-22 18:43:40 +01:00
Random
bd00e0d1da
Decompiled z_sample.c
...
`z_sample.c` : 1 non matching left
2020-03-22 17:37:38 +01:00
fig02
a3bac9fbb2
Merge pull request #17 from glankk/code_800FCE80
...
code_800FCE80 OK
2020-03-21 21:46:44 -04:00
fig02
65213ab140
Merge pull request #19 from Random06457/master
...
Decompiled code_800ACE70.c
2020-03-21 21:43:21 -04:00
Roman971
f0026cee24
Merge pull request #16 from fig02/en_dog
...
en_dog OK
2020-03-22 00:46:28 +01:00
Random
ec8889dc63
Changes in PR #19
...
- Replaced old `gsDPSetOtherMode`s with gfxdis' output
- Replaced `Gwords` with `Gfx`
2020-03-21 21:40:18 +01:00
Random
ea882fb46d
Decompiled code_800ACE70.c
...
`code_800ACE70` : OK
2020-03-21 19:09:05 +01:00
glank
fa4c848cad
Merge branch 'master' into z_en_tk
2020-03-21 12:31:29 +01:00
KrimtonZ
7bf1c2fb50
Merge branch 'master' into skelanime
2020-03-20 21:53:46 -05:00
KrimtonZ
96ba073f19
skelanime, wip
2020-03-20 21:51:12 -05:00
glank
0cf75356a5
code_800FCE80 OK
2020-03-21 03:43:48 +01:00
fig02
dff17518ef
pr review changes
2020-03-20 20:42:57 -04:00
KrimtonZ
db5f70ad1c
skelanime wip
2020-03-20 16:12:26 -05:00
Random
3e764f6ed8
Changes in PR #15
...
- Renamed `prenmi_buff.c` to `z_prenmi_buff.c`
2020-03-20 18:13:47 +01:00
Random
1fe00fcce1
Changes in PR #15 (2)
...
- Documented z_msgevent.c
2020-03-20 17:15:39 +01:00
Random
bf07193791
Changes in PE #15
...
- Removed `struct_8011F3F0`
- Removed old comment
2020-03-20 15:26:44 +01:00
Random
8779aaa758
Decompiled various small files
...
- Decompiled `code_8006C360.c`
- Decompiled `prenmi_buf.c` (previously `code_8007BE60.c`)
- Decompiled `code_8007BF10.c`
- Documented `sys_ucode.c`
2020-03-20 15:26:43 +01:00
fig02
aa603ca229
merge and change scene thing
2020-03-20 08:17:48 -04:00
fig02
f3b509eb68
en_dog OK
2020-03-20 08:04:35 -04:00
fig02
a6bad6ab70
Merge pull request #11 from wedarobi/master
...
Decomp z_lib.c
2020-03-19 22:13:17 -04:00
Roman971
c0965dcbe6
Merge pull request #5 from mzxrules/z_debug
...
z_debug.c
2020-03-20 01:44:59 +01:00
wed
8a74686890
Changes
2020-03-20 11:25:53 +11:00
mzxrules
858e937519
tweak defines
2020-03-19 20:10:32 -04:00
Random
c931cd5837
Decompiled z_title.c
...
`z_title.c` : matching
2020-03-19 23:29:33 +01:00
mzxrules
8063249af4
changes
2020-03-19 18:06:41 -04:00
wed
a01f868a1a
Finish z_lib.c
2020-03-20 08:48:38 +11:00