extensions/tf2/criticals.h
author Nicholas Hastings <skamonkey@gmail.com>
Mon Jun 14 09:32:50 2010 -0400 (2010-06-14)
changeset 3041 a0587dee87ae
parent 2600 f78e5656cc6f
child 3056 4e1591dceb8d
permissions -rw-r--r--
Fixed outputname null pointer crash in sdktools (bug 4422, r=fyren)
pred@1979
     1
/**
pred@1979
     2
 * vim: set ts=4 :
pred@1979
     3
 * =============================================================================
ds@1990
     4
 * SourceMod Team Fortress 2 Extension
pred@1979
     5
 * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
pred@1979
     6
 * =============================================================================
pred@1979
     7
 *
pred@1979
     8
 * This program is free software; you can redistribute it and/or modify it under
pred@1979
     9
 * the terms of the GNU General Public License, version 3.0, as published by the
pred@1979
    10
 * Free Software Foundation.
pred@1979
    11
 * 
pred@1979
    12
 * This program is distributed in the hope that it will be useful, but WITHOUT
pred@1979
    13
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
pred@1979
    14
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
pred@1979
    15
 * details.
pred@1979
    16
 *
pred@1979
    17
 * You should have received a copy of the GNU General Public License along with
pred@1979
    18
 * this program.  If not, see <http://www.gnu.org/licenses/>.
pred@1979
    19
 *
pred@1979
    20
 * As a special exception, AlliedModders LLC gives you permission to link the
pred@1979
    21
 * code of this program (as well as its derivative works) to "Half-Life 2," the
pred@1979
    22
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
pred@1979
    23
 * by the Valve Corporation.  You must obey the GNU General Public License in
pred@1979
    24
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
pred@1979
    25
 * this exception to all derivative works.  AlliedModders LLC defines further
pred@1979
    26
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
pred@1979
    27
 * or <http://www.sourcemod.net/license.php>.
pred@1979
    28
 *
pred@1979
    29
 * Version: $Id$
pred@1979
    30
 */
pred@1979
    31
pred@2136
    32
#ifndef _INCLUDE_SOURCEMOD_CRITICALS_H_
pred@2136
    33
#define _INCLUDE_SOURCEMOD_CRITICALS_H_
pred@2136
    34
pred@1979
    35
#include "extension.h"
pred@1979
    36
#include <jit/jit_helpers.h>
pred@1979
    37
#include <jit/x86/x86_macros.h>
pred@2136
    38
#include "CDetour/detours.h"
pred@1979
    39
pred@2136
    40
void InitialiseDetours();
pred@2136
    41
void RemoveDetours();
pred@1979
    42
pred@2136
    43
extern IForward *g_critForward;
pred@2136
    44
pred@1979
    45
extern IServerGameEnts *gameents;
pred@2136
    46
pred@2136
    47
#endif //_INCLUDE_SOURCEMOD_CRITICALS_H_