Commit Graph

47 Commits

Author SHA1 Message Date
Lioncash fa3e639a9d RuntimeCommon: Make use of bitfield initializers where applicable
Continues and finishes the migration towards initializing all bitfield
members where applicable
2020-04-21 17:16:19 -04:00
Luke Street 402e45ecb5 Runtime/MP1: Replace bitfield unions with constructor initializers 2020-04-10 15:25:40 -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 6dce70895c CIOWin: Make Draw() non-const
Allows removing several const_cast usages within the codebase.
2020-03-29 21:56:49 -04:00
Lioncash 90e866d2d5 CFrontEndUI: Default initialize SFrontEndFrame's x4_action to EAction::None
This is the initial value that GM8E v0 assigns to this member variable.
Previously it was being left uninitialized on construction.
2020-03-12 17:35:36 -04:00
Lioncash f1256faeb7 Runtime: Remove unnecessary c_str() calls
Makes for less noisy code and also gets rid of unnecessary std::strlen
calls in the case things are passed to a std::string_view parameter.
2020-02-28 05:26:41 -05:00
Lioncash 902f4fb5c5 Graphics/Shaders: Use forward declarations where applicable
Now, with all of the headers normalized, we can safely convert some
headers into forward declarations without needing to worry about
potentially breaking code in other headers or source files.
2019-11-09 20:22:09 -05:00
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00
Lioncash 86218421f5 CFrontEndUI: Use std::array where applicable
Makes the array types strongly-typed and also allows us to eliminate a
few magic values within the code.
2019-09-14 16:26:29 -04:00
Lioncash 2a10e547d2 CFrontEndUI: Sort includes
Tidies up the includes for the translation unit and alphabetizes them
for easier reading.
2019-09-14 15:42:12 -04:00
Lioncash 9312eef905 RuntimeCommon: Use override where applicable
Continues the override modernization by applying it to the main
RuntimeCommon target. Resolves around 1100+ cases where override can be
used.
2019-08-09 17:39:42 -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
Jack Andersen c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
Jack Andersen 15e5b4bbb8 NESEmulator save fixes 2018-02-02 14:35:19 -10:00
Jack Andersen 99fc9e3598 Various bug fixes and CAnimTree implementations 2018-01-03 18:17:44 -10:00
Jack Andersen f7ec7bdc0c string_view refactor 2017-11-12 20:19:18 -10:00
Jack Andersen ca69a54faf Camera filter refactor 2017-05-31 19:34:24 -10:00
Jack Andersen a7cab596e6 Initial InGameGuiManager imps 2017-02-11 17:17:18 -10:00
Jack Andersen 17d986bb43 Implement CGameOptionsTouchBar 2017-02-09 23:00:57 -10:00
Jack Andersen 3f03ba7950 Implement key FrontEnd Touch Bar functionality 2017-02-08 23:23:17 -10:00
Jack Andersen 9ea7cee23c Memory card bug fixes 2017-02-03 17:46:12 -10:00
Jack Andersen 6968d9f0d3 Various UI fixes, unsupported emulator message 2017-02-02 21:33:46 -10:00
Jack Andersen 7a60151d3e Char16 refactor and GuiSys bug fixes 2017-01-23 21:41:33 -10:00
Jack Andersen 56b24c39f0 Ensure directories are created late in extract 2017-01-16 15:23:19 -10:00
Jack Andersen 904166e016 RumbleFxTable and final FrontEnd options functions 2017-01-12 14:16:26 -10:00
Jack Andersen f16c61cce8 Work on options portion of CFrontEndUI 2017-01-09 21:15:49 -10:00
Jack Andersen 4c09493a3f CFrontEndUI work 2017-01-08 17:44:00 -10:00
Jack Andersen 0d4ea76c7f CGBASupport implementations 2016-12-31 20:46:52 -10:00
Jack Andersen db7c2aeaf2 GuiSys and FrontEnd work 2016-12-30 14:51:51 -10:00
Jack Andersen a93ca26ea1 CFrontEndUI work 2016-12-29 20:37:01 -10:00
Jack Andersen 46cf8cd86d Refactor memory card access class as CMemoryCardDriver 2016-12-19 09:20:30 -10:00
Jack Andersen 03a93c52b9 CSaveUI work 2016-12-17 18:16:04 -10:00
Jack Andersen a2b07ba357 CFrontEndUI work 2016-12-16 13:05:29 -10:00
Jack Andersen f665812d6e More CGuiSys and CFrontEndUI work 2016-12-15 18:35:49 -10:00
Jack Andersen 19a371c931 Refactor GuiSys (remove general logic handling) 2016-12-15 12:37:34 -10:00
Jack Andersen 6b765838a7 Work on CFrontEndUI 2016-12-14 12:56:59 -10:00
Jack Andersen 2d961af921 CFrontEndUI work 2016-12-12 19:22:30 -10:00
Jack Andersen 2fed8f36fb Initial CSlideShow 2016-09-16 10:18:03 -10:00
Phillip Stephens ec79bcd397 CFrontEnd fixes 2016-08-05 16:48:53 -07:00
Jack Andersen 5de5c3d85f Character factory support classes 2016-04-12 20:07:23 -10:00
Jack Andersen 783fb4c4fe Humungous refactor 2016-03-04 13:04:53 -10: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
Jack Andersen d1faf4e72d Windows refactors 2015-08-30 17:44:42 -10:00
Jack Andersen d6e0a1c7c6 More class stubs 2015-08-26 14:23:46 -10:00