2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00

61 Commits

Author SHA1 Message Date
Lioncash
5d209c8dc8 General: Mark a handful of deduced const variables as const explicitly
Same behavior, but makes it explicit to the reader that these are const.

Prevents cases where the reader might assume that just because the
variable isn't const qualified that it must be mutable, when it actually
isn't.
2020-05-08 18:41:29 -04:00
Lioncash
f844f2028b CGameOptions: Give all function prototype parameters a name
Makes the interface more self-documenting and also allows better IDE
introspection.
2020-04-16 19:49:35 -04:00
Lioncash
e7ef1e0b5e CGameOptions: Make TuneScreenBrightness() a const member function
This member function doesn't modify internal class state.
2020-04-16 19:42:22 -04:00
Lioncash
c32c42e12b CGameOptions: Amend wonky formatting of VisorOptsNew 2020-04-16 13:00:08 -04:00
c64e3d2ba7
Initial string fixes 2020-04-15 23:57:04 -07:00
Lioncash
976bf0d83e CGameOption: Mark C-Pad arrays constexpr
Allows elision of runtime initializers.
2020-04-12 05:43:14 -04:00
Lioncash
1085600f30 CGameOption: Eliminate truncations to bool 2020-04-12 05:43:14 -04:00
Lioncash
3c9fef492a CGameOptions: Mark GameOptionsRegistry as constexpr
Same behavior but eliminates potential runtime initializers.
2020-04-12 05:27:44 -04:00
346d110b79 Runtime: Replace bitfield unions with constructor initializers 2020-04-10 15:02:36 -04:00
Lioncash
4c6ab60110 CGameOptions: Eliminate type punning in CHintOptions constructor and PutTo()
Type punning with unions is undefined behavior.
2020-04-03 02:19:28 -04:00
Lioncash
659b8a43d3 CGameOptions: Make use of std::string_view where applicable
Enforces the use of valid strings in the interface. Also reduces c_str()
noise a little bit.
2020-03-14 20:09:23 -04: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
Jack Andersen
16ca0d24c2 Explicit Asset ID refactor 2019-09-30 21:38:03 -10:00
Lioncash
acb9ac92e7 Runtime/CGameOptions: Use std::array where applicable
Makes the data a little more strongly typed; preventing implicit
array->pointer decay. It also allows simplifying assignments within the
CGameState code.

While we're at it, we can also eliminate several instances of magic
numbers related to the array sizes throughout the code.
2019-08-14 03:24:00 -04:00
Jack Andersen
e218b8aeb5 CActorContraption fixes, better CMake dependency handling 2019-06-11 16:05:17 -10:00
Jack Andersen
48eaa2545b Working CScriptGunTurret 2019-02-17 19:47:46 -10:00
Jack Andersen
f3f9924309 Initial mouse events for pause screen 2019-01-20 18:10:34 -10:00
Jack Andersen
636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen
e46ec80b64 Integrate Amuse into hecl cook/extract for MP1/2 2018-09-02 14:46:16 -10:00
Jack Andersen
70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
6d60ccfd04 Various fixes and tweaks, Implement CExplosion, Add cheats 2018-04-26 14:12:20 -07:00
Jack Andersen
898114d803 PART MBSP property yaml fix 2018-04-04 20:58:11 -10:00
Jack Andersen
acf2dab66f Fix NES memory card saves 2018-02-02 17:00:21 -10:00
Jack Andersen
e949b3419e Display Gamma integration 2018-01-21 12:05:25 -10:00
001125429f Basic CGameAllocator implementation (WIP) 2017-09-12 08:27:48 -07:00
870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Jack Andersen
925aa3fe1a More CPlayer imps 2017-07-30 19:19:05 -10:00
Jack Andersen
a71e48cf43 More work on CPlayer 2017-07-16 17:04:14 -10:00
Jack Andersen
6c257e1811 Work on CPlayer 2017-07-15 20:13:37 -10:00
Jack Andersen
a550ce1959 Finish CMessageScreen 2017-05-31 11:26:50 -10:00
Jack Andersen
c3f04bcbaa CAutoMapper work 2017-04-15 19:52:43 -10:00
Jack Andersen
a0549cd82b Work on CStateManager 2017-03-28 16:51:12 -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
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
17d986bb43 Implement CGameOptionsTouchBar 2017-02-09 23:00:57 -10:00
Jack Andersen
b8613d61f8 Tons of save-related fixes 2017-02-07 20:48:43 -10:00
Jack Andersen
6a7fc0145f Bitstream fixes 2017-02-05 17:21:58 -10:00
Jack Andersen
d5c7efce58 Tons of refactors and bug fixes 2017-01-28 17:58:16 -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
353dbadfe9 Code cleanup and corrections 2017-01-06 17:58:05 -08:00
Jack Andersen
0d4ea76c7f CGBASupport implementations 2016-12-31 20:46:52 -10:00
Jack Andersen
a93ca26ea1 CFrontEndUI work 2016-12-29 20:37:01 -10:00
Jack Andersen
513d283bee Merge branch 'master' of https://github.com/AxioDL/urde 2016-12-22 20:43:26 -10:00
Jack Andersen
d7f79d6ec3 Work on CMemoryCardDriver 2016-12-22 20:41:39 -10:00
0fa395f9e1 More script object imps 2016-12-21 18:48:22 -08:00