Commit Graph

52 Commits

Author SHA1 Message Date
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
Phillip Stephens c64e3d2ba7
Initial string fixes 2020-04-15 23:57:04 -07:00
Luke Street f483f5c1e6 CPersistentOptions: Initialize bitfields in default constructor 2020-04-10 15:47:36 -04:00
Luke Street 346d110b79 Runtime: Replace bitfield unions with constructor initializers 2020-04-10 15:02:36 -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
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 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
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 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 898114d803 PART MBSP property yaml fix 2018-04-04 20:58:11 -10:00
Jack Andersen 97835607d9 More windows build fixes 2018-02-03 20:46:47 -10:00
Jack Andersen e949b3419e Display Gamma integration 2018-01-21 12:05:25 -10:00
Phillip Stephens 001125429f Basic CGameAllocator implementation (WIP) 2017-09-12 08:27:48 -07:00
Phillip Stephens 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 28b1b38a67 Lots of work on CAutoMapper 2017-04-14 19:32:25 -10:00
Jack Andersen b3c94f1d2b Lots of HUD-related implementations 2017-04-01 17:03:37 -10:00
Jack Andersen a0549cd82b Work on CStateManager 2017-03-28 16:51:12 -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
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 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
Phillip Stephens 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 db7c2aeaf2 GuiSys and FrontEnd work 2016-12-30 14:51:51 -10:00
Phillip Stephens 7b79e52740 Collision flags and SFX type handling 2016-12-25 23:58:44 -08: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
Phillip Stephens 0fa395f9e1 More script object imps 2016-12-21 18:48:22 -08:00
Jack Andersen 9639ac75cc Work on CMemoryCardDriver 2016-12-20 11:51:50 -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 6b765838a7 Work on CFrontEndUI 2016-12-14 12:56:59 -10:00
Jack Andersen a85ea968c3 MemoryCard PutTo implementations 2016-10-09 11:41:23 -10:00
Jack Andersen 7f987ab10e Further CGameState imps 2016-09-24 15:58:54 -10: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 d1faf4e72d Windows refactors 2015-08-30 17:44:42 -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