extensions/batsupport/extension.cpp
changeset 757 b799caa9a190
parent 542 4a7c23cfa070
child 758 e700da6cdea0
     1.1 --- a/extensions/batsupport/extension.cpp	Tue May 08 22:26:30 2007 +0000
     1.2 +++ b/extensions/batsupport/extension.cpp	Wed May 09 05:20:03 2007 +0000
     1.3 @@ -1,4 +1,26 @@
     1.4 -// vim: set ts=4 :
     1.5 +/**
     1.6 + * vim: set ts=4 :
     1.7 + * ===============================================================
     1.8 + * SourceMod BAT Support Extension
     1.9 + * Copyright (C) 2004-2007 AlliedModders LLC. All rights reserved.
    1.10 + * ===============================================================
    1.11 + *
    1.12 + * This program is free software; you can redistribute it and/or
    1.13 + * modify it under the terms of the GNU General Public License
    1.14 + * as published by the Free Software Foundation; either version 2
    1.15 + * of the License, or (at your option) any later version.
    1.16 + * This program is distributed in the hope that it will be useful,
    1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.19 + * GNU General Public License for more details.
    1.20 + * 
    1.21 + * You should have received a copy of the GNU General Public License
    1.22 + * along with this program; if not, write to the Free Software
    1.23 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    1.24 + *
    1.25 + * Version: $Id$
    1.26 + */
    1.27 +
    1.28  #include <IAdminSystem.h>
    1.29  #include <IPlayerHelpers.h>
    1.30  #include "extension.h"
    1.31 @@ -8,7 +30,7 @@
    1.32  IPlayerManager *players = NULL;
    1.33  SMEXT_LINK(&g_BatSupport);
    1.34  
    1.35 -bool BatSupport::SDK_OnLoad(char *error, size_t err_max, bool late)
    1.36 +bool BatSupport::SDK_OnLoad(char *error, size_t maxlength, bool late)
    1.37  {
    1.38  	SM_GET_IFACE(ADMINSYS, admins);
    1.39  	SM_GET_IFACE(PLAYERMANAGER, players);
    1.40 @@ -35,7 +57,7 @@
    1.41  	m_hooks.clear();
    1.42  }
    1.43  
    1.44 -bool BatSupport::SDK_OnMetamodLoad(char *error, size_t err_max, bool late)
    1.45 +bool BatSupport::SDK_OnMetamodLoad(char *error, size_t maxlength, bool late)
    1.46  {
    1.47  	g_SMAPI->AddListener(this, this);
    1.48