extensions/sdkhooks/util.h
author David Anderson <dvander@alliedmods.net>
Thu Aug 08 22:02:42 2013 -0700 (2013-08-08)
changeset 3980 dc7dfcd855dc
parent 3767 7223d0a452a8
child 4054 0964336bb978
permissions -rw-r--r--
More Windows build fix.
skamonkey@3767
     1
/**
skamonkey@3767
     2
 * vim: set ts=4 :
skamonkey@3767
     3
 * =============================================================================
skamonkey@3767
     4
 * SourceMod Team Fortress 2 Extension
skamonkey@3767
     5
 * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
skamonkey@3767
     6
 * =============================================================================
skamonkey@3767
     7
 *
skamonkey@3767
     8
 * This program is free software; you can redistribute it and/or modify it under
skamonkey@3767
     9
 * the terms of the GNU General Public License, version 3.0, as published by the
skamonkey@3767
    10
 * Free Software Foundation.
skamonkey@3767
    11
 * 
skamonkey@3767
    12
 * This program is distributed in the hope that it will be useful, but WITHOUT
skamonkey@3767
    13
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
skamonkey@3767
    14
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
skamonkey@3767
    15
 * details.
skamonkey@3767
    16
 *
skamonkey@3767
    17
 * You should have received a copy of the GNU General Public License along with
skamonkey@3767
    18
 * this program.  If not, see <http://www.gnu.org/licenses/>.
skamonkey@3767
    19
 *
skamonkey@3767
    20
 * As a special exception, AlliedModders LLC gives you permission to link the
skamonkey@3767
    21
 * code of this program (as well as its derivative works) to "Half-Life 2," the
skamonkey@3767
    22
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
skamonkey@3767
    23
 * by the Valve Corporation.  You must obey the GNU General Public License in
skamonkey@3767
    24
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
skamonkey@3767
    25
 * this exception to all derivative works.  AlliedModders LLC defines further
skamonkey@3767
    26
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
skamonkey@3767
    27
 * or <http://www.sourcemod.net/license.php>.
skamonkey@3767
    28
 *
skamonkey@3767
    29
 * Version: $Id$
skamonkey@3767
    30
 */
skamonkey@3767
    31
skamonkey@3767
    32
#ifndef _INCLUDE_TF2TOOLS_UTIL_H_
skamonkey@3767
    33
#define _INCLUDE_TF2TOOLS_UTIL_H_
skamonkey@3767
    34
skamonkey@3767
    35
#include <compat_wrappers.h>
skamonkey@3767
    36
skamonkey@3767
    37
CBaseEntity *UTIL_GetCBaseEntity(int num, bool onlyPlayers=false);
skamonkey@3767
    38
bool UTIL_FindDataTable(SendTable *pTable, const char *name, sm_sendprop_info_t *info, unsigned int offset);
skamonkey@3767
    39
skamonkey@3767
    40
#endif  //_INCLUDE_TF2TOOLS_UTIL_H_