cssdm_main.h
author Ruben Gonzalez <drifter01620@gmail.com>
Wed Oct 01 11:50:24 2014 -0400 (2014-10-01)
changeset 193 277c856152b0
parent 15 2f8a465297b4
permissions -rw-r--r--
Update linix CS:GO gamedata
[email protected]
     1
/**
[email protected]
     2
 * vim: set ts=4 :
[email protected]
     3
 * ===============================================================
[email protected]
     4
 * CS:S DM, Copyright (C) 2004-2007 AlliedModders LLC. 
[email protected]
     5
 * By David "BAILOPAN" Anderson
[email protected]
     6
 * All rights reserved.
[email protected]
     7
 * ===============================================================
[email protected]
     8
 *
[email protected]
     9
 * This program is free software; you can redistribute it and/or modify
[email protected]
    10
 * it under the terms of the GNU General Public License as published by
[email protected]
    11
 * the Free Software Foundation; either version 2 of the License, or (at
[email protected]
    12
 * your option) any later version.
[email protected]
    13
 * 
[email protected]
    14
 * This program is distributed in the hope that it will be useful, but
[email protected]
    15
 * WITHOUT ANY WARRANTY; without even the implied warranty of
[email protected]
    16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
[email protected]
    17
 * General Public License for more details.
[email protected]
    18
 * 
[email protected]
    19
 * You should have received a copy of the GNU General Public License
[email protected]
    20
 * along with this program; see the file COPYING; if not, write to the
[email protected]
    21
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
[email protected]
    22
 * MA 02110-1301 USA
[email protected]
    23
 * 
[email protected]
    24
 * Version: $Id$
[email protected]
    25
 */
[email protected]
    26
[email protected]
    27
[email protected]
    28
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
[email protected]
    29
#define _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
[email protected]
    30
[email protected]
    31
/**
[email protected]
    32
 * @file extension.h
[email protected]
    33
 * @brief Sample extension code header.
[email protected]
    34
 */
[email protected]
    35
[email protected]
    36
#include "smsdk_ext.h"
[email protected]
    37
#include <IBinTools.h>
[email protected]
    38
[email protected]
    39
/**
[email protected]
    40
 * @brief Sample implementation of the SDK Extension.
[email protected]
    41
 * Note: Uncomment one of the pre-defined virtual functions in order to use it.
[email protected]
    42
 */
[email protected]
    43
class Deathmatch : public SDKExtension
[email protected]
    44
{
[email protected]
    45
public:
[email protected]
    46
	virtual bool SDK_OnLoad(char *error, size_t maxlength, bool late);
[email protected]
    47
	virtual void SDK_OnUnload();
[email protected]
    48
	virtual void SDK_OnAllLoaded();
[email protected]
    49
	//virtual void SDK_OnPauseChange(bool paused);
[email protected]
    50
	virtual bool QueryRunning(char *error, size_t maxlength);
[email protected]
    51
	bool QueryInterfaceDrop(SMInterface *pInterface);
[email protected]
    52
	void NotifyInterfaceDrop(SMInterface *pInterface);
[email protected]
    53
	const char *GetExtensionVerString();
[email protected]
    54
public:
[email protected]
    55
	virtual bool SDK_OnMetamodLoad(ISmmAPI *ismm, char *error, size_t maxlength, bool late);
[email protected]
    56
	//virtual bool SDK_OnMetamodUnload(char *error, size_t maxlength);
[email protected]
    57
	//virtual bool SDK_OnMetamodPauseChange(bool paused, char *error, size_t maxlength);
[email protected]
    58
};
[email protected]
    59
[email protected]
    60
extern Deathmatch g_DM;
[email protected]
    61
[email protected]
    62
#endif // _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_