196 Commits

Author SHA1 Message Date
Lioncache 10a45dd4e9 CXMLReader/Writer: Use pedantic whitespace handling
Fixes cooking the majority of string tables, since some contain strings
that consist of just a space.
2026-03-04 18:59:54 -05:00
Lioncache 83eae26fb3 Flags: Silence slicing warnings 2026-03-03 19:03:33 -05:00
Lioncache f10889e5ab Macros: Ensure debug break is made on assert 2026-02-25 17:51:23 -05:00
Lioncache b1130cdeab NBasics: Simplify interface
Many of these are now present in the standard lib, or can just be
simplified.
2026-02-21 16:35:28 -05:00
Lioncache dc95594db5 CTransform4f: Make use of [[nodiscard]] 2026-02-21 15:25:24 -05:00
Lioncache d7370edcd2 CTransform4f: Allow for constexpr construction
Same behavior, but allows removing some overhead on startup
2026-02-21 15:21:20 -05:00
Lioncache e6e7f73d76 CMatrix4f: Remove unnecessary zeroing in constructor 2026-02-21 14:43:31 -05:00
Lioncache f75f421fcb CQuaternion: Remove global constants
We already have the static functions available.
2026-02-21 14:38:19 -05:00
Lioncache 90994644e1 CMatrix4f: Convert constants over to constexpr functions
Allows constexpr initialization with them
2026-02-21 14:32:56 -05:00
Lioncache ae1c8df533 CMatrix4f: Make use of [[nodiscard]] 2026-02-21 14:12:17 -05:00
Lioncache 8c3d321e93 CMatrix4f: Allow constexpr construction
Allows for decent initialization if ever necessary.
2026-02-21 14:10:20 -05:00
Lioncache 7c486d0b28 CFrustumPlanes: Make use of [[nodiscard]]
Ensures necessary return values are actually used.
2026-02-21 14:05:12 -05:00
Lioncache b57eead0dd CFrustumPlanes: Allow constructor to be constexpr
At the very least allows for constant initialization.
2026-02-21 13:59:52 -05:00
Lioncache 96a993441b TString: Simplify IndexOfPhrase()
This is just find() with case insensitivity which isn't ever used.
2026-02-21 12:49:16 -05:00
Lioncache 3952ad34b1 TString: Remove Begin() and End() pointer functions
We already have the conventional C++ iterator functions begin() and
end() that can be used instead.
2026-02-21 12:35:00 -05:00
Lioncache aad3184599 TString: Remove IsVowel() and IsNumerical()
These are unused and don't respect locale.
2026-02-21 12:26:28 -05:00
Lioncache e7878aa572 TString: Remove unnecessary trait using functions
We can just use the built-in std::string operator==
2026-02-21 12:21:37 -05:00
Lioncache 8a9b8c7fbf TString: Generalize operator/ with a string view
Same behavior, but without the need for two overloads.

Also technically less memory churn since we append to the output string,
rather than concatenating with operator+
2026-02-21 12:09:54 -05:00
Lioncache 3d09fe3c61 TString: Make use of string_view where applicable
Makes the API more flexible.
2026-02-11 00:51:54 -05:00
Lioncache 12f62c2c53 TString: Simplify IndexOf overloads 2026-02-11 00:45:05 -05:00
Lioncache d35dfef187 TString: Remove Format() function 2026-02-11 00:30:10 -05:00
Lioncache 9545100196 IInputStream: Return source string by reference
Avoids churning some allocations.
2026-02-10 19:33:11 -05:00
Lioncache 23e72d7859 TString: Remove operator* shorthand
Makes it explicit whenever the underlying data is fetched in a
meaningfully searchable way.
2026-02-10 15:12:28 -05:00
Lioncache 6139f1889d CCRC32: Make interface more strict
Avoids a case where const char* strings were only hashing the pointer
values rather than the string content.
2026-02-10 14:29:48 -05:00
Lioncache a0bb488cd3 TString: Cull some From* API members
We can just leverage fmt for this.
2026-02-09 11:47:15 -05:00