From 131d43a15ec793bfad4dd845d2fb4a00d676a01b Mon Sep 17 00:00:00 2001 From: dreamstalker Date: Mon, 13 Jul 2015 00:01:02 +0400 Subject: [PATCH] Added missing EXT_FUNC marks --- rehlds/engine/pr_cmds.cpp | 6 +++--- rehlds/engine/sv_main.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rehlds/engine/pr_cmds.cpp b/rehlds/engine/pr_cmds.cpp index 909f053..bfe0672 100644 --- a/rehlds/engine/pr_cmds.cpp +++ b/rehlds/engine/pr_cmds.cpp @@ -961,7 +961,7 @@ edict_t* EXT_FUNC CreateNamedEntity(int className) } } -void PF_Remove_I(edict_t *ed) +void EXT_FUNC PF_Remove_I(edict_t *ed) { g_RehldsHookchains.m_PF_Remove_I.callChain(PF_Remove_I_internal, ed); } @@ -1182,7 +1182,7 @@ void EXT_FUNC EV_PlayReliableEvent_api(IGameClient *cl, int entindex, short unsi EV_PlayReliableEvent_internal(cl->GetClient(), entindex, eventindex, delay, pargs); } -void EV_PlayReliableEvent(client_t *cl, int entindex, short unsigned int eventindex, float delay, event_args_t *pargs) +void EXT_FUNC EV_PlayReliableEvent(client_t *cl, int entindex, short unsigned int eventindex, float delay, event_args_t *pargs) { g_RehldsHookchains.m_EV_PlayReliableEvent.callChain(EV_PlayReliableEvent_api, GetRehldsApiClient(cl), entindex, eventindex, delay, pargs); } @@ -2561,7 +2561,7 @@ const char* EXT_FUNC PF_GetPlayerAuthId(edict_t *e) return szAuthID[count]; } -void PF_BuildSoundMsg_I(edict_t *entity, int channel, const char *sample, float volume, float attenuation, int fFlags, int pitch, int msg_dest, int msg_type, const float *pOrigin, edict_t *ed) +void EXT_FUNC PF_BuildSoundMsg_I(edict_t *entity, int channel, const char *sample, float volume, float attenuation, int fFlags, int pitch, int msg_dest, int msg_type, const float *pOrigin, edict_t *ed) { g_RehldsHookchains.m_PF_BuildSoundMsg_I.callChain(PF_BuildSoundMsg_I_internal, entity, channel, sample, volume, attenuation, fFlags, pitch, msg_dest, msg_type, pOrigin, ed); } diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 4554184..7d13556 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -868,7 +868,7 @@ int SV_HashString(const char *string, int iBounds) } /* ../engine/sv_main.c:1087 */ -int SV_LookupSoundIndex(const char *sample) +int EXT_FUNC SV_LookupSoundIndex(const char *sample) { int index;