1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00
Commit graph

397 commits

Author SHA1 Message Date
Ethan Roseman
c07bdf72fd Merge branch 'master' into osx-support 2020-04-23 14:54:28 -04:00
Ethan Roseman
f605b3a8a7 fixbaserom cleanup 2020-04-23 14:53:08 -04:00
Synray
4d3d264624
Decompile code_801067F0, 80106860, 801068B0 (#89)
* Decompile code_801067F0, 80106860, 801068B0

* clang format

* Remove unnecessary casts
2020-04-23 10:59:25 +02:00
Ethan Roseman
b6b50d6638 Docker stuff 2020-04-22 19:36:35 -04:00
Ethan Roseman
60b02ccac1 Iniital Dockerfile 2020-04-22 15:49:34 -04:00
Ethan Roseman
48753ffb09 Merge branch 'ido7setup' into osx-support 2020-04-22 15:44:22 -04:00
Ethan Roseman
80f5b9b6da Makefile reversion 2020-04-22 15:34:34 -04:00
Ethan Roseman
f54e3abbee Adding ido7 to repo 2020-04-22 15:32:41 -04:00
Roman971
0a59863457
Disassemble the rom header and entrypoint function (#87)
The actual boot code (ipl3) is still only incbin'd. If someone else wants to disassemble it properly, go ahead. I might do it eventually, but for now it doesn't seem required for shiftability or anything interesting.
2020-04-22 13:44:46 -04:00
Roman971
26b8e77f99
Fix ROM and function pointers in overlays (#88)
* Fix ROM pointers in overlays

ROM pointers are fewer but much harder to find so hopefully this is all of them.

* Fix function pointers in overlay data
2020-04-22 13:44:11 -04:00
Lucas Shaw
3c440ef7f1
Finished code_801031F0.c, guPosition.c, guLookAtHilite.c (#84)
* started microcode decomp

* Modified spec to fix error

* osContGetQuery OK

* Decompiled guLookAtHilite.c

* guPosition.c OK

* Fixed formatting

* osViSetEvent.c OK

* Deleted unnecessary files

* Made suggested changes, merged playblack.c

* Removed line breaks from comments

* Removed argument listing
2020-04-22 13:20:49 -04:00
JoshDuMan
06b731c494
Match sys_math.c and one in z_scene_table.c (#90)
* Match func_800CA63C

* Remove func_800CA63C.s

* Match func_8009BEEC?

* Remove func_8009BEEC.s
2020-04-22 12:18:53 -04:00
JoshDuMan
b8a0751518
Match coss.c (#86)
* Match coss.c

* Remove asm file.

* Update src/libultra_code/coss.c

Co-Authored-By: Lucas Shaw <49287729+shawlucas@users.noreply.github.com>

Co-authored-by: Lucas Shaw <49287729+shawlucas@users.noreply.github.com>
2020-04-21 17:40:56 -04:00
Ethan Roseman
3951872edc Initial setup for OSX repo support 2020-04-21 17:26:20 -04:00
JoshDuMan
e050319e07
Decompile playback.c (#82)
* Decompile playback.c

* Remove rename_sym.sh

* Fixed for loop in pop_node_...

* Address krim's other issues

* Remove rename_sym again

* Address Roman's comments.

* Fix build and remove rename_sym another time.
2020-04-21 04:19:33 -04:00
Ethan Roseman
cc045015d9 Updating Jenkinsfile 2020-04-21 01:19:09 -04:00
Ethan Roseman
469058e363 Makefile machinery work 2020-04-21 00:59:59 -04:00
Roman971
aecf375b84
Fix all RAM pointers in overlays (#81) 2020-04-19 11:57:38 -04:00
krimtonz
ee48867446
Math Files (#76)
* math3d wip

* math3d wip

* wip

* wip

* wip

* wip

* final update before pr

* run format.sh

* fix merge conflicts

* tharo suggestions update

* fig formatting suggestion

* math3d pr updates

* use sFactorialTbl in sys_math
2020-04-18 23:28:24 -04:00
Synray
eefbe9afe1
Decompile code_800D2E30 and use struct in code_800A9F30 (#80)
* Match func_800AA000

* Match z_camera/func_800437F0

* Decompile code_800D2E30, use struct in 800A9F30

* Format

* Remove 'U' from literals

* Remove bss, cleanup z_camera

* Review changes, rename temp

* Move externs to variables.h
2020-04-18 22:56:53 -04:00
Lucas Shaw
21750d5aee
Naming some functions in libultra_code, decompiling a decent amount. (#77)
* osgetactivequeue ok

* osspdevicebusy ok

* osGetCurrFaultedThread ok

* osSpRawStartDma OK

* __osSpSetPc and osViGetCurrentFramebuffer OK

* sinf, sins, and sptask OK

* coss OK

* cosf OK

* ran format.sh

* Updated PR to use ultratypes

* osContStartQuery OK

* ran format.sh

* Updated PR to fix issues

* Made suggested changes
2020-04-18 21:40:27 -04:00
krimtonz
4961eb0a90
SkelAnime Updates (#78)
* update naming, minor updates

* rename postLimbUpdate to postLimbDraw

* recently decompiled actor naming update
2020-04-18 14:08:12 -04:00
Ethan Roseman
cb5a604ea7
Decompiled ovl_En_Ru1 (#72)
* Decompiled ovl_En_Ru1

* Formatting

* Actor/TransitionDrawTable struct fixes

* addressing PR comments

* addressing PR comments (2)
2020-04-18 04:50:41 -04:00
Nicholas Estelami
62864ba11d
Update README.md 2020-04-17 18:05:21 -04:00
Roman971
262f6c507c
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
2020-04-16 17:36:12 -04:00
Random
9ac1f8130d
Decompile jpegutils.c (#75)
* Decompile jpegutils.c

jpegutils.c : OK

* Fix a typo

* Fixes in PR #75

- Fix a type in JpegWork
- Remove clang-format off/on in z_quake.c
- Move the jpegutils rule at the end of makefile
2020-04-16 14:08:23 -04:00
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
Ethan Roseman
16646aa34d
Decompiled ovl_Bg_Spot17_Funen (#67)
* First steps

* Decompiled ovl_Bg_Spot17_Funen

* static functions no more
2020-04-13 19:30:01 -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
Ethan Roseman
f3c945cc82
Decompiled ovl_Bg_Bdan_Objects (#66)
* Decompiled ovl_Bg_Bdan_Objects

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Header update

* formatting

* Update include/z64.h

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Fixing structs

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-12 12:04:14 -04:00
pixel-stuck
d263b9dabd
add script to find (and optionally delete) old/unused asm files and delete all currently present old/unused asm files. (#65) 2020-04-11 22:39:49 -04:00
fig02
a45e7920bc
Merge pull request #60 from gamestabled/ovl_En_Ani
ovl_En_Ani
2020-04-10 16:48:40 -04:00
fig02
0f17ed8961
Merge pull request #55 from fig02/master
Fix make setup
2020-04-10 15:13:31 -04:00
fig02
37e78ba513
Merge pull request #61 from Random06457/master
Decompile sleep.c and printutils.c
2020-04-10 15:12:37 -04:00
chandler
4e54470b07 deleted data files for EnAni and BgHidanFirewall 2020-04-10 02:33:44 -04:00
chandler
22e9e2b6a2 removed asm files for EnAni and BgHidanFirewall 2020-04-09 15:22:48 -04:00
chandler
4c8ff91da7 made suggested changes 2020-04-09 00:10:43 -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
chandler
81cad9fe7d made limbIndex decimal 2020-04-07 23:50:08 -04:00
chandler
2b8bc8ce6d made suggested changes 2020-04-07 23:39:10 -04:00
chandler
8f9ea21511 cleaned up a bit 2020-04-07 19:42:33 -04:00
chandler
d852f291e4 merged from master 2020-04-07 18:00:34 -04:00
fig02
0a25ab74c4
Merge pull request #58 from gamestabled/master
Bg_Hidan_Firewall
2020-04-07 13:26:59 -04:00
chandler
2bf2cef35e small change in firewall.h 2020-04-07 11:51:12 -04:00
chandler
e14b6eefec made recently suggested changes 2020-04-07 11:03:10 -04:00
chandler
fa7874137b matching 2020-04-07 10:57:04 -04:00
fig02
b71d74d20c
Merge pull request #59 from pixel-stuck/master
fix 3 non-matchings in z_demo.c
2020-04-07 08:50:36 -04:00