Commit Graph

58 Commits

Author SHA1 Message Date
Phillip Stephens 9bae2f943e
Rename everything 2021-04-10 01:42:06 -07: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 a551dbc21d CGameState: Silence implicit truncation warnings
Ensures boolean conditions are used where applicable.
2020-04-16 20:00:20 -04:00
Luke Street 346d110b79 Runtime: Replace bitfield unions with constructor initializers 2020-04-10 15:02:36 -04:00
Lioncash 6d2ef0360f CGameState: Resolve sign conversion warnings in PutTo()
Same behavior, but makes conversions explicit.
2020-03-29 21:03:24 -04:00
Lioncash 45ea19040d CGameState: Make use of std::array where applicable 2020-03-29 20:58:31 -04:00
Lioncash 24fe7ec499 CGameState: Remove use of const_cast
Same behavior, but nicer to read.
2020-03-29 20:52:34 -04:00
Lioncash 9fba0bf50b CGameState: Set HP value in LoadGameFileState()
GM8E v0 stores the HP value of the loaded player state into the returned
GameFileStateInfo instance.

This prevents the health member from being returned uninitialized.
2020-03-24 06:14:26 -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
Phillip Stephens 1a13f7e4ee
Update submodules, initial CTextureCache 2019-12-10 20:51:33 -08:00
Phillip Stephens 77b61b0e68
Fix saves sending you to incorrect rooms, fix triggers 2019-11-05 09:18:14 -08:00
Jack Andersen 16ca0d24c2 Explicit Asset ID refactor 2019-09-30 21:38:03 -10:00
Phillip Stephens 2a60b9fbf4
Update submodules, minor fixes 2019-08-25 18:29:25 -07: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
Phillip Stephens 5ebf465a53 Minor fixes in CGameState and CScriptEffect 2019-02-24 15:04:10 -08:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 4c306e7e40 Implement CHUDBillboardEffect, bug fixes 2018-11-03 15:08:44 -10:00
Phillip Stephens c0b8b89a9b Various CScriptSpecialFunction implementation, more debugOverlay CVars 2018-06-08 14:00:18 -07:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Phillip Stephens 531b34b62d Revert std::ceil on completion rate calculation 2018-04-06 17:22:08 -07:00
Jack Andersen 898114d803 PART MBSP property yaml fix 2018-04-04 20:58:11 -10:00
Jack Andersen 2df95c01cf General resource handling bug fixes 2017-11-14 18:12:13 -10:00
Phillip Stephens 870e8c80ee Refactor ResId into CAssetId 2017-08-12 22:26:14 -07:00
Jack Andersen 0cae1bb036 Merge branch 'master' of https://github.com/AxioDL/urde 2017-07-30 19:19:26 -10:00
Jack Andersen 925aa3fe1a More CPlayer imps 2017-07-30 19:19:05 -10:00
Phillip Stephens db03927e1d Various imps and minor fixes 2017-07-30 04:00:30 -07:00
Jack Andersen 28b1b38a67 Lots of work on CAutoMapper 2017-04-14 19:32:25 -10:00
Jack Andersen a7cab596e6 Initial InGameGuiManager imps 2017-02-11 17:17:18 -10:00
Phillip Stephens e962ae271b Fix Retro's rounding fail 2017-02-06 19:52:04 -08:00
Jack Andersen 6a7fc0145f Bitstream fixes 2017-02-05 17:21:58 -10:00
Jack Andersen 0ed44f1cdc Add OIDS resource for translating against original IDs 2017-01-30 19:01:40 -10:00
Phillip Stephens 87ab1a1f86 Modify BitsToDouble to take system endianess into account 2017-01-24 10:04:57 -08: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 a93ca26ea1 CFrontEndUI work 2016-12-29 20:37:01 -10:00
Phillip Stephens 777419ad4e Remove IAllocator, CMemory and CGameAllocator 2016-12-23 22:08:48 -08:00
Jack Andersen d7f79d6ec3 Work on CMemoryCardDriver 2016-12-22 20:41:39 -10: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 a85ea968c3 MemoryCard PutTo implementations 2016-10-09 11:41:23 -10:00
Jack Andersen 545fccc4cc Work on memory card sys; CMake fixes 2016-10-08 21:45:04 -10:00
Jack Andersen f7f5066038 Better null-tag handling; integrate CSaveWorld and CMapWorld loading 2016-10-08 10:32:36 -10:00
Jack Andersen 9a15f72fc7 use `-flto=thin` as LTO flag; MemoryCardSys work 2016-09-30 12:43:19 -10:00
Jack Andersen 7f987ab10e Further CGameState imps 2016-09-24 15:58:54 -10:00
Phillip Stephens 09bd30846f Fix CPASAnimState::FindBestAnimation derp 2016-08-22 17:52:51 -07:00
Jack Andersen 0dacc2233c Work on CWorldTransManager 2016-08-15 10:58:07 -10:00
Jack Andersen 24bfc47d1a Plenty of dependency stubs for CStateManager 2016-08-14 11:11:44 -10:00
Jack Andersen 2a425b5a73 Work on CStateManager::InitializeState flow 2016-08-13 17:00:58 -10:00
Phillip Stephens 8c2d5eb3a3 Update kaubfuda 2016-06-30 12:35:11 -07:00
Phillip Stephens 3426aaf260 Add more particle DNAs 2016-03-28 01:54:02 -07:00