Commit Graph

118 Commits

Author SHA1 Message Date
Lioncash 6ca5143b15 CRumbleVoice: Make SAdsrData constructors constexpr
Technically all file-scope instances have runtime-static constructors
otherwise. This allows the compiler to completely elide them from a
language point of view.
2019-09-10 19:02:22 -04:00
Lioncash 5b1e783a90 ControlMapper: Prevent array overrun cases
These should be comparing with >=, not >.

The command table descriptions also weren't kept in sync with the
enumeration.
2019-09-06 11:18:13 -04:00
Lioncash 27a8274e3b Runtime/Input/CFinalInput: Make comparison operators const
While we're at it, we can also provide an inequality operator for
logical symmetry.
2019-08-14 02:11:50 -04:00
Lioncash e9e9de26b2 Runtime/Input/CFinalInput: Correct return value of AKey, ASpecialKey and AMouseButton
The other A-prefixed functions all return a float value, however these
are truncating float values to bool. We can amend this to prevent
potential compilation warnings.
2019-08-14 02:07:02 -04:00
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00
Jack Andersen e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen 3a0d2930fa Numerous uninitialized memory fixes 2019-04-06 19:14:48 -10:00
Jack Andersen ad2681f857 Windows fixes 2019-01-28 22:28:35 -10:00
Jack Andersen aeb6a9a147 More mouse events for pause screen 2019-01-21 18:23:51 -10:00
Jack Andersen f3f9924309 Initial mouse events for pause screen 2019-01-20 18:10:34 -10:00
Jack Andersen 47c6b5cba8 Bug fixes and CGuiFrame mouse events 2019-01-19 20:43:11 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Phillip Stephens ea4848196a Implement CNewIntroBoss 2018-11-16 21:05:57 -08:00
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen c307e354ca Huge shader refactor 2018-10-06 16:59:17 -10:00
Phillip Stephens c0b8b89a9b Various CScriptSpecialFunction implementation, more debugOverlay CVars 2018-06-08 14:00:18 -07:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10: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 97835607d9 More windows build fixes 2018-02-03 20:46:47 -10:00
Jack Andersen 15e5b4bbb8 NESEmulator save fixes 2018-02-02 14:35:19 -10:00
Jack Andersen bb10423267 Various particle bug fixes 2018-01-26 22:34:46 -10:00
Jack Andersen 6f7cd14836 Ensure rumble pre-pulse 2018-01-26 09:46:35 -10:00
Jack Andersen 13a31be23b Implement rumble classes 2018-01-25 23:48:42 -10:00
Jack Andersen ce2ed8cec6 Camera and input fixes 2017-12-15 14:19:15 -10:00
Jack Andersen 7cd3e8f502 Various bug fixes 2017-11-29 15:22:46 -10:00
Phillip Stephens f1329268a6 Fix input being ignored, fix CPauseScreen crash when starting a transition 2017-11-15 08:33:24 -08:00
Jack Andersen 0f68e2ba3f Work on CScriptCameraHint and CCameraManager 2017-10-05 21:29:56 -10:00
Jack Andersen 2c4967ca4d More work on CMorphBall 2017-09-16 17:13:03 -10:00
Jack Andersen 149eed4b73 Implement CAuxBeam 2017-09-09 14:36:21 -10:00
Jack Andersen 640623f3ef Finish CGrappleArm 2017-09-03 16:22:46 -10:00
Jack Andersen 35ab6e4803 Finish CPlayerGun 2017-09-01 18:06:05 -10:00
Jack Andersen 86ada63867 Work on CPlayerGun 2017-08-25 18:36:25 -10:00
Jack Andersen 5f02951f72 Work on CPlayer 2017-07-19 20:04:40 -10:00
Jack Andersen 4017f2acdd Implement CPlayer::UpdateGrappleState 2017-07-17 20:11:37 -10:00
Jack Andersen 6c257e1811 Work on CPlayer 2017-07-15 20:13:37 -10:00
Jack Andersen 4f33422423 Lots of CPlayer implementations 2017-06-11 18:23:34 -10:00
Phillip Stephens c70a0d81cb Fix CInputGenerator, CRadarPaintShaderGLSL and CPhazonSuitFilterGLSL crashes 2017-05-09 17:03:20 -07:00
Jack Andersen 98142731d8 Smart pointer usage for input device handle 2017-05-08 09:13:18 -10:00
Jack Andersen 394cbf36e0 Work on CPauseScreen 2017-05-01 18:00:38 -10:00
Jack Andersen a2b9bfb1a2 Lots of CSamusHud imps 2017-04-02 15:39:23 -10:00
Jack Andersen c069666307 Player reflection and other imps 2017-03-25 19:53:04 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen 56328c3e4d Lots of CMFGame integration 2017-02-17 16:19:50 -10:00
Phillip Stephens 8292e8abaa Fix CIOWinManager crash when attempting to distribute messages 2017-01-27 01:21:02 -08: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 904166e016 RumbleFxTable and final FrontEnd options functions 2017-01-12 14:16:26 -10:00
Phillip Stephens 353dbadfe9 Code cleanup and corrections 2017-01-06 17:58:05 -08:00
Jack Andersen f665812d6e More CGuiSys and CFrontEndUI work 2016-12-15 18:35:49 -10:00
Jack Andersen 9b6ab93ae5 Remove unnecessary and RVO-detrimental moves 2016-10-02 18:39:31 -10:00
Jack Andersen b60d55d784 Bad level link fixes 2016-04-23 18:03:30 -10:00
Jack Andersen 1817227465 CCameraManager imps 2016-04-16 16:50:45 -10:00
Jack Andersen 5de5c3d85f Character factory support classes 2016-04-12 20:07:23 -10:00
Jack Andersen 5566c5b002 More CGuiFrame imps 2016-03-14 18:55:57 -10:00
Jack Andersen 66247cfe79 Input handling for CGuiFrame 2016-03-14 13:32:44 -10:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10:00
Phillip Stephens 7ec23b50ba First round Rumble stubs 2016-02-20 22:34:42 -08:00
Phillip Stephens cf6c5bf55a Add virtual destructors to Architecture Message Parameters
Fix function signature
2016-02-20 01:52:16 -08:00
Phillip Stephens 8af98fb2f3 Code cleanup and add NamedResourceCatalog 2016-02-20 00:31:11 -08:00
Phillip Stephens 5229f95fb7 Restructure event handling 2016-02-19 22:45:36 -08:00
Phillip Stephens af69c9d3ab Rename namespaces 2016-02-13 01:02:47 -08:00
Jack Andersen e423db32ee Major scoped-enum refactor 2015-11-20 15:16:07 -10:00
Phillip Stephens 9cb8b10fda Update API.
Use u32 rather than uint32_t in CRandom16
2015-11-08 19:43:11 -08:00
Phillip Stephens c13757106b Update Zeus 2015-10-07 17:30:10 -07:00
Phillip Stephens 32dca9c912 Fix ControlMapper error 2015-09-30 19:35:47 -07:00
Jack Andersen 7223a9dce5 more input implementation 2015-08-28 15:30:47 -10:00
Jack Andersen ce42cdd3be various input class implementations 2015-08-27 14:11:31 -10:00
Jack Andersen 746eb46026 various implementations 2015-08-19 16:52:07 -10:00
Jack Andersen 6809fcc4a4 Codebase refactor 2015-08-18 12:51:54 -10:00