1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-07 09:43:40 +08:00

70 Commits

Author SHA1 Message Date
Vladimir
994fb7be03
Update ICommandLine interface & CUtlStringToken (#268)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2024-10-04 00:39:08 +03:00
GAMMACASE
e06c04d131 Merge few sdk2013 changes to mathlib
Adds RandomVectorInUnitSphere & RandomVectorInUnitCircle definitions
2024-08-20 22:57:34 +03:00
GAMMACASE
49a2b0b4ef Potentially fix library unloading issues 2024-06-04 12:12:15 +03:00
vanz696
cc207907f5
Update CTSListBase & various schema system naming changes (#253) 2024-06-03 19:46:16 +03:00
GAMMACASE
5265052f04 Update CSchemaSystemTypeScope & CThreadSpinMutex 2024-05-25 05:33:59 +03:00
Nukoooo
f7ed6a0086
Fix compilation error on GCC12+ with C++20 (#237) 2024-05-08 14:48:53 +03:00
xen
9d4727eba1
Add VProfScopeHelper and update VPROF_* macros (#235)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2024-05-02 06:40:35 +03:00
vanz696
aaaaaf040b
Update CUtlMemoryPoolBase after 4/2/2024 update (#228)
Also updates tier0/tslist.h to sdk2013 variant and other minor stuff.
2024-04-06 23:49:28 +03:00
GAMMACASE
73330a3aab Move memstack to tier0 2024-03-18 20:49:04 +03:00
vanz696
ab21c70896
Add schemasystem (#215)
Update CUtlMemoryPool*, CUtlSymbol*, CUtlTSHash, CThreadSpinRWLock, CThreadFastMutex (now replaced by CThreadSpinMutex)

Implemented some missing ThreadInterlocked* functions
2024-03-18 15:46:20 +03:00
Mooshua
fdc4954f22
KeyValues & ICommandLine fixes after 7/2/24 CS2 update (#201)
Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
2024-02-07 12:55:45 +03:00
GAMMACASE
10c68304f1 Fix missing CBufferString error in memalloc.h 2024-01-19 02:30:37 +03:00
GAMMACASE
a0e5701b26 Update IMemAlloc 2024-01-18 02:58:55 +03:00
icedrocket
731e38ba24
Improve c++20 compatibility (#195) 2024-01-14 00:58:05 +03:00
Nick Hastings
1d394d3365 Don't redefine offsetof from platform in memalloc 2023-11-19 14:40:33 -05:00
Nick Hastings
6395b1c704 Use built-in offsetof on Linux 2023-11-19 09:02:42 -05:00
vanz666
bf82ba994d
Add KeyValues3 & CUtlLeanVector (#177) 2023-11-18 22:19:28 +03:00
Nicholas Hastings
c5d57c03ee
Update Protobuf and add protos for CS2 (#176)
* Replace protobuf 2.6.1 with 3.21.8

* Update/add protobuf libs

* Add CS2 protos

* Remove old csgo/dota protos

* Add versioned protoc bin

* Comment out Valve's `schema` define for now

* Use ENetworkDisconnectionReason

* Fix-up `offsetof` to avoid errors on some Clang versions
2023-11-15 23:58:12 +00:00
Vladimir
fec44c3e82
Update LoggingSeverity_t enumeration (#171) 2023-10-24 12:16:38 +00:00
GAMMACASE
8e69335c67 Fix debug issues in memoverride.cpp 2023-10-20 06:20:18 +03:00
xen
f653b1ec62
Update COMPILE_TIME_ASSERT defines (#167) 2023-10-17 02:19:22 +03:00
Nick Hastings
62490710ed Update libs. 2023-10-13 14:51:08 -04:00
vanz666
c0def21c93
Major refactor of utl* classes (#164)
Changed/Added classes: CThreadMutex, CUtlMemoryBlockAllocator, CRawAllocator, CUtlHashtable, CUtlVector, CUtlMemory, CUtlMemory_RawAllocator, CUtlSymbolLarge, CUtlSymbolTableLargeBase
2023-10-13 20:16:09 +03:00
Alexey T
5bbd47e578
Fix compilation errors for std=c++2a (#146) 2023-10-02 16:34:18 +03:00
GAMMACASE
6fd990f46b Few minor fixes 2023-10-01 17:27:56 +03:00
GAMMACASE
0ac0302c8e Fix GCC compilation issues 2023-09-29 13:13:00 +03:00
zer0.k
62c3df6af5 Update bitbuf to match sdk2013 2023-09-27 16:54:58 +00:00
GAMMACASE
052ef19902 Correct the old windows SDK's fix 2023-09-27 16:54:58 +00:00
GAMMACASE
0c956066ec Fix compile for old windows SDK's 2023-09-27 16:54:58 +00:00
GAMMACASE
d107389982 Fix IVEngineServer2::GetPlayerUserId 2023-09-27 16:54:58 +00:00
GAMMACASE
956c4cf296 Fix tier1.lib compilation issues 2023-09-27 16:54:58 +00:00
GAMMACASE
ae308873b7 Fix memoverride.cpp compilation 2023-09-27 16:54:58 +00:00
GAMMACASE
25ff538f57 Remove IMemAlloc dbg variants
Alloc, Realloc & Free dbg variants doesn't seem to appear in the engine now, yet they pollute virtual function list due to them being overloads with the same name thus causing random crashes if called
2023-09-27 16:54:58 +00:00
GAMMACASE
d525e7ad19 Update tier0.lib & Obsolete mem.h 2023-09-27 16:54:58 +00:00
GAMMACASE
a8c0e4f903 A lot of minor edits/fixes 2023-09-27 16:54:58 +00:00
GAMMACASE
52fe1295e1 Fix compile errors & random crashes related to IMemAlloc interface
This mainly affected debug builds
2023-09-27 16:54:58 +00:00
Nick Hastings
bdf731b2db Remove Plat_IsInDebugSessionRaw. No longer exists 2023-09-27 16:54:58 +00:00
GAMMACASE
1312e1c957 Few more adjustments 2023-09-27 16:54:58 +00:00
GAMMACASE
8df67ec7d7 Update ConVar & ConCommand handle types 2023-09-27 16:54:58 +00:00
Nick Hastings
d25d1cbe55 Fix ConVarHandle/ConCommandHandle size handleand ConCommandHandle INVALID val 2023-09-27 16:54:58 +00:00
Nick Hastings
843d279123 Update ICommandLine 2023-09-27 16:54:58 +00:00
Nick Hastings
be5b5b0787 Update IVEngineServer 2022-11-09 23:01:01 +00:00
Nick Hastings
2f2e51520a Improve Error() shim. 2022-09-04 13:06:09 -04:00
Nicholas Hastings
73261a7bd2 Fix compile error regression in Error shim on GCC/Clang. 2018-06-30 08:47:48 -04:00
Nick Hastings
f60592b4f9 More Source 2 / Dota shuffling.
- Remove tier1 interface/factory funcs that no longer exist.
- Add/fix tier0 interface funcs.
- Fix tier0 win64 link lib to have correct decorated names for Msg, Warning, etc.
- Update Error() shim to act more closely to old behavior.
- Moved CreateInterface impl to interfaces lib (appears to not be in tier1 anymore).
- Removed exports log channels that aren't exported in S2.
2018-06-30 08:15:58 -04:00
Nicholas Hastings
4f463be480 More removal of tier1 iface stuff that doesn't exist. 2018-06-17 10:25:04 -04:00
Nick Hastings
26556b4aa6 Add WIP tier1 interface changes / tier0.
Not done, but this should fix current MM:S build from tier1 headers not
matching lib on Windows.
2018-05-05 10:55:21 -04:00
Nicholas Hastings
a47cfa9474 Fix Clang warning on Error() shim. 2017-06-21 10:54:18 -04:00
Nicholas Hastings
2b7ba5b4ef Remove Error funcs that no longer exit. Add compat shim. 2017-04-15 10:06:20 -04:00
Nicholas Hastings
2e859c5e04 More tweaks (ICommandLine and IVEngineServer2). 2015-09-25 18:42:54 -04:00