Commit Graph

67 Commits

Author SHA1 Message Date
Phillip Stephens 15900053fa
Remove athena from Runtime, use raw zlib in bintoc rather than gzip 2022-02-21 22:59:47 -08:00
Luke Street 57d96dbb17
Fully decouple hecl from Metaforce
- Added CStringExtras Convert functions
  (and UTF-compatible versions)
- GX header copied into Runtime
- SFX headers copied into Runtime/Audio
2022-02-21 08:01:06 -08:00
Phillip Stephens ad272f7468
More refactoring, decouple tweaks from hecl 2022-02-21 08:01:05 -08:00
Phillip Stephens dad7249927
RE COutput/InputStream and friends and migrate over
This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
2022-02-21 08:01:05 -08:00
Phillip Stephens a491e2e9f2
Minor cleanups 2022-01-30 12:07:24 -08:00
Phillip Stephens a9bcb7a9ce
Reformat pass 2021-06-07 12:29:18 -07:00
Phillip Stephens 95f44be694
Rename CSavwWorld to CWorldSaveGameInfo 2021-06-04 22:30:23 -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 0f92b8d8c5
Rename CRelayTracker back to CScriptMailbox 2021-06-03 14:40:01 -07:00
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