Commit Graph

25 Commits

Author SHA1 Message Date
Phillip Stephens a9bcb7a9ce
Reformat pass 2021-06-07 12:29:18 -07:00
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07:00
Lioncash f620b4325f CIntElement: Make use of [[maybe_unused]] where applicable 2020-04-24 00:55:43 -04:00
Luke Street 5e748a0d7f Particle/C*EPulse: Fix implementations 2020-04-12 05:38:44 -04:00
Lioncash a2517a504e CIntElement: Remove const_cast
CIESampleAndHold caches values internally for use later in a non-visible
manner to the user of the class. This is a good place for mutable to be
used.

This improves the readability of the GetValue() implementation.
2020-03-22 06:05:59 -04:00
Phillip Stephens 34e78a2dd0
Move CParticleGlobals from the executable and onto the heap, minor fixes, update wiki link 2019-12-03 00:47:05 -08:00
Lioncash 8b58cdc268 CIntElement: Add class to handle RTOI int elements
Within the int element handling code, there seems to be a missing
implementation (with the FourCC 'RTOI'), which seems to take two 32-bit
floating point values, multiplies them, then converts the result to a 32-bit
integer.
2019-10-06 08:52:41 -04:00
Lioncash ff940612bc CIntElement: Make use of std::clamp within CIEClamp's overrides
Same behavior, less code.
2019-10-04 19:51:38 -04:00
Lioncash 3407a59ad7 CIntElement: Simplify CIEKeyframeEmitter's GetMaxValue()
We can just use std::max_element here to collapse the loop into an
assignment.
2019-10-04 19:46:36 -04:00
Lioncash af0c2c41e3 CIntElement: Organize cpp includes 2019-10-04 19:38:31 -04:00
Lioncash 83873b580e CIntElement: Join variable declarations with assignments where applicable 2019-10-04 19:38:26 -04:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 8f9d7da3ee Implement tessellation shader for HLSL 2018-06-07 15:15:46 -10:00
Jack Andersen bb10423267 Various particle bug fixes 2018-01-26 22:34:46 -10:00
Jack Andersen 0aaeed2aeb const_cast refactor 2016-08-28 18:22:54 -10:00
Jack Andersen 929f8263fc Windows Fixes; D3D depth support 2016-04-02 19:25:34 -10:00
Phillip Stephens 42717c383c Rename EVNT structs to match the engine
Implement getter elements and state tracking for CElementGen
2016-03-18 19:04:12 -07:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10:00
Jack Andersen accc593102 BNCE variable names and some doc-links 2016-02-27 20:55:05 -10:00
Phillip Stephens af69c9d3ab Rename namespaces 2016-02-13 01:02:47 -08:00
Phillip Stephens aa1bceb605 Add GAPC and GEMT 2016-02-11 12:32:42 -08:00
Jack Andersen 33eb00b366 CElementGen constructor 2016-02-09 12:52:33 -10:00
Jack Andersen 080c484a96 More element implementation 2016-02-07 13:59:05 -10:00
Jack Andersen 7ae8d21c55 All int elements implemented 2016-02-06 14:19:59 -10:00
Jack Andersen 7a35dac972 Initial round of particle runtime implementations 2016-02-04 15:27:03 -10:00