hl2sdk
hl2sdk copied to clipboard
Half-Life 2 SDK Mirrors
The implementation is taken from hl2sdk-csgo. Vector::Normalized is present in: - hl2sdk-blade - hl2sdk-bms - hl2sdk-csgo - hl2sdk-doi - hl2sdk-insurgency - hl2sdk-pvkii - hl2sdk-sdk2013 But missing in: - hl2sdk-css -...
The PR fixes these compilation errors: - error: increment of object of volatile-qualified type 'volatile int' is deprecated - error: ISO C++17 does not allow 'register' storage class specifier -...
ConVars and ConCommands in Source 2 got a rework with a Dota 2 update a couple of months ago. The implementation seems to be fully rewritten. Some snippets from a...
In order to properly build SourceMod in debug mode on Windows, we need to have the `libprotobuf.lib` that was linked with the MSVC 2015 toolset. This was created using the...
hl2sdk-tf2 does not link to ThreadInterlockedIncrement in libtier0_srv.so It appears that the signature in libtier0_srv.so is a long volatile* instead of a int32_t volatile* . ThreadInterlockedAssignIf64 is also missing from...
change int to intptr_t https://github.com/alliedmodders/hl2sdk/blob/78dab58646d5983c77af44c45a877b89196eb82c/public/networkvar.h#L25 `#define MyOffsetOf( type, var ) ( (intptr_t)&((type*)0)->var )`
Ordered comparison of function pointer gives compilation error while I was compiling Metamod:Source
error: ordered comparison of function pointers ('SchemaCollectionManipulatorFn_t' (aka 'void *(*)(SchemaCollectionManipulatorAction_t, void *, void *, void *)') and 'SchemaCollectionManipulatorFn_t') [-Werror,-Wordered-compare-function-pointers] return m_pfnManipulator < rhs.m_pfnManipulator; Cs2 branch