Commit Graph

104 Commits

Author SHA1 Message Date
Léo Lam 7f5b7f67e3 ksys/phys: Add Phantom 2022-03-20 17:04:20 +01:00
theo3 3d1cb480c2 auto placement work 2022-03-16 17:54:50 -07:00
theo3 20f0a07ab0 AddAutoPlacementCreator action 2022-03-15 22:59:38 -07:00
Léo Lam e27c55361d ksys/phys: Add impulse related ContactMgr functions 2022-03-13 02:28:34 +01:00
Léo Lam 88a0a9eb69 Use sead::OffsetList::robustRange() when possible to simplify iteration 2022-03-05 19:13:06 +01:00
Léo Lam 1518cc4960 lib: Update sead 2022-03-04 21:48:06 +01:00
Léo Lam c32557b793 ksys/phys: Add more EntityGroupFilter functions 2022-02-28 17:29:49 +01:00
Léo Lam df36d65665 Revert "Add #ifdef declarations for NON_MATCHING code"
This reverts commit 42807160cf.

It makes searching for NON_MATCHING comment descriptions much less
convenient in most text editors or IDEs, and we want the function
CSV to be the single source of truth for function statuses. Having
a function marked as matching but not built because of a stray #ifdef
would be bad.
2022-02-27 12:50:52 +01:00
Maide dbf6cd5117 LowPrioThreadMgr (#82) 2022-02-09 21:46:46 +01:00
Léo Lam 2028797c8a ksys: Fix typos in SafeDelete comments 2022-02-09 03:01:09 +01:00
Léo Lam 5f92a7b959 ksys: Remove unnecessary null checks in SafeDelete
Deleting a null pointer has no effect -- the compiler automatically
inserts a null pointer check.
2022-02-09 02:59:55 +01:00
Léo Lam 808b21530a ksys: Document safeDelete and safeDeleteArray 2022-02-09 02:59:34 +01:00
ThePixelGamer 199c7d2552 ksys/map: Implement PlacementAreaMgr 2022-02-06 13:16:17 -06:00
Léo Lam 5c6f24368d ksys/phys: Implement BoxShape 2022-01-31 11:10:47 +01:00
Léo Lam b728917ef4 ksys/phys: Add RigidBody collision filter info functions
Including a bunch of BitFields additions so we can get the desired
codegen without sacrificing readability or flexibility.
(The alternative would be building masks and masking manually.)

getCollisionFilterInfo was changed to return a u32 instead of
EntityCollisionFilterInfo because a collision filter info mask
can be either an EntityCollisionFilterInfo or a ReceiverMask.

(Also at some point we'll probably want to rename
EntityCollisionFilterInfo because that is also used for sensor
rigid bodies and not just for entities.)
2022-01-25 00:15:29 +01:00
Léo Lam 719c5f02a7 ksys/phys: Add more RigidBody functions (motion, collision mask) 2022-01-22 20:09:57 +01:00
Léo Lam 05abdf7e77 ksys/phys: Add easy RigidBodyRequestMgr functions 2022-01-17 01:52:21 +01:00
Léo Lam 71fda30853 ksys/util: Add LockFreeQueue 2022-01-16 23:21:52 +01:00
Léo Lam cba2a5b8b0 ksys: Declutter Utils by creating new Utils/Container folder 2022-01-16 22:24:00 +01:00
Léo Lam eb16cbaf55 ksys/phys: Add MaterialMask 2022-01-03 23:53:40 +01:00
Léo Lam 90f83901ad ksys/phys: Implement the easier parts of EntityGroupFilter 2021-12-26 13:06:50 +01:00
Léo Lam a816125247 ksys/phys: Finish SystemData and start implementing GroupFilter 2021-12-24 21:48:41 +01:00
Léo Lam b63c16c55f ksys/util: Fix C++17 compliance in FixedString
Lambda expressions cannot appear in a template argument pre-C++20.
2021-11-01 14:57:38 +01:00
Léo Lam 5580b49345 ksys/act: Add more Actor members 2021-10-17 23:32:24 +02:00
AlexApps99 42807160cf Add #ifdef declarations for NON_MATCHING code 2021-07-26 23:05:19 +12:00
Léo Lam 8b1eb8819a ksys/act: Finish ActorParam by adding updateResource 2021-05-18 00:44:53 +02:00
Léo Lam 2fef4f821e lib: Update sead 2021-05-09 15:09:39 +02:00
Léo Lam ce1868fd62 ksys: Fix missing include for std::memcpy in ParamIO 2021-04-23 14:23:51 +02:00
Léo Lam 3699e85f8e ksys: Finish implementing ParamIO 2021-04-23 13:28:32 +02:00
Léo Lam 8c8d9c0e70 ksys/res: Finish implementing ModelList 2021-03-20 00:17:33 +01:00
Léo Lam 10a7871227 ksys/act: Finish BaseProcInitializer 2021-03-13 15:16:31 +01:00
Léo Lam c23f86e6d5 ksys/act: Add BaseProcCreateTaskSelector 2021-03-12 20:00:07 +01:00
Léo Lam ea79008db6 ksys: Add util::TaskDelegateT to simplify delegate declaration 2021-03-12 17:18:34 +01:00
Léo Lam b90017bf3b ksys/util: Make TaskMgr task type checks optional
They are not always done.
2021-03-12 00:35:27 +01:00
Léo Lam d5b981a233 ksys: Add ActorMessageTransceiver 2021-02-05 22:03:02 +01:00
Léo Lam c2426371f7 Fix matching regression 2021-02-05 02:10:49 +01:00
Léo Lam f861dcaec3 ksys: Add MessageTransceiverTxOnly 2021-02-05 02:03:41 +01:00
Léo Lam 96612361e6 ksys: Add MessageTransceiverRxOnly 2021-02-05 01:07:19 +01:00
Léo Lam e237bf4b5d ksys: Rename messaging system members for clarity 2021-02-03 23:52:03 +01:00
Léo Lam df58679dda ksys: Add MessageBroker and finish MessageDispatcher 2021-02-03 19:27:15 +01:00
Léo Lam 6e2e22cca5 ksys: Mark MessageDispatcher::update as non-matching 2021-02-02 17:42:43 +01:00
Léo Lam dfef8dfff7 ksys: Implement several more MessageDispatcher functions 2021-02-02 14:56:58 +01:00
Léo Lam fb09e658e2 ksys: Add several MessageDispatcher functions 2021-02-01 01:41:21 +01:00
Léo Lam 36bed57207 ksys: Start adding MessageDispatcher 2021-01-31 21:50:43 +01:00
Léo Lam 27f8a7bdda Fix formatting issue 2021-01-31 16:26:13 +01:00
Léo Lam 8ac6752866 ksys: Add MessageProcessor 2021-01-31 16:23:51 +01:00
Léo Lam 176d687698 ksys: Add Message class 2021-01-31 14:56:17 +01:00
Léo Lam d6ee0c9183 ksys: Rename message classes for more clarity 2021-01-31 11:56:06 +01:00
Léo Lam de0480c330 ksys: Add more message system classes 2021-01-30 19:49:11 +01:00
Léo Lam 2e4ecb41cf ksys: Start adding MessageTransceiver 2021-01-29 19:20:48 +01:00