Commit Graph

15 Commits

Author SHA1 Message Date
otavepto
00f1268e31 helper function to convert between utf-8 and utf-16 2024-06-30 03:18:39 +03:00
otavepto
efc062f6be move remove_file() inside common helpers 2024-06-30 03:18:39 +03:00
otavepto
4b49edbf5e improve usage of std::string_view, passing them as const ref is useless since they don't allocated anything and cheap to copy (no allocations) 2024-06-30 03:18:39 +03:00
otavepto
35f4b9c6d7 proper helper function to get utc time 2024-06-07 19:49:57 +03:00
otavepto
e57daf02d0 helper function to generate rand num 2024-06-06 23:19:13 +03:00
otavepto
f81ba95732 * common helper for killable threads + remove dedicated class for background thread
* avoid overriding SteamPath env var in `SteamAPI_GetSteamInstallPath()`
2024-06-04 21:58:04 +03:00
otavepto
c9f6bc8487 fix overload ambiguity 2024-04-14 18:47:12 +02:00
otavepto
9221465e57 use string_view in common helpers 2024-04-14 14:40:49 +02:00
otavepto
f423b07eef * common function to do case insensitive compare
* some const + ref in different places
* some logs, comments & refactoring
2024-04-01 19:23:55 +02:00
otavepto
b440b578ad fix linux build 2024-03-08 18:13:29 +02:00
otavepto
88203b5c6f * fixed a bug in settings parser where lines with single characters would be completely removed when stripped of spaces
* refactored and moved all helper functions into the relevant helpers source file
2024-03-08 18:13:29 +02:00
otavepto
0d1e54e9a2 * a working impl to bridge ugc/remote_storage as suggested by Detanup01
* edits by Kola124 + other changes in the settings parser

* random ugc mod handle at object creation

* file size using std::filesystem + fix warnings + some print + arg validation
2024-01-20 18:46:43 +02:00
otavepto
e2cb2e0f38 allow specifying a load order via a file called load_order.txt inside the root of the dlls to inject folder + updated readmes 2024-01-19 04:28:03 +02:00
otavepto
0590f6d2f6 more helpers 2024-01-19 04:28:03 +02:00
otavepto
705a1b925a added helper functions + restructure folders 2024-01-19 04:28:03 +02:00