* 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
Removes the strong dependency on a single header file and moves
declarations to their respective header file.
This allows for making dependencies explicit in cpp files and other
headers, and also makes it much easier to track where everything related
to a particular component is.
This change also creates a few header files that previously didn't
exist, making it much nicer for people implementing things, as they
won't need to create the header file, it'll just be there ready to go.
Ideally functions.h wouldn't even be a thing, as this header adds a lot
of preprocessing overhead due to its size, and will continue to grow
significantly larger over the lifespan of the project, which can also
impact the performance of editors that do dependency lookups and
context-aware syntax highlighting.
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>
* 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>
* Z2Calc OK
* inline definitions in random.h and format
* set -enum int compiler flag and fix enum hacks
* note for get_ufloat_1 inline
* PR suggestions and UB note
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* JKRArchivePri OK
* JKRArchivePub OK
* formatting
* removed unused asm files and tried to fixed setExpandSize and getExpandSize
* JKRMemArchive and created JKRCompression
Co-authored-by: Julgodis <>
* JKRArchivePri OK
* JKRArchivePub OK
* formatting
* removed unused asm files and tried to fixed setExpandSize and getExpandSize
Co-authored-by: Julgodis <>
* 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>
* 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
* split Z2SeMgr / begin split of Z2SeqMgr
* Z2StatusMgr ok
most of Z2StatusMgr done, rest split
* name some class members
* name some Z2SceneMgr vars
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine
* JKRDisposer!
* only 4 functions not OK in JKRHeap
* JKRThread asm functions
* more JKRThread
* JKRThreadSwitch
* JKRThread::JKRThread
* More JKRTHread functions and vtable
* fixed bad merge
* update JKRThread and JKRThreadSwitch to use new virtual inheritance
* save before asmsplit.py script
* JKRFile
* JKRDvdFile
* JKRFileCache
* JKRFileFinder
* JKRFileLoader
* JKRAssertHeap
* JKRExpHeap
* JKRSolidHeap
* fixed type and functions definitions
* JKRArchive (Pub)
* missed file
* JKRArchive
* forgot obj_files.mk
* fixed merge error and class members
* class members
* removed unused asm files
* added names to global variables
* class members for JKRHeap, JKRExpHeap, JKRSolidHeap, and JKRFileCache.
* JSULink, JSUList, JSUTree and more matching in JKRHeap
* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine
* more templates and JKRHeap functions
* JKRDisposer!
* only 4 functions not OK in JKRHeap
* fixed: *this->getObject()
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* new system for handling vtables
* commented out non-matching JKRDisposer::~JKDisposer()
* removed artificial vtables and matched simple virtual-call functions
* better text on nonmatching functions
* reverted asmdiff.sh
* attempt 2
* Spelling
* banner and .gitignore for vtable artifacts
* move virtual function to the correct class
* remove unnecessary casts