Commit Graph

32 Commits

Author SHA1 Message Date
Lioncash fa3e639a9d RuntimeCommon: Make use of bitfield initializers where applicable
Continues and finishes the migration towards initializing all bitfield
members where applicable
2020-04-21 17:16:19 -04:00
Lioncash c662634226 CBallCamera: Mark BallCameraFilter as constexpr
Allows removal of runtime initializers.
2020-04-12 10:19:13 -04:00
Lioncash bfd17e4513 CActor: Make Render() a non-const function
A few implementations of Render() contain const-casts nested within its
their call hierarchy to get around the fact that this function is marked
const. We can just make the member function non-const to allow removal
of these casts in follow up changes.
2020-04-09 14:32:20 -04:00
Lioncash 75cd9b6cf3 CBallCamera: Make use of TCastToConstPtr where applicable
Same behavior, but makes the read-only nature explicit.
2020-04-05 00:54:40 -04:00
Lioncash 363386cbd9 CBallCamera: Collapse identical switch cases within AvoidGeometry()
Same behavior, but less code.

This is identical in behavior to the code within the GM8E v0 binary.
2020-03-08 23:40:22 -04:00
Lioncash 1cb289f243 RuntimeCommon: Normalize cpp inclusions
Normalizes the headers for the cpp files in the RuntimeCommon target.
Now all headers and source files within the RuntimeCommon/RuntimeCommonB
targets are normalized and consistent with one another.
2020-01-15 09:15:47 -05:00
Lioncash 21c1ed2940 CBallCamera: Use bool instead of float for holding boolean value
Using a float is very suspect and also more expensive in terms of
code-gen to access and modify the variable.
2019-10-12 02:25:24 -04:00
Phillip Stephens 68e2fad74f
Fix TCastTo.hpp inclusions, add comment to warn against modifying include path 2019-09-21 06:07:13 -07:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 8df0a4913c zeus constexpr refactor and thermal visor fixes 2019-02-23 21:15:54 -10:00
Jack Andersen 48eaa2545b Working CScriptGunTurret 2019-02-17 19:47:46 -10:00
Jack Andersen d60fcc99c9 Fix CNewIntroBoss and particle bugs 2019-01-04 17:28:02 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 7c7da6671a SIMD refactor 2018-12-07 15:49:15 -10:00
Jack Andersen 67197621a1 Fix fixed position camera hint 2018-07-09 08:08:44 -10:00
Jack Andersen 4a19b160b9 Follow 30-degree rule when exiting morph ball 2018-06-21 14:45:29 -10:00
Phillip Stephens 734b25cad3 Fix doors and various area streaming bugs 2018-05-01 17:43:31 -07:00
Jack Andersen 1c44f8d1bc Various movement and HUD bug fixes 2017-12-18 17:05:50 -10:00
Jack Andersen 5149128b60 DCLN cooking and various bug fixes 2017-10-16 19:51:53 -10:00
Jack Andersen 4af2d975f4 Finish CBallCamera 2017-10-15 19:26:50 -10:00
Jack Andersen 2aee5910d6 Work on CBallCamera 2017-10-14 19:38:10 -10:00
Jack Andersen 96c17ba729 Work on CBallCamera 2017-10-13 20:34:57 -10:00
Jack Andersen 16f6307642 More CBallCamera and CCameraSpline work 2017-10-12 21:19:22 -10:00
Jack Andersen 651d0a27c2 More work on CBallCamera 2017-10-09 17:50:48 -10:00
Jack Andersen 4c83f521a8 Add CBallCamera stubs, more implementations 2017-10-08 16:41:50 -10:00
Jack Andersen d9bb24a204 Implement CBallCamera constructor 2017-10-07 16:58:13 -10:00
Jack Andersen 0f68e2ba3f Work on CScriptCameraHint and CCameraManager 2017-10-05 21:29:56 -10:00
Jack Andersen 98b2fb6855 Work on CPlayer 2017-08-17 15:30:15 -10:00
Jack Andersen 884a18b80b Additional CPlayer imps 2017-08-01 21:13:11 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen fb1ce432aa CStateManager::InitializeResources() dependencies all in 2016-08-14 15:19:04 -10:00
Jack Andersen 042030934b Various CStateManager additions and camera stubs 2016-04-16 11:49:47 -10:00