First commit of the rewrite

Doesn't build on windows for some retarded reason
This commit is contained in:
Steve Dudenhoeffer
2007-05-04 12:51:13 +00:00
parent 46bd9127fb
commit 66d7d39bee
34 changed files with 12537 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#include <extdll.h>
#include "sdk/amxxmodule.h"
#include "NEW_Util.h"
edict_t *NEW_FirstEdict;
bool NEW_Initialized;
extern AMX_NATIVE_INFO RegisterNatives[];
int ReadConfig(void);
void OnAmxxAttach(void)
{
printf("LOLOL");
if (ReadConfig() > 0)
{
MF_AddNatives(RegisterNatives);
}
}
void HamCommand(void);
void OnPluginsLoaded(void)
{
NEW_Initialize(INDEXENT(0));
}
void OnMetaAttach(void)
{
REG_SVR_COMMAND("ham", HamCommand);
}