Commit Graph

68 Commits

Author SHA1 Message Date
Lioncash 097d4a4422 Runtime: Collapse emplace_back() calls where applicable
Same behavior, but with less code.
2020-03-13 17:14:44 -04:00
Lioncash b847930a85 CCameraManager: Collapse loop into std::find_if in RemoveCameraShaker
We can collapse the loop into a find_if call here, since it only does a
look up and nothing more.
2020-01-20 12:57:23 -05:00
Lioncash b3fcbf9a89 CCameraManager: Resolve signed/unsigned mismatch in RemoveCameraShaker
An unsigned value is passed into RemoveCameraShaker at its only usage
spot. This also resolves unsigned/signed comparisons within the function
itself.
2020-01-20 12:51:52 -05: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 359f505787 CCameraManager: Collapse private static variables into functions
Four of the five variables aren't modified, so they can be specified
directly within the functions and just be reused in place of the
variable names. This allows the constants to be elided or put into
read-only memory if necessary. It also makes the mutable value explicit.
2019-09-27 22:46:59 -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
Lioncash d3d629d405 RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't
modify instance state.
2019-08-14 09:25:39 -04:00
Jack Andersen b72cc490e8 Implement CFishCloud 2019-04-02 18:32:31 -10:00
Jack Andersen 8df0a4913c zeus constexpr refactor and thermal visor fixes 2019-02-23 21:15:54 -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
Phillip Stephens 96f20512bb More CScriptSpecialFunction imps, fix intermittent crash in CAnimTreeTweenBase 2018-11-18 21:01:39 -08:00
Jack Andersen e46ec80b64 Integrate Amuse into hecl cook/extract for MP1/2 2018-09-02 14:46:16 -10:00
Jack Andersen 3a9e7b2f9b PVS and DCLN bug fixes 2018-06-27 20:47:34 -10:00
Jack Andersen 680cb7b353 Finish CInterpolationCamera 2018-06-27 15:17:01 -10:00
Jack Andersen ac424ff9eb Implement CFluidPlaneGPU for GPU-computed water ripples 2018-06-06 18:43:26 -10:00
Jack Andersen 12430610f1 Lots of bug fixes 2018-05-09 21:25:26 -10:00
Jack Andersen 46a4a37cc6 Initial working projectiles 2018-02-11 19:30:21 -10:00
Jack Andersen 083571e693 Work on CGameProjectile 2018-02-08 21:12:26 -10:00
Jack Andersen 13a31be23b Implement rumble classes 2018-01-25 23:48:42 -10:00
Jack Andersen 47b3d57c3a Arm cannon rendering fixes 2018-01-14 21:39:25 -10:00
Jack Andersen c00cc6cea9 Lots of bug fixes; working CPhazonSuitFilter 2017-12-19 20:06:54 -10:00
Jack Andersen 11d17d0fe5 Various bug fixes 2017-11-25 17:04:25 -10:00
Jack Andersen 6854cb9df7 Various bug fixes 2017-11-23 22:23:28 -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 651d0a27c2 More work on CBallCamera 2017-10-09 17:50:48 -10:00
Jack Andersen 75094ca39a Finish CFirstPersonCamera 2017-10-06 19:32:11 -10:00
Jack Andersen d8fc301484 Minor stylistic adjustments 2017-10-05 21:43:39 -10:00
Jack Andersen 0f68e2ba3f Work on CScriptCameraHint and CCameraManager 2017-10-05 21:29:56 -10:00
Jack Andersen c46010256c Implement CScriptCameraHint scripting interface 2017-10-04 19:40:44 -10:00
Jack Andersen 5797e0c773 Integrate amuse listener and emitter 2017-09-18 17:59:50 -10:00
Phillip Stephens 9b5ec8f86d Fix visigen/hecl dependencies; Cleanup ViewManager; Various implementations 2017-08-29 06:17:52 -07:00
Jack Andersen 3fa80babf6 More CPlayer implementations 2017-08-18 20:52:13 -10:00
Jack Andersen 98b2fb6855 Work on CPlayer 2017-08-17 15:30:15 -10:00
Jack Andersen 8e8ce66799 Additional CPlayer implementations 2017-08-15 19:34:02 -10:00
Jack Andersen e67a142013 Implement class declaration for CFluidPlane/CFluidPlaneCPU 2017-08-05 21:15:42 -10:00
Jack Andersen 884a18b80b Additional CPlayer imps 2017-08-01 21:13:11 -10:00
Jack Andersen 925aa3fe1a More CPlayer imps 2017-07-30 19:19:05 -10:00
Jack Andersen ca69a54faf Camera filter refactor 2017-05-31 19:34:24 -10:00
Jack Andersen f016a251db Additional CStateManager imps 2017-03-26 09:36:07 -10:00
Jack Andersen c069666307 Player reflection and other imps 2017-03-25 19:53:04 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen 6c9462e099 Camera shakers and controller action scripting 2017-03-17 19:12:27 -10:00
Phillip Stephens fe72458f48 Restore CCameraManager::GetCurrentCamera's proper behavior (AKA, I'm an idiot) 2017-03-05 09:54:00 -08:00
Jack Andersen 5c884fec0c Work on CStateManager rendering functions 2017-03-02 21:18:12 -10:00
Jack Andersen 56328c3e4d Lots of CMFGame integration 2017-02-17 16:19:50 -10:00
Phillip Stephens e062de1429 Finish CScriptActor 2017-02-12 16:00:07 -08:00
Jack Andersen 6857e219b4 Windows Fixes 2017-02-11 18:43:33 -10:00
Jack Andersen fbbd24f96e Make vector constants class-scope 2017-02-11 17:51:59 -10:00