extensions/cstrike/timeleft.h
author Drifter <drifter01620@gmail.com>
Wed Jul 31 22:11:15 2013 -0400 (2013-07-31)
changeset 3965 86dedf4462d8
parent 3519 a116c415c73e
permissions -rw-r--r--
Added CS_IsValidWeaponID native and validity checks to other natives (bug 5566, r=psychonic).
faluco@1552
     1
/**
faluco@1552
     2
 * vim: set ts=4 :
faluco@1552
     3
 * =============================================================================
faluco@1552
     4
 * SourceMod Counter-Strike:Source Extension
ds@1947
     5
 * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
faluco@1552
     6
 * =============================================================================
faluco@1552
     7
 *
faluco@1552
     8
 * This program is free software; you can redistribute it and/or modify it under
faluco@1552
     9
 * the terms of the GNU General Public License, version 3.0, as published by the
faluco@1552
    10
 * Free Software Foundation.
faluco@1552
    11
 * 
faluco@1552
    12
 * This program is distributed in the hope that it will be useful, but WITHOUT
faluco@1552
    13
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
faluco@1552
    14
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
faluco@1552
    15
 * details.
faluco@1552
    16
 *
faluco@1552
    17
 * You should have received a copy of the GNU General Public License along with
faluco@1552
    18
 * this program.  If not, see <http://www.gnu.org/licenses/>.
faluco@1552
    19
 *
faluco@1552
    20
 * As a special exception, AlliedModders LLC gives you permission to link the
faluco@1552
    21
 * code of this program (as well as its derivative works) to "Half-Life 2," the
faluco@1552
    22
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
faluco@1552
    23
 * by the Valve Corporation.  You must obey the GNU General Public License in
faluco@1552
    24
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
faluco@1552
    25
 * this exception to all derivative works.  AlliedModders LLC defines further
faluco@1552
    26
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
faluco@1552
    27
 * or <http://www.sourcemod.net/license.php>.
faluco@1552
    28
 *
faluco@1552
    29
 * Version: $Id$
faluco@1552
    30
 */
faluco@1552
    31
dvander@1459
    32
#ifndef _INCLUDE_SOURCEMOD_CSTRIKE_EVENTS_H_
dvander@1459
    33
#define _INCLUDE_SOURCEMOD_CSTRIKE_EVENTS_H_
dvander@1459
    34
dvander@1459
    35
#include <edict.h>
dvander@1459
    36
#include <igameevents.h>
dvander@1459
    37
dvander@1459
    38
class TimeLeftEvents : public IGameEventListener2
dvander@1459
    39
{
dvander@1459
    40
public:
dvander@1459
    41
	bool LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background);
dvander@1459
    42
	virtual void FireGameEvent(IGameEvent *event);
rgr_02@3519
    43
#if SOURCE_ENGINE >= SE_ALIENSWARM
rgr_02@3519
    44
	virtual int	 GetEventDebugID( void ) { return 42; }
rgr_02@3519
    45
#endif
dvander@1459
    46
};
dvander@1459
    47
dvander@1459
    48
extern TimeLeftEvents g_TimeLeftEvents;
dvander@1459
    49
dvander@1459
    50
#endif //_INCLUDE_SOURCEMOD_CSTRIKE_EVENTS_H_
dvander@1459
    51