Correct ilocalize.h and few method name changes

This commit is contained in:
GAMMACASE 2025-12-06 11:25:15 +03:00
parent 7f0dc8d4c8
commit cf67f12cb9
2 changed files with 3 additions and 3 deletions

View File

@ -96,14 +96,14 @@ public:
virtual void RegisterPrerequisite( IPrerequisite * ) = 0;
// Same methods as ILocalize
virtual LocalizeStringIndex_t FindLocalizeTokenIndex(const char *tokenName) = 0;
virtual LocalizeStringIndex_t LookupLocalizationToken(const char *tokenName) = 0;
// Same methods as IVEngineServer2
virtual void SetFrameTimeAmnesty( const char *amnesty, int, float frametime ) = 0;
virtual const char *GetFrameTimeAmnesty( bool check_cvar ) = 0;
virtual void unk301() = 0;
#ifdef _LINUX
virtual void unk302() = 0;
virtual void UnregisterPrerequisite( IPrerequisite * ) = 0;
#endif
};

View File

@ -17,7 +17,7 @@
// unicode character type
// for more unicode manipulation functions #include <wchar.h>
#ifndef _WCHAR_T_DEFINED
#if !defined(_WCHAR_T_DEFINED) && !defined(GNUC)
typedef unsigned short wchar_t;
#define _WCHAR_T_DEFINED
#endif