Commit Graph

49 Commits

Author SHA1 Message Date
Lioncash 0e54861455 General: Remove unnecessary std::move calls
There's no real need to std::move a primitive type. A copy will be
performed either way. We can remove std::move in this case to improve
readability.
2020-03-22 00:56:04 -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 8b6dff70b4
Properly cleanup Xorg in visigen, various fixes and cleanups in URDE, more CRidley imps 2019-11-19 15:06:25 -08:00
Lioncash 7430b70b73 CParticleDataFactory: Use unique_ptr where applicable
Same behavior, but makes the functions a little safer in terms of memory
management.
2019-10-11 15:16:13 -04: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 f9079f0215 Runtime: Make use of std::make_unique where applicable
Makes use of the C++14 make_unique allocation function to allocate class
instances where applicable instead of a reset with a new operator within
it.

This doesn't touch cases where buffers are allocated, given make_unique
would zero-initialize them.
2019-09-12 04:09:48 -04:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen 3a0d2930fa Numerous uninitialized memory fixes 2019-04-06 19:14:48 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Phillip Stephens 89ece2e9b2 Proper CRandom16 usage
More CScriptGunTurret imps
2018-11-09 18:48:06 -08:00
Jack Andersen f60af632b3 Big fixes and big memory leak refactor (linux only for now) 2018-05-19 20:14:57 -10:00
Jack Andersen faf0ac7d27 Particle POI fix, implement ORNT mode for particles 2018-05-12 18:09:11 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Phillip Stephens a8f5efb6e5 Fix command line args on macOS when passed via open, implement CScriptCameraPitchVolume 2017-01-23 02:31:15 -08:00
Jack Andersen d7f79d6ec3 Work on CMemoryCardDriver 2016-12-22 20:41:39 -10:00
Jack Andersen 9b6ab93ae5 Remove unnecessary and RVO-detrimental moves 2016-10-02 18:39:31 -10:00
Jack Andersen f4ea728a61 Resource factories now provided with self-ref 2016-09-02 09:32:57 -10:00
Phillip Stephens a840cc7afb CBodyState and CStateMachine work 2016-08-15 13:43:04 -07:00
Jack Andersen 952b96fa79 GLSL refactors to support Vulkan 2016-07-07 14:07:11 -10:00
Jack Andersen 8608b52774 CModelData imps 2016-04-14 11:42:47 -10:00
Phillip Stephens dc978a4c79 Add Global Project
Fix Particle Crashes
2016-04-02 01:44:23 -07:00
Phillip Stephens d7672226a2 Unify factory return type 2016-03-30 17:38:03 -07: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 a81bc3c7a2 CGuiLight imps 2016-03-16 10:49:35 -10:00
Jack Andersen 9ade279902 Merge branch 'master' into urde-tags 2016-03-04 14:03:41 -10:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10:00
Jack Andersen 1884f89f53 New atdna YAML handling 2016-03-03 15:01:37 -10:00
Jack Andersen a260108a09 Retail offsets added 2016-03-02 15:06:42 -10:00
Jack Andersen 365f6ac9e7 Implement line renderer (OpenGL only for now) 2016-02-17 16:42:32 -10:00
Phillip Stephens f70577dc2b Remove CVESPOS
Fix CVEPSO*
2016-02-17 00:38:48 -08:00
Phillip Stephens f1bba142d5 Merge branch 'master' of https://github.com/AxioDL/PathShagged 2016-02-17 00:08:06 -08:00
Phillip Stephens 25de1ca641 Add missed VectorElement 2016-02-17 00:07:32 -08:00
Jack Andersen 6cabf3d3e7 lots of includes to make MSVC happy 2016-02-16 19:20:34 -10:00
Jack Andersen 13e3afa72f D3D CElementGen rendering 2016-02-16 17:42:27 -10:00
Phillip Stephens fe38bfec2d Rethink BGCL 2016-02-15 11:12:55 -08:00
Phillip Stephens 1c5a86dcbf Add proper CRandom16 vars to factories 2016-02-15 00:23:50 -08:00
Phillip Stephens b2cbb4e298 Implement LoadGPSM
Remove corrupted SELC duplicate (PMLC)
2016-02-14 18:31:46 -08:00
Phillip Stephens af69c9d3ab Rename namespaces 2016-02-13 01:02:47 -08:00
Jack Andersen 5f4eee538d Finished CElementGen virtual method imps 2016-02-12 19:16:39 -10:00
Phillip Stephens bd57eea5cd More stubs 2016-02-11 22:06:17 -08:00
Jack Andersen 93f8ae8905 Constructor stubs for swooshes and electrics 2016-02-11 13:05:42 -10:00
Jack Andersen b801bc5744 Merge branch 'master' of https://github.com/AxioDL/PathShagged 2016-02-11 12:43:04 -10:00
Jack Andersen ffdea0c2b9 Additional particle imps 2016-02-11 12:38:25 -10:00
Phillip Stephens aa1bceb605 Add GAPC and GEMT 2016-02-11 12:32:42 -08:00
Jack Andersen 8dbd2f3819 Additional vector elements 2016-02-06 21:25:34 -10:00
Jack Andersen 7ae8d21c55 All int elements implemented 2016-02-06 14:19:59 -10:00
Jack Andersen 8fbe6a953c All real elements implemented 2016-02-05 21:31:53 -10:00
Jack Andersen 49e84c85fd Nearly all CParticleDataFactory implemented 2016-02-05 14:34:40 -10:00
Jack Andersen 7a35dac972 Initial round of particle runtime implementations 2016-02-04 15:27:03 -10:00