Skip to content

Commit 39db44d

Browse files
authored
xMath3_WIP (#410)
* Add template function xUtil_select to xutil.h. * Filled in zNPCCommon struct with information from m2c decompiler. * Edited pendlist and actvlist types to pointers. * Modified existing functions to smooth additions. * Added partial matches for FillPending, ReFillPending, NextPendingNPC, and StatforNPC. Also have outline for ClearActive in comments. * zNPCCommon definition removed, now included from zNPCTypeCommon. Moved en_SM_NOTICES to zNPCTypeCommon to avoid recursive include. * zNPCTypeDuplotron now pulls zNPCSpawner definition directly from zNPCSpawner instead of transitively via zNPCTypeCommon. * Quick patches to data types after using more detailed definition of zNPCCommon. * Revert pendlist and actvllist to not being pointers. * Implemented suggested fixes to NextPendingNPC. * Used Clang to format. * Saw xMat3x3Identity was defined in Climate.cpp, added handle to header to import into xMath3. * Moved xMat3x3Copy and xMat3x3Identity to imports from xClimate as they are defined there. * Initial work on xMath3. Handles in header moved to cpp file and many are filled out. * While working on xMath3, removed declaration for xMat3x3Copy and xMat3x3Identity because they were already specified in xClimate.cpp. Added declarations for them in xClimate.h and moved an import in zNPCGlyp.cpp. * Revert to last commit. * Rolled back from earlier commit (1f1bebd), xMat3x3Identity and xMat3x3Copy will eventually be moved to xMath3 most likely. * xMat3x3Identity and xMat3x3Copy both present in xClimate but only in cpp. For other uses in game, use from xMath3, hence uncommenting. * Additional definitions for things used in other xMath3 functions. * Further progress on xMath3 functions, still WIP. * Edited comments to be more accurate.
1 parent 3cf8ce3 commit 39db44d

File tree

2 files changed

+598
-2
lines changed

2 files changed

+598
-2
lines changed

0 commit comments

Comments
 (0)