mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Few minor fixes
This commit is contained in:
@ -111,8 +111,9 @@ struct bbox_t
|
|||||||
Vector maxs;
|
Vector maxs;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CEntityIndex
|
class CEntityIndex
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
CEntityIndex( int index )
|
CEntityIndex( int index )
|
||||||
{
|
{
|
||||||
_index = index;
|
_index = index;
|
||||||
|
@ -1347,7 +1347,7 @@ inline void Destruct( T* pMemory )
|
|||||||
pMemory->~T();
|
pMemory->~T();
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
memset( pMemory, 0xDD, sizeof(T) );
|
memset( (void*)pMemory, 0xDD, sizeof(T) );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
#elif POSIX
|
#elif POSIX
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include <math.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ inline uint32 CUtlSymbolLarge_Hash( bool CASEINSENSITIVE, const char *pString, i
|
|||||||
return ( CASEINSENSITIVE ? HashStringCaseless( pString ) : HashString( pString ) );
|
return ( CASEINSENSITIVE ? HashStringCaseless( pString ) : HashString( pString ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef uint32 LargeSymbolTableHashDecoration_t;
|
typedef uint64 LargeSymbolTableHashDecoration_t;
|
||||||
|
|
||||||
// The structure consists of the hash immediately followed by the string data
|
// The structure consists of the hash immediately followed by the string data
|
||||||
struct CUtlSymbolTableLargeBaseTreeEntry_t
|
struct CUtlSymbolTableLargeBaseTreeEntry_t
|
||||||
|
Reference in New Issue
Block a user