14 Commits

Author SHA1 Message Date
Lioncache a0bb488cd3 TString: Cull some From* API members
We can just leverage fmt for this.
2026-02-09 11:47:15 -05:00
Lioncache c3ef51f6e4 CAssetID: Mark invalid instances as const
These are intended to be constant.
2026-01-12 16:17:26 -05:00
Lioncache 00f3bef71a IOutputStream: Migrate over to sized names
Makes data type handling more explicit and less verbose (e.g. with
WriteLongLong -> WriteS64)
2026-01-12 15:12:54 -05:00
Lioncache b4f413e935 IInputStream: Rename accessors to specify data size
Gets rid of the silly "Long" usage for 32-bit sizes
2026-01-12 14:14:47 -05:00
Lioncache 99269f2b76 CAssetID: ToLong()/ToLongLong() -> ToU32()/ToU64()
Communicates better intent about the conversion.
2026-01-12 10:05:16 -05:00
Lioncache a3f5bb5f81 CRandom: Make gpGlobalRandom internally linked
We can also just construct it as a regular copyable instance instead of
doing a file-scope heap allocation.
2026-01-11 11:58:22 -05:00
Lioncache 062ac6a798 CAssetID: Migrate off BasicTypes 2026-01-11 10:11:32 -05:00
Lioncache d6640792ec General: Cleanup
Mainly header hygeine and overload specifiers.

Also greatly reduces the amount of copying going on with math
primitives.
2025-12-17 15:41:49 -05:00
Lioncash 3e9c55ebcc CAssetID: Make EIDLength an enum class
Stronger typing and doesn't pollute the global namespace.
2020-06-11 11:09:01 -04:00
Lioncash 1dc760c397 CAssetID: Make constexpr capable 2020-06-09 07:24:20 -04:00
Aruki 5c3bfbe57f Added CRandom class, fixed bug with binary data serializing incorrectly 2019-02-02 17:30:36 -07:00
Aruki 47d83075e0 Some cleanup & minor refactoring 2018-12-16 13:52:10 -07:00
Aruki 252e4c7e96 Merged in Tropical Viewer changes 2018-12-09 02:38:38 -07:00
Aruki 4f9cf8a06e Initial commit; files moved in from Prime World Editor w/ minor cleanup 2018-12-08 23:44:41 -07:00