implemented amb92

This commit is contained in:
David Anderson
2007-05-02 23:11:49 +00:00
parent 78f18de61a
commit 6170cbc95a
5 changed files with 283 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include "fakemeta_amxx.h"
#include "sh_stack.h"
edict_t *g_player_edicts[33]; // Used for INDEXENT() forward.
@ -21,6 +22,16 @@ void OnAmxxAttach()
g_kvd_glb.kvd = &g_kvd_2;
}
extern CStack<TraceResult *> g_FreeTRs;
void OnAmxxDetach()
{
while (!g_FreeTRs.empty())
{
delete g_FreeTRs.front();
g_FreeTRs.pop();
}
}
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)