dvander@1106: /** dvander@1106: * vim: set ts=4 : ds@1330: * ============================================================================= dvander@1106: * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. ds@1330: * ============================================================================= ds@1330: * ds@1330: * This file is part of the SourceMod/SourcePawn SDK. dvander@1106: * ds@1330: * This program is free software; you can redistribute it and/or modify it under ds@1330: * the terms of the GNU General Public License, version 3.0, as published by the ds@1330: * Free Software Foundation. ds@1330: * ds@1330: * This program is distributed in the hope that it will be useful, but WITHOUT ds@1330: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ds@1330: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more ds@1330: * details. ds@1330: * ds@1330: * You should have received a copy of the GNU General Public License along with ds@1330: * this program. If not, see . ds@1330: * ds@1330: * As a special exception, AlliedModders LLC gives you permission to link the ds@1330: * code of this program (as well as its derivative works) to "Half-Life 2," the ds@1330: * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software ds@1330: * by the Valve Corporation. You must obey the GNU General Public License in ds@1330: * all respects for all other code used. Additionally, AlliedModders LLC grants ds@1330: * this exception to all derivative works. AlliedModders LLC defines further ds@1330: * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007), ds@1330: * or . dvander@1106: * dvander@1106: * Version: $Id$ dvander@1106: */ dvander@1106: dvander@1106: #if defined _sdktools_engine_included dvander@1106: #endinput dvander@1106: #endif dvander@1106: #define _sdktools_engine_included dvander@1106: dvander@1152: #define MAX_LIGHTSTYLES 64 dvander@1152: dvander@1106: /** dvander@1106: * Sets a client's "viewing entity." dvander@1106: * dvander@1106: * @param client Client index. dvander@1106: * @param entity Entity index. dvander@1106: * @noreturn dvander@1106: * @error Invalid client or entity, lack of mod support, or client not in dvander@1106: * game. dvander@1106: */ dvander@1106: native SetClientViewEntity(client, entity); dvander@1152: dvander@1152: /** dvander@1152: * Sets a light style. dvander@1152: * dvander@1152: * @param style Light style (from 0 to MAX_LIGHTSTYLES-1) dvander@1152: * @param value Light value string (see world.cpp/light.cpp in dlls) dvander@1152: * @noreturn dvander@1152: * @error Light style index is out of range. dvander@1152: */ dvander@1152: native SetLightStyle(style, const String:value[]); faluco@1219: faluco@1219: /** faluco@1219: * Returns the client's eye position. faluco@1219: * faluco@1219: * @param client Player's index. faluco@1219: * @param pos Destination vector to store the client's eye position. faluco@1219: * @noreturn faluco@1219: * @error Invalid client index, client not in game, or no mod support. faluco@1219: */ faluco@1219: native GetClientEyePosition(client, Float:pos[3]);