Commit Graph

72 Commits

Author SHA1 Message Date
hatal175 a42689be47
d_menu_ring OK (#2114) 2024-03-30 22:18:52 +01:00
Trueffel 9f46b4bea2
Match all funcs in d_menu_ring (#2113)
* d_menu_ring OK but something is not matchin

* at least matching without NONMATCHING again

* add note

* some docs about items

* fix i_nameID and i_expID

* revert my setBlackWhite change

* remove unused asm

* update progress

* m_Do_graphic functions match but I'm not able to remove data
2024-03-30 22:45:15 +03:00
Trueffel 4ea2b399be
Work on multiple files (#2102)
* d_menu_skill OK

* remove asm and update progress

* work on multiple files

* remove asm

* update progress
2024-03-20 00:10:26 -07:00
Trueffel 75dcb31980
d_menu_skill OK (#2096)
* d_menu_skill OK

* remove asm and update progress
2024-03-15 07:38:43 +02:00
Trueffel 42418393d5
Fix d_menu_fishing & d_menu_insect vtable (#2094) 2024-03-13 19:51:10 -07:00
hatal175 c471449d0e
d_menu_map_common OK (#2075) 2024-02-18 09:55:58 +02:00
hatal175 8164c34142
Work on d_menu_dmap (#2073)
* Move some J2DPicture inlines to header

* Work on d_menu_dmap

* JASBasicInst OK

* JASCalc cleanup
2024-02-16 18:22:01 -08:00
Trueffel 40dae638a7
Work on Collection Menu (d_menu_collect) (#2026)
* work on d_menu_collect

* match few funcs

* work on screenSet

* More work on d_menu_collect

* remove asm

* format document

* document fields

* rename variable

* Fix compiler error
2024-01-08 15:16:02 -08:00
hatal175 3fb456635b
d_meter_HIO OK + misc (#2009) 2023-12-22 02:56:56 -08:00
Trueffel 9fb99d923c
Work on d_menu_letter (#1949)
* d_menu_letter first pass

* match more funcs and optimize skill tu

* decompile first rodata sections

* done for now

* remove unused asm

* format d_menu_letter
2023-09-30 20:40:59 +03:00
Trueffel 6726d1cf47
d_menu_insect basically OK, optimizations, match one func in d_menu_ring (#1934)
* next d_menu_insect pass

* work on d_menu_ring & d_menu_insect

* d_menu_insect basically OK

* remove unused asm
2023-09-18 07:39:57 +03:00
Trueffel 3d8048edba
first d_menu_ring (item wheel) pass (#1928)
* first pass on d_menu_ring

* d_menu_item_explain mostly OK

* match ptmf's and sinit

* format d_menu_item_explain

* first item wheel pass to pr

* fix seStart calls

* d_menu_item_explain OK
2023-09-16 20:16:57 +03:00
Trueffel a6d49a9901
d_menu_option work (#1909)
* d_menu_option work

* done with d_menu_option for now

* remove unused asm

* format document
2023-09-04 16:38:41 +03:00
Trueffeloot e427687675 d_menu_insect partly matching 2023-07-28 01:55:14 +02:00
Trueffeloot 4682deae99 d_menu_skill basically OK 2023-07-22 03:46:09 +02:00
hatal175 2e17762012
Various matches (#378)
* Maybe improve JMAEulerToQuat

* JKRFileLoader OK

* JUTCacheFont work

* Match J3DModel::prepareShapePackets

* JUTDirectFile OK

* JUTDirectPrint OK

* Work on JUTProcBar

* Work on JUTResFont
2023-07-20 19:39:25 -07:00
Trueffel 0e3ab41038
d_menu_fishing mostly done (#375)
* d_menu_fishing mostly done

* format the cpp
2023-07-19 02:47:20 -07:00
Jcw87 7af48a0078 d_menu_collect 2023-06-26 18:58:11 -07:00
hatal175 fcb6ae541f
setFadeColor fix, some d_msg_flow functions (#339) 2023-05-28 00:21:28 -07:00
Trueffeloot 1c5bacc97b d_a_obj_zcloth WIP 2023-04-23 21:38:41 +02:00
TakaRikka 92b88e83e8
d_menu_calibration done / J3DDrawBuffer done / more d_drawlist wip (#312)
* d_drawlist work / finish J3DDrawBuffer

* d_menu_calibration done

* remove asm
2023-03-28 05:11:41 -06:00
Trueffel d7ab9423ad
Some work on d_menu_fishing (#304)
* Some work on d_menu_fishing

* pr improved based on comments

* forgot ./tp pull-request
2023-03-06 21:31:32 -07:00
TakaRikka bad6551507 most of d_map_path_dmap decompiled 2023-01-29 21:00:46 -08:00
TakaRikka 4913395dbd
d_camera / m_Do_ext / d_particle + minor various wip (#210) 2022-10-03 18:26:26 -04:00
TakaRikka 929c5cfa5a
d_menu_save / pane_class / rename some data (#205)
* work on fop actor / actor mng, daalink, d_a_obj_item

* d_a_title mostly decompiled

* daalink / d_event / JMessage / dmsg_out_font work

* msg_scrn_base / msg_scrn_boss

* some work on mDo machine, d_menu_save, d_tresure, and various

* remove asm

* progress

* finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data

* rename more data

* remove asm / progress

* match all of d_pane_class

* fixes / some dKankyo doc
2022-07-04 21:21:57 +02:00
TakaRikka 046d178003
work on daalink, fop actor, mDo machine, msg_scrn, + various (#201)
* work on fop actor / actor mng, daalink, d_a_obj_item

* d_a_title mostly decompiled

* daalink / d_event / JMessage / dmsg_out_font work

* msg_scrn_base / msg_scrn_boss

* some work on mDo machine, d_menu_save, d_tresure, and various

* remove asm

* progress
2022-06-29 22:19:09 +02:00
TakaRikka 107f85a5f8 remove asm 2022-01-09 17:56:12 -08:00
TakaRikka 01b3687092 remove asm 2021-12-28 03:04:54 -08:00
TakaRikka 4448c08ac0
move / fix bunch of stuff (#133)
* fix some class structures / d_event wip

* d_event wip

* move gamepad stuff

* move m_Do_main

* move d_bomb / partial m_Do_reset

* format

* remove asm

* add Z2SoundID enum

* move some Z2 classes

* fix

* move more Z2 stuff

* fix fopAc_ac_c more
2021-06-12 18:22:36 -04:00
Julgodis ed1ee30dd2 building RELs 2021-04-06 18:00:35 +02:00
Julgodis d244b7cb0d dol2asm OK 2021-03-28 22:49:05 +02:00
Pheenoh a94009b139
fopMsgM_messageGet OK + rename g_meter2_info global 2021-03-27 19:53:05 -04:00
lepelog 80ba3d9fd2
Fix symbol names (#118)
* checkpoint

* checkpoint

* rename f_pc

* checkpoint

* small symbol rename and fix some fpc symbols

* remove unneeded entries from ldscript

* simplify ok check, update docker container

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-03-15 02:12:44 -04:00
lepelog 5c83d2532c
Decompile some SComponent data and some MSL_C.PPCEABI.bare.H headers (#115)
* data for c_angle

* data c_sxyz

* partially migrated c_xyz data

* c_xyz data

* c_xyz data decomp

* c_math data

* c_math data

* c_lib data, some cleanup

* rename some unnamed functions and create header for them

* header for string functions

* format and fix fabsf

* cleanup

* remove more unneded function prototypes

* move fpclassify to math.h
2021-02-19 10:51:02 -05:00
Pheenoh b3a4f9f7c5
most of f_op_overlap_mng OK 2021-02-15 13:34:16 -05:00
notyourav 6e7708652e
J2DPane.cpp (#91)
* split J2DPane.cpp

* J2DPane first pass

* consolidate headers and typedef mtx

* remove duplicate J2DScreen.h

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-25 09:57:35 -05:00
jdflyer ff7ac962f1 m_Do_audio 2021-01-21 21:47:28 -07:00
TakaRikka 8cf6641bd4
fully split / more work on d_com_inf_game (#81)
* split d_com_inf_game

* fix func name

* start some dcomifg funcs

* fix

* clang-format

* change dComIfGs_setWarpItemData back to inline asm for now

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-10 09:00:45 -05:00
Jonathan Wase 82d5e0f796
JKRAram and JKRAramStream (#80)
* before __register_global_object

* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.

* cleanup and started on JKRDvdArchive

* before changing JKRCompression

* more JKRDvdArchive, abs, and memset

* fixed JKRArchive::setExpandSize split

* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors

* problems

* merge fixes and formatting

* updated clang version in clang-format-all to version 10

* Added OSPhysicalToCached and struct for global memory

* remove useless __attribute__

* changed from defines and macros to const variable and function

* changed FLAG_HAS to FLAG_ON

* JKRAram, linking problems

* fix JKRAram

* remove nonmatching stuff

* renamed static data

* more static class members

* JKRAramStream OK

* formatting

Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-09 20:15:52 -05:00
TakaRikka 8bd3d07e23
more daalink / d_item improvements (#79)
* some daalink funcs

* more d_item inlines / setShieldChange

* more daalink stuff

getlife, getrstatus, setitemlifecount, getrupee, setitemrupeecount

* format

* format
2021-01-09 19:59:35 -05:00
Jonathan Wase 88fca194f8
JKRSolidHeap (#69)
* JKRSolidHeap progress

* JKRSolidHeap, added const to virtual functions, and JKRHeap::TState

* fixed braces

* fix function overload

* clang-format

Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06 20:33:03 -05:00
lepelog 0cf65151b3
Split SComponent (#45)
* split c_math

* split c_angle

* split c_API_controller_pad

* split c_API_graphic

* split c_bg_s_chk

* c_bg_s_gnd_chk split

* more c_bg split

* split c_cc_d

* delete asm

* split c_cc_s

* split c_lib

* split c_m2d and c_m3d_g_aab

* split c_m3d_g_cir

* split c_m3d_g_cps

* split rest of c_m3d_g

* split c_m3d

* split c_malloc

* split c_request

* split c_sxyz

* split and partly decompile c_xyz

* format

* c_angle.h

* begin c_angle decomp

* c_angle

* progress adding stub classes for SComponent

* more c_m3d

* remove some asm and format

* more m3d headers

* more c_angle decomp

* c_lib headers

* add public to classes

* fix csXyz member names

* c_sxyz partly OK

* move Zero csXyz to c_sxyz header

* c_API_graphic

* delete some unused asm

* move math extern data, decompile some functions

* delete unused asm

* fix duplicated c_angle.h

* fix an inlined function name, add more inlined functions for c_angle.h (currently unused)

* format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06 20:04:53 -05:00
Jonathan Wase 792509e0a1
JKRFileCache matched 22/24 (#73)
* progress

* strlen, strcat, and strcchr

* more functions from JKRFileCache

* JKRFileCache 22/24 matched

Co-authored-by: Julgodis <>
2021-01-06 19:47:07 -05:00
Pheenoh 6f22d27503
swap in memcpy for func_80003540, correct some minor issues in dvd.h and JKRDVDFile.h 2021-01-03 21:08:33 -05:00
Erin Moon 5c4ac052c3
decomp some small files, do some cleanup (#42)
* remove leftover asm: JSUList.s

* d_save_init: decomp

* JMath/random: decomp

* J3DUDL: fixup label

* JAUClusterSound: decomp

* c_API_controller_pad: decomp, elaborate globals/types

* clang-format

* don't add guards to functions.h

* semantic merge of m_cpadInfo stuff

* fix undef symbols

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-03 01:04:15 -05:00
Jonathan Wase d2e9db3748
Fixed _savegpr etc. (#54)
* renamed func_XXX to _savegpr_XX

* renamed func_XXX to _restgpr_XX

* renamed func_XXX to _savefpr_XX

* renamed func_XXX to _restfpr_XX

* cleanup functions.h and moved intrisics to mwcc.h

* formatting

* cleanup functions.h

* fix bad-formatting from master

Co-authored-by: Julgodis <>
2021-01-02 23:15:12 -05:00
Pheenoh 609891bc25
adjust gameinfo sizing, rename inline register funcs 2021-01-02 19:09:04 -05:00
Pheenoh e375712d23
Merge branch 'master' of https://github.com/zeldaret/tp 2021-01-02 17:49:20 -05:00
Pheenoh 458be4d8cb
more d_save funcs OK, initial map out of dcomifg_play_c and it's classes 2021-01-02 17:47:43 -05:00
jdflyer e42d44e6cb
M_do_controller_pad split and partially matched (#36)
* m_Do_controller_pad split

* Attempt to match and match mDoCPd_c::recalibrate

* Fix Merge Errors

* clang-format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-02 02:02:19 -05:00