Commit Graph

106 Commits

Author SHA1 Message Date
Henrique Gemignani Passos Lima 1b4e0dc754 Improve Optick events 2021-06-29 01:10:54 +03:00
Phillip Stephens 7ca8c666ef Restore WaitUntileComplete 2021-06-13 19:33:13 -07:00
Phillip Stephens 933279ceb6 Various knockback related fixes, don't call WaitForComplete in CGameaArea 2021-06-13 18:06:29 -07:00
Phillip Stephens 6ff7e06c15 Remove unnecessary namespace specifier in CGameArea 2021-06-04 22:31:10 -07:00
Phillip Stephens 144af8cc15 Rename CWorldLayerState to CScriptLayerManager (this is it's actual name) 2021-06-03 23:08:05 -07:00
Phillip Stephens 9bae2f943e Rename everything 2021-04-10 01:42:06 -07:00
Phillip Stephens 28561081d7 Add light visualization (requires custom models) 2020-12-12 23:39:55 -08:00
Phillip Stephens b963ce1e85 Attempt 4 to fix ScriptLayerController for Tom 2020-10-21 15:55:45 -07:00
Phillip Stephens a8d8eb0dde Fix IGetAreaId and rename GetAreaId to GetAreaIndex 2020-10-20 03:03:11 -07:00
Luke Street ad6cabed7b DataSpec: Fix MREA mesh visor flags when cooking 2020-09-27 15:43:51 -04:00
Lioncash 73bb7c71b4 CGameArea: Make use of [[maybe_unused]] in WarmupShaders()
Same behavior, but silences compilation warnings about unused locals.
2020-05-08 17:12:58 -04:00
Lioncash eefeb5cd0b CGameArea: Remove undefined behavior type-punning in a few functions
We can make use of std::memcpy here to get around this.
2020-04-23 03:06:04 -04:00
Lioncash df3aed75fe CGameArea: Eliminate implicit sign conversions in Validate() 2020-04-23 02:53:24 -04:00
Lioncash 554893ef85 RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers
where applicable.
2020-04-20 15:57:25 -04:00
Lioncash b2ec3e7eac CGameArea: Make use of std::array where applicable
Same behavior, stronger typing, and optional runtime checking in debug
mode.
2020-04-12 11:36:19 -04:00
Jack Andersen 5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10:00
Lioncash 93dd28988d CGameArea: Make use of std::make_unique where applicable 2020-04-02 22:02:57 -04:00
Lioncash fc4df76afc General: Make use of emplace_back where applicable
Allows for in-place construction. Also results in less code to read in
certain usages.
2020-03-21 00:30:12 -04:00
Lioncash 097d4a4422 Runtime: Collapse emplace_back() calls where applicable
Same behavior, but with less code.
2020-03-13 17:14:44 -04:00
Phillip Stephens 17f25457c5 CGameArea::CAreaObjectList fix 2020-03-06 16:20:52 -08: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 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
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
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00