Commit Graph

23 Commits

Author SHA1 Message Date
Jack Andersen 5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10:00
Lioncash 0546553f2d IOStreams: Replace CZipSupport with lambda functions
We can safely replace the class with direct lambda functions, given they
don't need to capture any state.
2019-11-09 02:57:39 -05:00
Lioncash 9a728a38d6 IOStreams: Use 1U when shifting bitmasks
Otherwise this is technically shifting a signed value, which can lead to
warnings. While we're at it, we can use UINT32_MAX instead of
0xFFFFFFFF to mean the same thing.
2019-11-08 19:05:45 -05:00
Lioncash 95a0b0e559 IOStreams: Remove reinterpret_casts where applicable
We can simply make use of writeBytes() where applicable, which does it
for us, which makes the code a slight bit less verbose.
2019-11-08 18:55:13 -05:00
Lioncash 3894c0539e IOStreams: Use fmt where applicable
Eliminates the use of printf and instead uses fmt so types can
automatically be formatted without the use of casts.

While we're at it, we can resolve a sign-conversion warning in
PrintBinary().
2019-11-08 18:51:07 -05:00
Lioncash cf8fe1861f IOStreams: Normalize cpp file inclusions 2019-11-08 18:45:31 -05:00
Jack Andersen 7a3da1f7a6 Massive fmtlib refactor 2019-07-19 18:27:21 -10:00
Jack Andersen 636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Jack Andersen bb10aa9844 CResFactory bug fixes 2017-10-27 21:08:48 -10:00
Jack Andersen 2f4cddd3d2 Lots of CResFactory fixes 2017-10-27 00:10:32 -10:00
Jack Andersen 356788fb9e Another bitstream fix 2017-02-06 16:25:58 -10:00
Jack Andersen 6a7fc0145f Bitstream fixes 2017-02-05 17:21:58 -10:00
Jack Andersen 9ea7cee23c Memory card bug fixes 2017-02-03 17:46:12 -10:00
Phillip Stephens 777419ad4e Remove IAllocator, CMemory and CGameAllocator 2016-12-23 22:08:48 -08:00
Phillip Stephens dc24a864fd CPlayerState imps 2016-03-23 13:38:01 -07:00
Phillip Stephens 193e21943d Add CBitStreamReader 2016-03-19 21:11:25 -07:00
Phillip Stephens 62e8066a63 Initial CPlayerState RE 2016-03-19 12:19:43 -07:00
Phillip Stephens b496ec643b More CRasterFont work, CParticleElectric stub 2016-03-15 16:44:59 -07: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 acb3c549f5 IOWinManager implementation optimizations 2015-08-25 20:38:45 -10:00
Jack Andersen e9de110cee All CResLoader methods in-place 2015-08-23 13:58:07 -10:00