mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 02:28:22 +00:00
Correct ilocalize.h and few method name changes
This commit is contained in:
parent
7f0dc8d4c8
commit
cf67f12cb9
@ -96,14 +96,14 @@ public:
|
|||||||
virtual void RegisterPrerequisite( IPrerequisite * ) = 0;
|
virtual void RegisterPrerequisite( IPrerequisite * ) = 0;
|
||||||
|
|
||||||
// Same methods as ILocalize
|
// Same methods as ILocalize
|
||||||
virtual LocalizeStringIndex_t FindLocalizeTokenIndex(const char *tokenName) = 0;
|
virtual LocalizeStringIndex_t LookupLocalizationToken(const char *tokenName) = 0;
|
||||||
|
|
||||||
// Same methods as IVEngineServer2
|
// Same methods as IVEngineServer2
|
||||||
virtual void SetFrameTimeAmnesty( const char *amnesty, int, float frametime ) = 0;
|
virtual void SetFrameTimeAmnesty( const char *amnesty, int, float frametime ) = 0;
|
||||||
virtual const char *GetFrameTimeAmnesty( bool check_cvar ) = 0;
|
virtual const char *GetFrameTimeAmnesty( bool check_cvar ) = 0;
|
||||||
virtual void unk301() = 0;
|
virtual void unk301() = 0;
|
||||||
#ifdef _LINUX
|
#ifdef _LINUX
|
||||||
virtual void unk302() = 0;
|
virtual void UnregisterPrerequisite( IPrerequisite * ) = 0;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
// unicode character type
|
// unicode character type
|
||||||
// for more unicode manipulation functions #include <wchar.h>
|
// for more unicode manipulation functions #include <wchar.h>
|
||||||
#ifndef _WCHAR_T_DEFINED
|
#if !defined(_WCHAR_T_DEFINED) && !defined(GNUC)
|
||||||
typedef unsigned short wchar_t;
|
typedef unsigned short wchar_t;
|
||||||
#define _WCHAR_T_DEFINED
|
#define _WCHAR_T_DEFINED
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user