mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Merge pull request #28 from MrWaggel/master
Updated the sample_mm plugin
This commit is contained in:
commit
a112f84e1f
@ -26,7 +26,7 @@ OBJECTS = sample_mm.cpp
|
|||||||
##############################################
|
##############################################
|
||||||
|
|
||||||
OPT_FLAGS = -O3 -funroll-loops -pipe
|
OPT_FLAGS = -O3 -funroll-loops -pipe
|
||||||
GCC4_FLAGS = -fvisibility=hidden -fvisibility-inlines-hidden
|
GCC4_FLAGS = -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11
|
||||||
DEBUG_FLAGS = -g -ggdb3 -D_DEBUG
|
DEBUG_FLAGS = -g -ggdb3 -D_DEBUG
|
||||||
CPP = gcc
|
CPP = gcc
|
||||||
CPP_OSX = clang
|
CPP_OSX = clang
|
||||||
|
@ -28,7 +28,6 @@ SH_DECL_HOOK5(IServerGameClients, ClientConnect, SH_NOATTRIB, 0, bool, edict_t *
|
|||||||
SH_DECL_HOOK2(IGameEventManager2, FireEvent, SH_NOATTRIB, 0, bool, IGameEvent *, bool);
|
SH_DECL_HOOK2(IGameEventManager2, FireEvent, SH_NOATTRIB, 0, bool, IGameEvent *, bool);
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
SH_DECL_HOOK2_void(IServerGameClients, NetworkIDValidated, SH_NOATTRIB, 0, const char *, const char *);
|
|
||||||
SH_DECL_HOOK2_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *, const CCommand &);
|
SH_DECL_HOOK2_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *, const CCommand &);
|
||||||
#else
|
#else
|
||||||
SH_DECL_HOOK1_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *);
|
SH_DECL_HOOK1_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user