Removed old class system. Cleared out external API natives and forwards. Commented out old menus.

This commit is contained in:
Greyscale
2009-04-14 23:16:31 +02:00
parent c4ceebe9ab
commit 648a875c14
12 changed files with 33 additions and 539 deletions

View File

@ -23,7 +23,6 @@
#include "zr/translation"
#include "zr/offsets"
#include "zr/ambience"
#include "zr/classes"
#include "zr/models"
#include "zr/overlays"
#include "zr/playerclasses/playerclasses"
@ -125,15 +124,8 @@ public OnMapStart()
LoadModelData();
LoadDownloadData();
new i;
new classindex = GetDefaultClassIndex();
for (i = 1; i <= MAXPLAYERS; i++)
{
pClass[i] = classindex;
}
// Forward event to modules.
ClassLoad();
WeaponsOnMapStart();
Anticamp_Startup();
}
@ -164,15 +156,11 @@ public OnConfigsExecuted()
}
FindMapSky();
ClassLoad();
LoadClassData();
LoadAmbienceData();
}
public OnClientPutInServer(client)
{
pClass[client] = GetDefaultClassIndex();
gBlockMotherInfect[client] = false;
gKilledByWorld[client] = false;