Commit Graph

17 Commits

Author SHA1 Message Date
Luke Street f83b970e75 Runtime/Collision: Replace bitfield unions with constructor initializers 2020-04-10 15:03:24 -04:00
Lioncash c97fedd989 CCollisionSurface: Return std::array by reference from GetVerts()
Same behavior, facilitates better static analysis for out-of-bounds
accesses, and also even allows size querying if necessary.
2020-04-06 06:02:52 -04:00
Lioncash f0eadfe56c CMetroidAreaCollider: Make use of std::array where applicable
Makes arrays strongly typed and allows eliminating some hardcoded array
sizes. We can also use it to make input data to some data types and
functions significantly more informative.

This also makes it easier for static analysis tools to track out of
bounds accesses if they ever occur.
2020-04-06 05:19:13 -04:00
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00
Jack Andersen a63a61fef8 Implement CWallCrawlerSwarm 2019-03-23 22:06:59 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 660e7cd239 Work on CParasite 2018-11-12 23:20:11 -10:00
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen 73ae278c87 Several collision fixes 2017-12-17 16:54:50 -10:00
Jack Andersen 0cfefd22a1 Implement CCollidableOBBTree 2017-07-02 17:34:19 -10:00
Jack Andersen ff15bfbec3 Finish CMetroidAreaCollider 2017-06-29 15:39:34 -10:00
Jack Andersen ec7ac212ef Finish AABB area colliders 2017-06-25 15:36:31 -10:00
Jack Andersen 35fa9b0992 Initial CMetroidAreaCollider implementations 2017-06-23 18:58:59 -10:00
Jack Andersen a2c462529f Add some moving collision implementations 2017-06-22 07:56:51 -10:00
Jack Andersen 71a361f54e Work on collision related implementations 2017-06-17 15:58:13 -10:00
Jack Andersen a0549cd82b Work on CStateManager 2017-03-28 16:51:12 -10:00