Commit Graph

224 Commits

Author SHA1 Message Date
Rozelette
31a5f1e4ba Use MAKE in Makefile 2020-09-28 17:42:16 -05:00
Bonfam
280d7b7eea
GlobalContext: unwrap CameraContext (#31)
* GlobalContext: unwrap CameraContext

Makes ACTIVE_CAM macro usable.
func_8013A530 changes to use new GlobalContext struct.

* z64.h: remove CameraContext
2020-09-27 20:38:43 -04:00
Rozelette
07efebe2ff
z_actor_dlftbls.c OK. Rework a bunch of segment address organization. (#29) 2020-09-27 20:19:06 -04:00
Rozelette
a672633c3b
Fix ordering of relocations in overlay (#32) 2020-09-27 20:18:45 -04:00
Rozelette
c725249389 Fix removal of bg_mbar object symbols 2020-09-23 20:28:05 -05:00
fullgrowngaming
a051672fd6
bg_haka_curtain OK (#25)
* bg_haka_curtain OK

* Renamed InitVars back to its symbol name, plus converted the actor to a dynaActor like it should be

Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
2020-09-23 21:04:29 -04:00
fullgrowngaming
d612cc7196
Empty actors (Demo_Shd, en_firefly, en_fire_rock, and en_boj_01-05) OK (#24)
* Finished two empty actors

* Demo_Shd, en_firefly, en_fire_rock, and en_boj_01-05 OK and formatted

* en_zl1 OK (also an empty actor)
2020-09-23 20:56:23 -04:00
fullgrowngaming
d1d578043b
obj_dinner OK (#26)
Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
2020-09-23 20:44:17 -04:00
fullgrowngaming
a45af872a2
en_torch OK (#22)
* en_torch OK

* Ran format script

* Fixed init vars formatting

* Fixed spaces at end of lines in InitVars
2020-09-23 20:16:09 -04:00
fullgrowngaming
79544c9093
bg_mbar_chair OK (#28) 2020-09-23 20:02:50 -04:00
Rozelette
10f9460b3b
Fix several issues with the makefile (#30)
* Fix several issues with the makefile

* Make ROM_NAME conditionally set to allow custom names
2020-09-23 19:47:05 -04:00
fullgrowngaming
a241f57e60
obj_hana OK (#20) 2020-09-19 21:55:06 -05:00
Rozelette
dc7b8cc5b4
Add some OOT tools (#17)
* Add first_diff.py and sym_info.py

* Add c tools from OOT. Replace yaz0 tool
2020-09-17 17:11:59 -04:00
Rozelette
88e5dbbb7a
Add .data and .rodata sections to generated assembly. Add Overlay .rodata splits. (#18) 2020-09-16 20:33:34 -05:00
Rozelette
ec912054da
Update tools (#16)
* Clean up .gitignore

* Set exec bit on all python and shell scripts

* Delete unused files

* Add decomp-permuter repo

* Update submodules
2020-09-13 21:09:13 -04:00
Rozelette
189d0d6c30
Bootstrap actors (#14)
* Bootstrap actors

* Address feedback. Improve header guard. Remove ovl_Player_Actor, it will need to be handled seperately.
2020-09-13 14:21:43 -04:00
Rozelette
b930732494
Makefile rework. Add init and uncompressed targets. (#15)
* Makefile rework. Add init and uncompressed targets

* Update file_setup.sh for new makefile

* Change CFLAGS
2020-09-11 19:00:17 -04:00
Rozelette
0844c24773
Split headers to be more similar to OOT (#13) 2020-08-31 19:02:37 -04:00
Rozelette
de7a521857
Decompile z_snap (#11) 2020-08-29 01:10:24 -04:00
Rozelette
f4936cc471
Delete function type information (#12)
* Remove ability to generate headers when disassembling

* Remove type information from function table

Co-authored-by: Rozelette <users.noreply.github.com>
2020-08-28 20:55:33 -04:00
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