Commit Graph

36 Commits

Author SHA1 Message Date
Lioncash fa1e4f38df CScriptWater: Mark SolidFilter as constexpr
Same behavior, minus runtime initializers.
2020-04-12 11:59:08 -04:00
Luke Street bb7e94f304 Runtime/World: Replace bitfield unions with constructor initializers 2020-04-11 01:50:10 -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
Luke Street 7774bc06ca
Merge pull request #297 from lioncash/render
CActor: Make AddToRenderer() non-const
2020-04-09 10:55:16 -04:00
Lioncash 41c2ede092 CScriptWater: Make private const data internally linked
Same behavior, but allows completely hiding it from external view and
also allows making the data constexpr.
2020-04-06 05:42:15 -04:00
Lioncash cabbfcc320 CActor: Make AddToRenderer() non-const
This member function alters instance state in a few implementations, so
it shouldn't be made const.

The state manager parameter also shouldn't be const. Retrieved data
from the post constructed instance is further modified in some
implementations. This removes the constness on this parameter in order
to fix more const_cast usages in a follow-up change.
2020-04-06 00:52:10 -04:00
Lioncash 221cc5c6b8 RuntimeCommonB: Normalize cpp file includes
Like the prior changes normalizing the inclusions within headers, this
tackles the cpp files of the RuntimeCommonB target, making these source
files consistent with their headers.
2019-12-22 18:12:04 -05: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 ad2681f857 Windows fixes 2019-01-28 22:28:35 -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 9c88971df6 Initial CSpacePirate and rag doll imps 2018-11-23 22:09:35 -10:00
Jack Andersen ac424ff9eb Implement CFluidPlaneGPU for GPU-computed water ripples 2018-06-06 18:43:26 -10:00
Jack Andersen e63102e180 Implement water rippling and fix CFluidPlane memory access errors 2018-06-03 15:56:21 -10:00
Jack Andersen a5f25bf3f4 Fix water rendering 2018-06-02 20:11:39 -10:00
Jack Andersen 46a4a37cc6 Initial working projectiles 2018-02-11 19:30:21 -10:00
Jack Andersen ae6797f24b Fix player dynamic collision 2018-02-07 20:18:27 -10:00
Jack Andersen 93fc2d8072 Initial fixNES integration 2018-02-01 13:19:34 -10:00
Jack Andersen 7951cb1ee0 Bug fixes 2017-11-28 00:06:40 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 0f68e2ba3f Work on CScriptCameraHint and CCameraManager 2017-10-05 21:29:56 -10:00
Jack Andersen 8e8ce66799 Additional CPlayer implementations 2017-08-15 19:34:02 -10:00
Jack Andersen 086ff76474 Implement CFluidPlaneDoor and CScriptDamageableTrigger 2017-08-13 17:55:06 -10:00
Jack Andersen 02f8f77b57 Merge branch 'master' of https://github.com/AxioDL/urde 2017-08-12 22:19:33 -10:00
Jack Andersen e25d2a423d Nearly finish CScriptWater 2017-08-12 21:56:35 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Jack Andersen fd7589afd5 Implement non-rippling CFluidPlaneCPU render path 2017-08-10 13:13:25 -10:00
Jack Andersen dc637f251d Work on CFluidPlaneCPU 2017-08-09 21:05:27 -10:00
Jack Andersen 3650a58a1e Initial CFluidPlane implementation 2017-08-07 20:03:57 -10:00
Phillip Stephens 331253cd1f Initial CScriptActor imps 2017-02-10 16:52:52 -08:00
Phillip Stephens be40ebc8db Move weapon code to RuntimeWeapon 2016-11-22 12:43:16 -08:00
Phillip Stephens 83f3e3d4f1 Various Implementations 2016-11-20 13:53:15 -08:00
Phillip Stephens beb1946e47 Add ScriptWater loader imp 2016-04-19 22:44:08 -07:00
Jack Andersen 1817227465 CCameraManager imps 2016-04-16 16:50:45 -10:00