Commit Graph

32 Commits

Author SHA1 Message Date
Lioncash fd2f2e146c CFluidPlaneCPU: Convert define into a typed constant
Same behavior, less preprocessor.
2020-05-12 17:00:00 -04:00
Lioncash 75494a501a CFluidPlaneCPU: Early exit in CTurbulence constructor
Allows unindenting code.
2020-05-12 16:58:30 -04:00
Lioncash dc32bee499 CFluidPlaneCPU: Eliminate sign conversions in CTurbulence constructor 2020-05-12 16:57:42 -04:00
Lioncash 5d85cd496a CFluidPlane: Make use of std::array where applicable
Makes all the arrays strongly typed. We can also use type aliases to
greatly shorten some type definitions.
2020-04-12 12:17:12 -04:00
Lioncash 14f6dd2cd8 CFluidUVMotion: Return std::array by value from CalculateFluidTextureOffset()
Same behavior, but allows for easier use of API and makes it harder to
misuse. It also makes it easier for analysis to determine out of bounds,
given we leverage std::array rather than a pointer that causes arrays to
decay and lose their size information.
2020-04-12 09:23:52 -04:00
Lioncash 402216447a CFluidPlane: Make Render() non-const
Allows making the shader instances non-mutable.
2020-04-06 02:18:14 -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 5acf9ecbcf Graphics debug groups and bug fixes 2019-07-20 22:42:52 -10:00
Jack Andersen 77af3f0ebd CPuddleToadGamma and animation system fixes 2019-06-20 20:02:56 -10: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 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 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Jack Andersen ac8dfde174 Various bug fixes and CActor rendering 2018-02-04 20:56:09 -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 e0efcc0e5c Implement triangle fan-to-strip stream converter 2017-08-10 15:16:58 -10:00
Jack Andersen fd7589afd5 Implement non-rippling CFluidPlaneCPU render path 2017-08-10 13:13:25 -10:00
Jack Andersen ea2fdc939b Create directional light for bump mapped water rendering 2017-08-09 21:37:01 -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
Jack Andersen e67a142013 Implement class declaration for CFluidPlane/CFluidPlaneCPU 2017-08-05 21:15:42 -10:00
Phillip Stephens 83f3e3d4f1 Various Implementations 2016-11-20 13:53:15 -08:00