Kawe Mazidjatari
4b7ca6b439
Use size types
...
Make code more portable and modern.
2023-08-29 22:05:20 +02:00
Kawe Mazidjatari
633e6a25b3
Add strcat define
2023-07-29 17:04:27 +02:00
Kawe Mazidjatari
dbb18e586d
Add 'V_ComparePath'
...
Add function to compare paths for equality, while ignoring case and path separators.
2023-07-10 19:16:12 +02:00
Kawe Mazidjatari
42d12a644e
Fix bug in 'V_StripLastDir' and 'CUtlString::DirName'
...
In some code paths of 'V_StripLastDir', the string length value was never set. The return type of this function has changed to return always return the length of the new string. An additional bug in 'CUtlString::DirName' has been fixed, where the length was only set if the trailing slashed weren't stripped.
2023-07-05 21:50:36 +02:00
Kawe Mazidjatari
819b3aeb16
Move and rename 'IsValidUTF8', 'UTF8CharLength'
...
Moved to strtools (tier1); utility will be renamed and decoupled into 'stl_utility' soon.
2023-07-04 23:01:13 +02:00
Kawe Mazidjatari
7f15b94cd9
String tools improvements
...
* Add 'V_IsValidPath'.
* Add optional parameter to 'V_StripLastDir', in which the new length of the string gets written into.
2023-05-29 21:37:15 +02:00
Kawe Mazidjatari
9f428f1567
Move tier0 lib headers to public
...
This commit does not change any logic or behavior of the code.
2023-04-06 23:50:48 +02:00