mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-21 14:54:14 +01:00
Build fixes
This commit is contained in:
parent
ef78389803
commit
799f1660a3
@ -482,7 +482,7 @@ void SourceProvider::CacheUserMessages()
|
|||||||
static jmp_buf usermsg_end;
|
static jmp_buf usermsg_end;
|
||||||
|
|
||||||
/* This only gets called if IServerGameDLL::GetUserMessageInfo() triggers it */
|
/* This only gets called if IServerGameDLL::GetUserMessageInfo() triggers it */
|
||||||
void SourceProvider::Detour_Error(const tchar* pMsg, ...)
|
void Detour_Error(const tchar* pMsg, ...)
|
||||||
{
|
{
|
||||||
/* Jump back to setjmp() in CacheUserMessages() */
|
/* Jump back to setjmp() in CacheUserMessages() */
|
||||||
longjmp(usermsg_end, 1);
|
longjmp(usermsg_end, 1);
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <sh_list.h>
|
#include <sh_list.h>
|
||||||
|
|
||||||
|
class IFileSystem;
|
||||||
|
|
||||||
class SourceProvider : public BaseProvider
|
class SourceProvider : public BaseProvider
|
||||||
{
|
{
|
||||||
public: // BaseProvider
|
public: // BaseProvider
|
||||||
@ -101,7 +103,6 @@ private:
|
|||||||
};
|
};
|
||||||
private:
|
private:
|
||||||
void CacheUserMessages();
|
void CacheUserMessages();
|
||||||
void Detour_Error(const tchar* pMsg, ...);
|
|
||||||
bool KVLoadFromFile(KeyValues* kv, IFileSystem* filesystem, const char* resourceName, const char* pathID = nullptr);
|
bool KVLoadFromFile(KeyValues* kv, IFileSystem* filesystem, const char* resourceName, const char* pathID = nullptr);
|
||||||
inline bool IsUserMessageIterationSupported() const
|
inline bool IsUserMessageIterationSupported() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user