diff --git a/public/engine/IEngineService.h b/public/engine/IEngineService.h index e5e30475..ac4acf60 100644 --- a/public/engine/IEngineService.h +++ b/public/engine/IEngineService.h @@ -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 }; diff --git a/public/localize/ilocalize.h b/public/localize/ilocalize.h index cd3bdfd8..47e27d9f 100644 --- a/public/localize/ilocalize.h +++ b/public/localize/ilocalize.h @@ -17,7 +17,7 @@ // unicode character type // for more unicode manipulation functions #include -#ifndef _WCHAR_T_DEFINED +#if !defined(_WCHAR_T_DEFINED) && !defined(GNUC) typedef unsigned short wchar_t; #define _WCHAR_T_DEFINED #endif