This commit is contained in:
Steve Dudenhoeffer
2004-08-11 05:06:27 +00:00
parent f90ab9d732
commit 74d278d1c6
8 changed files with 1037 additions and 198 deletions

View File

@ -8,8 +8,9 @@ void OnAmxxAttach()
MF_AddNatives(dllfunc_natives);
MF_AddNatives(pev_natives);
MF_AddNatives(forward_natives);
MF_AddNatives(pdata_natives);
}
int GetHullBounds(int hullnumber, float *mins, float *maxs);
// sawce: Do not null out the forward for ServerActivate. It's required for the INDEXENT() fix. (I don't think ServerActivate is planned on being forwarded anyway)
void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
{
@ -106,6 +107,21 @@ void OnPluginsLoaded()
RESETE(InfoKeyValue);
RESETE(SetKeyValue);
RESETE(SetClientKeyValue);
RESETE(MessageBegin);
RESETE(MessageEnd);
RESETE(WriteByte);
RESETE(WriteChar);
RESETE(WriteShort);
RESETE(WriteLong);
RESETE(WriteAngle);
RESETE(WriteCoord);
RESETE(WriteString);
RESETE(WriteEntity);
RESETE(CVarGetFloat);
RESETE(CVarGetString);
RESETE(CVarSetFloat);
RESETE(CVarSetString);
RESETD(Spawn);
RESETD(Think);
@ -132,7 +148,6 @@ void OnPluginsLoaded()
RESETD(Sys_Error);
RESETD(PM_FindTextureType);
RESETD(RegisterEncoders);
RESETD(GetHullBounds);
RESETD(CreateInstancedBaselines);
RESETD(AllowLagCompensation);