Commit Graph

32 Commits

Author SHA1 Message Date
TakaRikka 3e498a531d 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
TakaRikka 65651dc37e add a lot of dComIfGs inlines (#65)
* item_func inlines

* some getcheck func inlines

* remove asm

* format

* format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-05 11:48:08 -05:00
TakaRikka cda110d0ee some daAlink_c funcs (#62)
* checkMagicArmorHeavy / checkBootsOrArmorHeavy / setSpecialGravity ok

* onFroollCrashFlg / setMidnaTalkStatus ok

* add setZStatus inline

* format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-04 10:43:09 -05:00
Pheenoh 1f6f337212 swap in memcpy for func_80003540, correct some minor issues in dvd.h and JKRDVDFile.h 2021-01-03 21:08:33 -05:00
Pheenoh b13d4545fb make gameinfo members private 2021-01-03 16:13:28 -05:00
TakaRikka 0fdce6c042 dSv_player_item_c setWarashibeItem (#56)
* dsv_player_item_c::setWarashibeItem

* add slot name

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-03 05:15:52 -05:00
Pheenoh 7e36847cb0 dSv_info_c::revSwitch OK 2021-01-03 04:22:09 -05:00
Pheenoh 1122e0500d dSv_info_c::isSwitch OK 2021-01-03 03:51:44 -05:00
Pheenoh 36a488ca70 dSv_info_c::isItem OK 2021-01-03 03:35:54 -05:00
Pheenoh 362074cc62 dSv_info_c::isActor OK 2021-01-03 03:22:30 -05:00
Erin Moon 66626304fa 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 fe87a0f926 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 cd601606ee adjust gameinfo sizing, rename inline register funcs 2021-01-02 19:09:04 -05:00
Pheenoh 4b9c7e0376 Merge branch 'master' of https://github.com/zeldaret/tp 2021-01-02 17:49:20 -05:00
Pheenoh eb4f3431f2 more d_save funcs OK, initial map out of dcomifg_play_c and it's classes 2021-01-02 17:47:43 -05:00
lepelog 5ffa0945b0 A few f_pc files (#26)
* f_pc_base, one non matching

* some of f_pc_manager

* f_pc_node OK

* f_pc_pause partly

* started node_req

* more progress

* most of node req

* delete unused asm

* node req header and param names

* param renaming

* header for manager

* review comment struct names

* fpcM_Management OK

* int -> s32

* merge master

* most of f_pc_create_iter

* f_pc_stdcreate_req OK

* f_pc_fstcreate OK

* f_pc_leaf OK

* f_pc_draw OK

* f_pc_deletor partly

* fix parameter type in f_pc_pause

* review

* review, use cPh enum and fix process_profile_definition struct

* convert f_pc files to C

* matched more functions

* fix global.h

* fix variable types

* format

* mpre Phs enum

* fix merge errors

* fix gamepad stopPatternedRumble

* format

* delete leftover files from merge

* move asm to correct folder

* revert f_pc from C to CPP

* remove C hacks and format

* format

* OK
2020-12-31 15:12:29 -05:00
Pheenoh 715ba1304a run clang-format 2020-12-26 11:31:49 -05:00
unknown 9acc4d8522 add missing class and clang-format 2020-12-25 21:16:13 -05:00
unknown 96d356c28a add missing class in d_save and clang-format 2020-12-25 21:11:16 -05:00
TakaRikka d97a3337a4 more d_item / d_a_horse_static done (#32)
* more d_item funcs done / add dSv_info_c to gameinfo

* checkWait ok / remove asm
2020-12-14 14:07:29 -05:00
unknown fd95caf394 convert more class members to new naming convention 2020-12-08 01:37:35 -05:00
unknown f50da83f5d use dolphin types, begin changing class member naming convention 2020-12-08 00:46:44 -05:00
unknown 81f6caf814 add d_meter2_info methods, addBottleNum OK, getBombNum OK, isLetterReadFlag OK 2020-12-06 20:46:16 -05:00
unknown 481c458e8d add dmeter2 header, isMagicFlag OK, setItem OK 2020-12-06 14:38:26 -05:00
TakaRikka 74faaee32a d_item (#18)
* item_funcs ok

* item_getcheck_func ok

* remove unnecessary asm file

* execItemGet / checkItemGet ok, add enums for readability

* fix return types
2020-12-05 23:30:55 -05:00
unknown 410d435f92 Merge branch 'master' of https://github.com/zeldaret/tp 2020-12-03 21:04:06 -05:00
unknown abc72d6d6a begin adding d_com_inf_game, add include guards to headers 2020-12-03 21:03:25 -05:00
TakaRikka c7f602bd64 add gameinfo class / rename unk vars in d_save (#15) 2020-12-03 20:56:56 -05:00
notyourav 80e70dd6f7 canonize d_save.h (#9)
Co-authored-by: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-02 19:03:31 -05:00
unknown 8a1439e50c migrate all d_file_sel_info asm functions to inline 2020-11-29 23:26:19 -05:00
unknown 2993cfd15a migrate remaining d_save and m_Do_main asm to inline, add intial class mapping for dFile_select_c 2020-11-29 20:16:52 -05:00
unknown 51d6e78873 Add better sorting for inline'd asm 2020-11-29 12:21:01 -05:00