162 Commits

Author SHA1 Message Date
Kawe Mazidjatari
591b202808 Rename to .cpp (unfinished)
JWT code will feature c++ code (jasmin json library will be replaced with rapidjson).
2023-10-07 16:23:31 +02:00
Kawe Mazidjatari
946422a91b Add MbedTLS library to SDK
Will be used for the JWS library, should eventually be replaced with SChannel.
2023-10-07 16:21:54 +02:00
Kawe Mazidjatari
3c868190d9 WIP: add JWT library
Currently does not compile, pending integration into SDK.
2023-10-07 11:19:05 +02:00
Kawe Mazidjatari
7348b859d2 Pak load code refactor and improvements
Make pak code more consistent.
* Added 'Pak_CloseFile' to SDK.
* Added partial rebuild of 'Pak_ProcessPakFile' to SDK.
* Added compile time assert for 'PakFileHeader_t' structure.
2023-10-06 21:43:41 +02:00
Kawe Mazidjatari
d2495be72a Make ICpuTopology methods virtual
Virtual in the engine we are working on; this should be virtual too.
2023-10-06 21:29:46 +02:00
Kawe Mazidjatari
7157a95350 Add table for affinity mask
Small usage table.
2023-10-06 21:28:57 +02:00
Kawe Mazidjatari
7806cceb33 Swap SSE4.1 instruction with an SSE2 instruction
The min spec is SSSE3, using SSE4.1 instructions (_mm_extract_epi64) will break compatibility. The code containing the defect is debug only, and %90+ of the user base uses an SSE4.1 capable processor.
2023-09-23 16:34:37 +02:00
Kawe Mazidjatari
4bc4b6f092 Fix typo
Second statement should be checking on vecMaxBound.
2023-09-23 14:55:23 +02:00
Kawe Mazidjatari
7232c735ac Null console commands past the 512th byte
A mistake has been made, certain area's of the engine actually do allow strings larger than 128 bytes, just one routine that doesn't (console commands). Tokenizer only tokenizes it up to 512 bytes, so null all the other bytes past this. This still fixes the flaw mentioned in the comment at the place where the nulling happens.
2023-09-23 14:04:49 +02:00
Kawe Mazidjatari
794b18c82f Improve NavMesh render performance 2023-09-23 14:01:53 +02:00
Kawe Mazidjatari
095d22c8ec Should be a word pointer 2023-09-19 22:15:55 +02:00
Kawe Mazidjatari
fd3e227a86 Align folder structure with p4 2023-09-19 22:13:22 +02:00