Pheenoh
2b2f8c1257
J2DPicture::setBlendRatio OK
2021-03-27 18:07:36 -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
63d4e517f7
split f_ap_game, fapGm_Execute ok, more changes to m_Do_main
2021-02-13 15:23:18 -05:00
Pheenoh
4d1d865921
debugDisplay and Debug_console attemp
2021-02-07 17:20:16 -05:00
jdflyer
f1924e91f4
d_kyeff, d_kyeff2, m_Do_printf, and m_Do_graphic ( #109 )
...
* Split d_kyeff
* Partially matched d_kyeff
* split d_kyeff2
* Match d_kyeff2
* split m_Do_printf
* m_Do_printf partially matched
* hotfix and clang-format
* split m_Do_graphic
* rename symbols in m_Do_graphic
* Match a few functions in m_Do_graphic
* Fix Merge Errors
* Delete sh.exe.stackdump
* Update OSReportInit
2021-01-31 20:03:38 -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
Erin Moon
a072e71c33
Z2AudioLib misc decomp ( #75 )
...
* Z2SoundHandles: decomp portions
* start decomping: Z2SpeechMgr2, Z2SoundHandles
* Z2SoundHandles::stopAllSounds(): ok
* Z2SoundHandles::getHandleUserData(): ok
* Z2SoundInfo: header
* Z2SoundObjBase::framework(): ok
* Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok
* Z2SoundObjBase::~Z2SoundObjBase(): ok
* Z2SoundObjBase::stopOK(): ok
* Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose()
* clang-format
* Z2SoundObjBase::dispose(): ok
* JAISound::operator->(): null assert
* JAIAudience: stub
* Z2SoundObject::{init, deleteObject, isAlive}: ok
* Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this)
* start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init()
* Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok
* Z2MultiSeMgr::resetMultiSePos(): ok
* Z2WolfHowlMgr.h: decls
* Z2SoundStarter: move to decls and fix postprocess.py symbol pass
* Z2AudioArcLoader: decls
* Z2SoundObjMgr: ok some fns
- deleteEnemyAll()
- isTwilightBattle()
- setGhostEnemyState()
additionally elaborates parts of the Z2Creature hierarchy
* delete unused .s files and add tool to find them (only runs on linux)
* run clang-format
* postprocess.py: comment out debugging
* add python step to ok-check workflow
* address review comments
* address review comments
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
2021-01-21 23:16:51 -05:00
Erin Moon
c70d485d35
normalize header guards to {tu_name}_H_ ( #87 )
...
i previously had a bad habit of using double underscores in include
guard macro names, which are implementation-reserved per
the C++98 standard (see 17.4.3.1.2 Global names).
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-18 14:02:51 -05:00
notyourav
b8ecef0ddb
Refactor JUTFont symbols ( #71 )
...
* fix JUTFont args
* fix
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06 20:36:27 -05:00
Erin Moon
5c23199fe2
close-to-matching mDoCPd_c::convert() ( #61 )
2021-01-04 10:37:08 -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
lepelog
0555115de8
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
Erin Moon
992cf48c7f
Split and decompile parts of JUTGamePad ( #33 )
...
* JUTGamePad.o: elaborate classes, split
* JUTGamePad::CButton: decompile functions:
- clear()
- clear(JUTGamePad*)
- setRepeat()
* elaborate PAD* types in new header
* decompile getNumBit()
* elaborate JUTGamePad fields
* move retyped externs from variables.h to JUTGamePad.h
* elaborate JUTGamePadLongPress
* JUTGamePad: decompile functions
- initList()
- init()
- clear()
- assign()
- checkResetCallback()
- checkResetSwitch()
- clearForReset()
- recalibrate()
JUTGamePad: decompile
* JUTGamePad::CStick::clear(): decompile
* JUTGamePad::CRumble: decompile functions
- startMotor()
- stopMotor()
- triggerPatternedRumble()
- startPatternedRumble()
- stopPatternedRumbleAtThePeriod()
- setEnabled()
* JUTGamePadLongPress::checkCallback(): decompile
* nonmatching: JUTGamePad::CRumble::update() and JUTGamePad::getGamePad
* JSUList<T>: allow access to JSUPtrList functions
* functions.h: clear out some func decls that are no longer used
* add notes in JUTGamePad.cpp
* clang-format + add back extern funcs
* fix some more extern labels
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-29 20:22:18 -05:00
Erin Moon
cba64289a4
JUTXfb: decompile ( #38 )
...
* m_Do_Reset: split and (some) decomp
decompiles:
- my_OSCancelAlarmAll()
- destroyVideo()
* mDoRst::reset(): decompile, plus some supporting code
* split DVD* functions to dvd.h
* mDoRst::resetCallBack(): decompile
* JUTXfb: split
* JUTXfb: decompile (except for almost-matching ctor)
Elaborates JUTVideo and some related stuff.
Decompiles the following functions:
- JUTXfb::initiate()
- JUTXfb::createManager()
- JUTXfb::common_init()
- JUTXfb::destroyManager()
- JUTXfb::~JUTXfb()
- JUTXfb::JUTXfb(): *almost* matching up to regalloc
* clang-format and extern label modifications
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-29 18:01:48 -05:00
Pheenoh
9e442d11ca
move asm in TUs to files, add diff.py
2020-12-26 13:03:37 -05:00
Pheenoh
4c504d078d
run clang-format
2020-12-26 11:31:49 -05:00
Erin Moon
58fc83c4f8
m_Do_Reset: OK ( #35 )
...
* m_Do_Reset: split and (some) decomp
decompiles:
- my_OSCancelAlarmAll()
- destroyVideo()
* mDoRst::reset(): decompile, plus some supporting code
* split DVD* functions to dvd.h
* mDoRst::resetCallBack(): decompile
2020-12-25 20:59:52 -05:00
notyourav
294858f751
JSystem Font classes, SComponent cBgW ( #14 )
...
* c_bg_w.cpp OK
* JUTFont and JUTResFont partially implemented
Co-authored-by: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-03 20:58:53 -05:00
unknown
44b14ec128
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