Commit Graph

23 Commits

Author SHA1 Message Date
Lioncash 5c7bb9e7d7 CollisionPrimitive: Make collisition primitive types and comparisons constexpr capable
Allows them to be used within constexpr contexts.
2019-10-29 18:36:21 -04:00
Phillip Stephens 668f8da97d
Merge pull request #106 from lioncash/find
CCollisionPrimitive: Simplify the InitAdd* member functions
2019-10-12 07:29:13 -07:00
Lioncash 5f4aba60e1 CCollisionPrimitive: Simplify the InitAdd* member functions
We can extract the duplicated behavior out into its own member function
and then reuse it in order to deduplicate repeated behavior.

This allows simplifying the member functions in a manner that allows
declaring most of the variables const. The lack of mutable behavior
within these functions makes it much nicer to read.
2019-10-12 00:27:18 -04:00
Lioncash da4a33f01a CCollisionPrimitive: Default virtual destructor
Same behavior, but more consistent with the existing interface, given
a constructor is defaulted.
2019-10-11 22:39:58 -04:00
Lioncash 9cbe8ba885 CCollisionPrimitive: Use using for type aliases where applicable
Same behavior, better readability.
2019-10-11 22:36:57 -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 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen 2c4967ca4d More work on CMorphBall 2017-09-16 17:13:03 -10:00
Jack Andersen 6f9e6712ce Implement final dynamic collision tests 2017-07-03 19:03:11 -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 2530163a8c Initial collision testing and CStateManager work 2017-03-30 12:36:18 -10:00
Phillip Stephens 4a7a3bea2f FRME Fixes 2017-01-21 07:46:51 -08:00
Phillip Stephens b765ce3eb7 Lots of ScriptObject and Collision work 2017-01-03 20:30:05 -08:00
Phillip Stephens f470b7de93 More collision stubs
Add *.autosave to gitignore
Update specter
2016-06-25 18:13:34 -07:00
Phillip Stephens d3563ea86d More Collision imps 2016-06-24 14:30:25 -07:00
Phillip Stephens c66dac6df2 Initial Collision stubs 2016-06-24 13:09:38 -07:00
Phillip Stephens 2af6117ef8 More collision imps and stubs 2016-04-26 17:26:02 -07:00
Phillip Stephens 4272e8207b More preliminary implementations 2016-04-23 11:04:49 -07:00
Phillip Stephens 884900b892 Re-add accidentally removed functions 2016-04-22 13:29:31 -07:00
Phillip Stephens 4615f37f59 Various imps 2016-04-22 13:22:45 -07:00
Jack Andersen 3ae77d3390 Remaining CStateManager fields, loaders, collision stubs 2016-04-17 12:38:05 -10:00