Commit Graph

73 Commits

Author SHA1 Message Date
Lioncash a2f7527388 CScriptPlayerActor: Remove two usages of const_cast
While we're at it, we can also simplify the implementation of
GetPostConstructed().
2020-04-09 20:05:53 -04:00
Lioncash 67f6666ea1 Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable.

This targets the regular RuntimeCommon target this time around.
2020-03-31 03:53:49 -04:00
Lioncash 241a66dc0a General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
2020-03-27 06:00:17 -04:00
Phillip Stephens 17f25457c5
CGameArea::CAreaObjectList fix 2020-03-06 16:20:52 -08:00
Lioncash 06789d1860 General: Normalize several headers' include paths
Normalizes the include paths and makes them consistent. Also adds any
missing includes relevant to the interface.
2019-09-22 20:36:33 -04:00
Phillip Stephens fa7785d024 Fix GetAreaFog 2019-08-14 12:56:46 -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
Lioncash d3d629d405 RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't
modify instance state.
2019-08-14 09:25:39 -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 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
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 3a9e7b2f9b PVS and DCLN bug fixes 2018-06-27 20:47:34 -10:00
Phillip Stephens c0b8b89a9b Various CScriptSpecialFunction implementation, more debugOverlay CVars 2018-06-08 14:00:18 -07:00
Jack Andersen cc6d79e280 Various bug fixes 2018-05-26 18:22:38 -10:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Jack Andersen 317aa9af25 Finish CScriptPlayerActor 2018-05-13 18:38:58 -10:00
Phillip Stephens 3bc1fc1160 Various area streaming fixes, implement missing object loaders 2018-05-07 19:19:09 -07:00
Phillip Stephens 734b25cad3 Fix doors and various area streaming bugs 2018-05-01 17:43:31 -07:00
Jack Andersen a78c4c6b36 Animation transitions and pause screen fixes 2018-01-04 17:02:30 -10:00
Phillip Stephens 5c7a03fb40 Fix game crashing when touching a dock to an unloaded area 2017-12-03 18:26:17 -08:00
Jack Andersen f60097b7e3 Implement CScriptSound and bug fixes 2017-11-26 19:06:53 -10:00
Jack Andersen cff5198e6b Major graphics resource performance improvement 2017-11-19 13:48:09 -10:00
Jack Andersen 742ab2514f First skybox and HUD rendering 2017-11-11 19:14:57 -10:00
Jack Andersen ff5c7321c7 Merge branch 'gl-fixes' 2017-11-05 20:58:43 -10:00
Jack Andersen 3894749675 Changes to support boo object tracker API 2017-11-04 20:17:12 -10:00
Phillip Stephens 44df36d64a CGameArea imps 2017-11-04 19:08:05 -07:00
Phillip Stephens d7cd8ee7e9 Implement CGameArea::Invalidate 2017-11-02 05:33:28 -07:00
Jack Andersen 2f4cddd3d2 Lots of CResFactory fixes 2017-10-27 00:10:32 -10:00
Jack Andersen 4ee4963aaf Windows fixes 2017-10-23 17:12:10 -10:00
Jack Andersen 15d60493f2 Lots of bug fixes (Windows still needs some fixes) 2017-10-21 20:11:22 -10:00
Jack Andersen 5149128b60 DCLN cooking and various bug fixes 2017-10-16 19:51:53 -10:00
Phillip Stephens 001125429f Basic CGameAllocator implementation (WIP) 2017-09-12 08:27:48 -07:00
Jack Andersen 0907c52ca3 Implement beam subclasses 2017-09-06 17:55:31 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Jack Andersen 56e386088a Additional work on CAutoMapper; CGameArea model setup 2017-04-18 13:41:01 -10:00
Jack Andersen 0fe125d913 Finish CSamusHud and subsystems 2017-04-13 09:28:31 -10:00
Jack Andersen 84578e9909 Implement CActorLights::BuildAreaLightList 2017-04-09 20:57:00 -10:00
Jack Andersen 1731cae418 Implement remaining CStateManager stubs 2017-03-31 09:51:40 -10:00
Jack Andersen 2530163a8c Initial collision testing and CStateManager work 2017-03-30 12:36:18 -10:00
Jack Andersen db12dd2ea2 Implement CStateManager::Update 2017-03-23 19:30:16 -10:00
Jack Andersen 8ef9ed2c3b Work on CMorphBallShadow 2017-03-04 21:57:12 -10:00
Jack Andersen cac0e328f7 Tons of DrawWorld-related implementations 2017-03-03 18:31:08 -10:00
Jack Andersen 5c884fec0c Work on CStateManager rendering functions 2017-03-02 21:18:12 -10:00
Jack Andersen e923d83617 CScriptMidi and work on CGameArea loading 2017-02-26 19:25:14 -10:00
Jack Andersen 50fe6d34ab PVS implementations 2017-02-18 23:27:01 -10:00
Jack Andersen 56328c3e4d Lots of CMFGame integration 2017-02-17 16:19:50 -10:00
Jack Andersen 01c31b4fc5 Initial CStreamAudioManager implementation 2017-01-15 22:40:33 -10:00