Commit Graph

18 Commits

Author SHA1 Message Date
Luke Street 78f8716150 Fix macOS/Linux issues
- Fixes png lib becoming undefined on macOS
- Auto-detect macports png/Qt paths
- Fixes typos
- Workaround for AppleClang/fmt bug
2021-06-30 16:27:53 -04:00
Luke Street 9ca1a38171 Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
2021-06-30 14:20:45 -04:00
Phillip Stephens 134646a32f
Make assetnameparser more intelligent about hashing MP1/2 assets 2020-11-01 15:05:05 -08:00
Lioncash 972af7c537 assetnameparser: Amend transposed fwrite arguments
Existing code was using the size argument for the number of elements to
write and vice versa.

No behavior change, given this still results in the same number of bytes
being copied. This just makes corrects their usages.
2020-05-31 07:13:06 -04:00
Lioncash c369af4adf assetnameparser: Make Fopen return a unique_ptr
Prevents leaks from occurring (aside from obvious .release() calls).
2020-05-31 07:09:41 -04:00
Lioncash e6aed18d59 assetnameparser: Convert typdefs into using aliases 2020-05-31 06:59:25 -04:00
Lioncash 99dd875b43 assetnameparser: Make use of an anonymous namespace
Makes the bulk of helper functions internally linked.
2020-05-31 06:55:21 -04:00
Phillip Stephens dc232f804d assetnameparser: Fix windows compiling 2020-05-29 09:54:31 -07:00
Phillip Stephens 59f979db67
Actually implement AssetNameMap in DNAMP1 2020-04-22 03:38:48 -07:00
Jack Andersen 5b4441ac36 Update fmtlib 2020-04-11 12:51:39 -10: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 1851308021 Windows fixes 2018-10-14 10:16:21 -10:00
Jack Andersen 70b3404b7c Windows build fixes and warning avoidance 2018-05-24 20:39:38 -10:00
Jack Andersen 8301adc3d6 Huge compile performance refactor 2017-12-28 22:08:12 -10:00
Jack Andersen b975184530 Invalid definition removals 2017-07-02 18:24:22 -10:00
Jack Andersen a50b0c2322 Remove invalid winsupport.hpp include 2017-07-02 18:04:03 -10:00
Phillip Stephens 38a13868f0 Compile fixes, and initial asset name parser 2017-07-02 03:18:38 -07:00