Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end.

This commit is contained in:
Greyscale
2009-04-27 04:00:38 +02:00
parent 65411df2c0
commit abd38ee033
14 changed files with 738 additions and 301 deletions

View File

@ -23,12 +23,12 @@
// External api (not done)
//#include "zr/global"
// Cvars (core)
#include "zr/cvars"
// Log (core)
#include "zr/log"
// Cvars (core)
#include "zr/cvars"
// Translations (core)
#include "zr/translation"
@ -90,6 +90,8 @@
#include "zr/sayhooks"
#include "zr/zadmin"
#include "zr/commands"
// Event
#include "zr/event"
public Plugin:myinfo =
@ -120,12 +122,13 @@ public OnPluginStart()
// ======================================================================
// Log
LogInit();
// Cvars
CvarsInit();
CvarsHook();
// TODO: Be modulized/recoded.
HookEvents();
HookChatCmds();
CreateCommands();
HookCommands();
@ -138,6 +141,9 @@ public OnPluginStart()
// Damage
DamageInit();
// Event
EventInit();
// ======================================================================
g_bMarket = LibraryExists("market");