just some cleaning

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402029
This commit is contained in:
Borja Ferrer 2008-04-10 19:25:50 +00:00
parent 472e9969d9
commit ad37496d34
4 changed files with 2 additions and 51 deletions

View File

@ -1,39 +0,0 @@
/**
* vim: set ts=4 :
* =============================================================================
* SourceMod SDKTools Extension
* Copyright (C) 2004-2007 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*
* As a special exception, AlliedModders LLC gives you permission to link the
* code of this program (as well as its derivative works) to "Half-Life 2," the
* "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
* by the Valve Corporation. You must obey the GNU General Public License in
* all respects for all other code used. Additionally, AlliedModders LLC grants
* this exception to all derivative works. AlliedModders LLC defines further
* exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
* or <http://www.sourcemod.net/license.php>.
*
* Version: $Id: tenatives.cpp 1566 2007-10-14 22:12:46Z faluco $
*/
#include "extension.h"
#include "output.h"

View File

@ -437,6 +437,7 @@ const char *EntityOutputManager::FindOutputName(void *pOutput, CBaseEntity *pCal
return NULL;
}
#if 0
// Almost identical copy of this function from cbase.cpp - FIELD_EHANDLE changed to remove dependencies
const char *variant_t::ToString( void ) const
@ -518,6 +519,7 @@ const char *variant_t::ToString( void ) const
return("No conversion to string");
}
#endif
// Thanks SM core
edict_t *EntityOutputManager::BaseHandleToEdict(CBaseHandle &hndl)
{
@ -551,6 +553,3 @@ edict_t *EntityOutputManager::BaseHandleToEdict(CBaseHandle &hndl)
return pStoredEdict;
}

View File

@ -32,7 +32,6 @@
#include "extension.h"
#include "output.h"
// HookSingleEntityOutput(ent, const String:output[], function, bool:once);
cell_t HookSingleEntityOutput(IPluginContext *pContext, const cell_t *params)
{
@ -98,7 +97,6 @@ cell_t HookSingleEntityOutput(IPluginContext *pContext, const cell_t *params)
return 1;
}
// HookEntityOutput(const String:classname[], const String:output[], function);
cell_t HookEntityOutput(IPluginContext *pContext, const cell_t *params)
{

View File

@ -824,10 +824,3 @@ CON_COMMAND(sm_dump_datamaps, "Dumps the data map list as a text file")
fclose(fp);
}