mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Correct certain type definitions
Definitions were retrieved from schema dumps
This commit is contained in:
@ -22,6 +22,8 @@ struct EventClientOutput_t
|
|||||||
EngineLoopState_t m_LoopState;
|
EngineLoopState_t m_LoopState;
|
||||||
float m_flRenderTime;
|
float m_flRenderTime;
|
||||||
float m_flRealTime;
|
float m_flRealTime;
|
||||||
|
float m_flRenderFrameTimeUnbounded;
|
||||||
|
bool m_bRenderOnly;
|
||||||
};
|
};
|
||||||
|
|
||||||
abstract_class IEngineService : public IAppSystem
|
abstract_class IEngineService : public IAppSystem
|
||||||
|
@ -167,7 +167,7 @@ template <class K, class V>
|
|||||||
class CSchemaPtrMap
|
class CSchemaPtrMap
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CUtlOrderedMap<K, V> m_Map;
|
CUtlOrderedMap<K, V, unsigned short> m_Map;
|
||||||
CThreadFastMutex m_Mutex;
|
CThreadFastMutex m_Mutex;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ enum soundlevel_t
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Flags to be or-ed together for the iFlags field
|
// Flags to be or-ed together for the iFlags field
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
enum SoundFlags_t
|
enum SoundFlags_t : uint16
|
||||||
{
|
{
|
||||||
SOUND_NONE = 0, // to keep the compiler happy
|
SOUND_NONE = 0, // to keep the compiler happy
|
||||||
|
|
||||||
|
@ -753,7 +753,7 @@ void CUtlLeanVectorImpl<B, T, I>::DestructElements( T* pElement, const T* pEnd )
|
|||||||
template < class T, class I = short >
|
template < class T, class I = short >
|
||||||
using CUtlLeanVector = CUtlLeanVectorImpl< CUtlLeanVectorBase< T, I >, T, I >;
|
using CUtlLeanVector = CUtlLeanVectorImpl< CUtlLeanVectorBase< T, I >, T, I >;
|
||||||
|
|
||||||
template < class T, size_t N = 3, class I = short >
|
template < class T, size_t N = 3, class I = int >
|
||||||
using CUtlLeanVectorFixedGrowable = CUtlLeanVectorImpl< CUtlLeanVectorFixedGrowableBase< T, N, I >, T, I >;
|
using CUtlLeanVectorFixedGrowable = CUtlLeanVectorImpl< CUtlLeanVectorFixedGrowableBase< T, N, I >, T, I >;
|
||||||
|
|
||||||
#include "tier0/memdbgoff.h"
|
#include "tier0/memdbgoff.h"
|
||||||
|
@ -201,7 +201,7 @@ protected:
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
// AMNOTE: Currently a stub over CUtlMap, needs a complete implementation
|
// AMNOTE: Currently a stub over CUtlMap, needs a complete implementation
|
||||||
template <typename K, typename T, typename I = unsigned short, typename LF = CDefLess<K>>
|
template <typename K, typename T, typename I = int, typename LF = CDefLess<K>>
|
||||||
struct CUtlOrderedMap : public CUtlMap<K, T, I, LF>
|
struct CUtlOrderedMap : public CUtlMap<K, T, I, LF>
|
||||||
{};
|
{};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user