Commit Graph

1054 Commits

Author SHA1 Message Date
Rozelette b4b8044d38
Make the disasm target when appropiate instead of needing to do it manually (#10) 2020-08-28 20:55:08 -04:00
Rozelette 125b16cb17
Add object enum (#9) 2020-08-07 18:12:03 -04:00
Rozelette 12e258561e
Cleanup some function identifications. (#7)
* Add missed functions, remove not functions

* Fix typo
2020-08-06 18:11:32 -04:00
Rozelette f37da749f6
Add actor and scene enums (#8) 2020-08-06 18:06:38 -04:00
Kenix3 e80336d4a8 Initial code format 2020-07-24 20:00:52 -04:00
Kenix3 7323c17eaf Adds clang-format script to MM
Same as OOT for consistency.
2020-07-24 19:57:54 -04:00
mmb70 ac685a8161 updated functions.txt for func_800968B0 2020-07-24 19:26:37 -04:00
mmb70 ae6b5c6aa1 fix local var names 2020-07-24 19:26:37 -04:00
mmb70 b93b6f0389 fix improper spacing 2020-07-24 19:26:37 -04:00
mmb70 522ccdbb95 func_0x800968B0 PR review 2020-07-24 19:26:37 -04:00
mmb70 7b45043c97 Matched boot_0x800968B0.c
Matched func_800968B1
2020-07-24 19:26:37 -04:00
Kenix3 07cfe5b43f Merge branch 'master' of https://github.com/zeldaret/mm 2020-06-23 17:38:34 -04:00
Rafael Moura c9dc82cbe5 func_800B72F8 decompiled 2020-06-23 17:35:29 -04:00
MMDecomp 7d61d4e6ff Decompile `game.c` 2020-06-23 10:55:11 -04:00
Kenix3 2d191e301a Adds TODO comments to remove implementation defined pointer manipulation. 2020-06-06 19:27:28 -04:00
Kenix3 cb8b9a2020 z_lib now uses SEGMENTED_TO_VIRTUAL macro
Additionally removed some TODO comments in z_scene and defining gRspSegmentPhysAddrs array size as NUM_SEGMENTS
2020-06-04 23:25:57 -04:00
Kenix3 5c97d35841 Added macros header
Additionally, updated code to use PHYSICAL_TO_VIRTUAL and ALIGN16 macros.
Additionally, retyped gRspSegmentPhysAddrs back to u32 as in OOT. These get the straight return value of PHYSICAL_TO_VIRTUAL, so they are u32.
2020-06-04 23:07:09 -04:00
Kenix3 664182c289 Fixes known undefined behaviour from DmaMgr and Lib_Ptr taking u32 rather than void* 2020-06-04 21:41:44 -04:00
Kenix3 dfbcac539e All z_scene functions now OK 2020-06-04 20:41:16 -04:00
Kenix 6046720adc Allows make process to identify bin utils prefix (from OOT makefile) 2020-05-12 17:08:58 -04:00
MMDecomp 730b1ae46b Add helper script to generate mips2c C-Context
- This script is based on it's OoT decomp variant
2020-05-04 22:51:31 +02:00
MMDecomp 8e8d99e6fd Improve Drag & Drop support for IDO Tools
- Add optional default for QEMU_IRIX to Makefile
- Add tools/qemu-mips to .gitignore
-  `make clean` should not fail if rom.z64 doesnt exist
2020-05-04 22:51:31 +02:00
rozlette f9149c93a9 Merge branch 'master' of https://github.com/zeldaret/mm 2020-05-01 16:50:01 -05:00
rozlette df921ce024 Automatically find and create src directories when building 2020-05-01 16:49:27 -05:00
rozlette a5eed624ed Add ZAP2 module 2020-05-01 16:48:21 -05:00
Kenix3 f230898dfe
z_scene functions now use the same structs as OOT (#3)
* z_scene now uses OOT structs where available

Additionally commits a decompiled z_actor function.

* Fixes audio_setBGM function call in Scene_HeaderCommand15

* Update structs.h

Co-authored-by: rozlette <uberpanzermensch@gmail.com>
Co-authored-by: Egor Ananyin <ananinegor@gmail.com>
2020-04-29 22:14:29 -05:00
rozlette 5687f3741a Fix variadic function typedef to be legal C 2020-04-28 15:11:14 -05:00
rozlette 01c86ec621 Decompile z_prenmi.c 2020-04-23 01:11:25 -05:00
rozlette c1bb5f00d6 Decompile z_rpc.c 2020-04-22 15:38:09 -05:00
rozlette 639df45a03 Some work on z_view 2020-04-21 11:49:16 -05:00
rozlette e3a064dbcc Merge branch 'master' of https://github.com/zeldaret/mm 2020-04-21 00:46:08 -05:00
rozlette ec3ccda941 Fix build issue 2020-04-21 00:45:00 -05:00
rozlette 2b50a1eab8 Update to latest ghidra project 2020-04-19 13:15:10 -05:00
Rozelette 9c85eaea92
Move installation to wiki and update readme 2020-04-18 18:04:03 -05:00
rozlette 57587fa612 Add file_setup.sh to streamline first-time setup for each file 2020-04-18 14:42:28 -05:00
rozlette 73893926c4 Fix warnings for pointer/int mismatch 2020-04-17 13:34:15 -05:00
Kenix3 2ab90dca27
Adds in fully matching Scene_HeaderCommand00
Additionally fixes code formatting in Scene_HeaderCommand15
2020-04-08 18:37:27 -04:00
Kenix3 4e63d23cf4
Merge pull request #2 from Kenix3/master
Decompile functions in z_scene
2020-04-08 17:52:03 -04:00
Kenix f8713ceb46 Decompile functions in z_scene 2020-04-08 17:49:40 -04:00
rozlette c9194f3164 Add missing file in files_with_nonmatching.txt 2020-03-21 23:14:35 -05:00
rozlette b1dda27053 Decompile code_0x800AF710.c 2020-03-19 22:59:03 -05:00
rozlette adc18f10e2 Port over some cutscene documentation from oot 2020-03-18 21:03:18 -05:00
Rozelette b1efb0eebb
Merge pull request #1 from Cleverking2003/decomp
z_actor.c: Some functions
2020-03-18 20:32:33 -05:00
Egor Ananyin 42f515dd4c z_actor.c: Some functions 2020-03-18 16:01:00 +03:00
rozlette b4aad9b857 Document some z_eff_* files 2020-03-18 02:32:11 -05:00
rozlette 1b335a770b Split code .data 2020-03-15 22:05:06 -05:00
rozlette ff958ad932 Rename many functions, structs, and variables to match the oot decomp. Some things have not been renamed as their respective files have not been decompiled yet. 2020-03-15 01:13:53 -05:00
Cleverking2003 0c35be2381
More functions from z_actor.c (#6)
* More functions from z_actor.c

* Apply suggestions from code review

Co-authored-by: Rozelette <Rozelette@users.noreply.github.com>
2020-03-10 12:24:59 -05:00
Cleverking2003 da9aaf43c1
Some functions from z_actor.c (#5)
* Decompiled some functions from z_actor.c

* More functions

* Coding style

* Minor fixes
2020-03-04 11:44:43 -06:00
rozlette b455d2993a parse_dl: Find mesh headers in object files 2020-03-02 17:43:36 -06:00