Commit Graph

33 Commits

Author SHA1 Message Date
Lioncash c84f430852 CScriptPlatform: Simplify IsRider()
Same behavior, less code.
2020-04-12 15:11:24 -04:00
Lioncash fd5c6f9e59 CScriptPlatform: Make use of TCastToConstPtr where applicable
Makes the read-only intent more explicit to the reader.
2020-04-12 14:59:59 -04:00
Lioncash ff847eaf41 CScriptPlatform: Make platform material list constexpr
Same behavior, no runtime overhead.
2020-04-12 14:11:11 -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
Lioncash c944d04614 CScriptPlatform: Amend delta time value in AcceptScriptMsg for deletion
Game code makes use of 1.66666675f here, not 0.0f.
2020-01-31 23:53:39 -05: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 297513c8d4
Fix Impact Crater causing an infinite loop for simply not having a skybox 2019-11-06 09:33:45 -08: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 afab3e0327 Runtime: Make const/non-const getters have the same name
Makes for a more consistent interface, as getters won't have different
names to remember based off whether or not they're const qualified.
2019-08-14 12:45:57 -04:00
Jack Andersen 0e8e3e906c Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde 2019-06-11 16:05:44 -10:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Phillip Stephens 2f2ab149d4 Initial `CScriptSpecialFunction::ThinkSpinnerController` 2019-06-10 20:09:38 -07:00
Jack Andersen 4b042f6f9a OpenGL memory leak fix 2019-03-04 22:34:43 -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 3147b49b3d EVNT extraction fix 2018-10-27 15:22:55 -10:00
Jack Andersen d0af2cb4f7 Finish CScriptPlatform 2018-06-29 10:21:36 -10:00
Jack Andersen 186acae5d8 Initial CScriptPlatform collision 2018-06-23 16:39:53 -10:00
Phillip Stephens c0b8b89a9b Various CScriptSpecialFunction implementation, more debugOverlay CVars 2018-06-08 14:00:18 -07:00
Phillip Stephens 711c3e0d2c Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor 2018-04-29 20:12:41 -07:00
Jack Andersen 46a4a37cc6 Initial working projectiles 2018-02-11 19:30:21 -10:00
Jack Andersen 1c44f8d1bc Various movement and HUD bug fixes 2017-12-18 17:05:50 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen 4528a6b60a Additional CPlayer work 2017-07-23 13:45:04 -10:00
Jack Andersen a2c462529f Add some moving collision implementations 2017-06-22 07:56:51 -10:00
Jack Andersen 71a361f54e Work on collision related implementations 2017-06-17 15:58:13 -10:00
Phillip Stephens 46c70ecf11 Initial CScriptPlatform imps, minor cleanup, and RandomStatic GLSL fixes 2017-06-10 22:49:27 -07:00
Jack Andersen e2c671e9b4 TCastTo implementation 2017-01-14 17:07:01 -10:00
Phillip Stephens af1e22a62d Start naming EMaterialTypes values 2016-12-29 13:38:59 -08:00
Phillip Stephens 022c2feb6c CPhysicsActor fixes, initial clang-format 2016-09-02 08:26:29 -07:00
Phillip Stephens 4615f37f59 Various imps 2016-04-22 13:22:45 -07:00
Jack Andersen 0f6d1645ba More script loaders 2016-04-20 11:44:18 -10:00