Skip to content
Permalink
Browse files

Starting to add MetaMod support.

  • Loading branch information...
tschumann committed May 21, 2016
1 parent e40890a commit ce9b53ec089f638f11f7733914d74a888ad3d8e3
Showing with 21,866 additions and 0 deletions.
  1. +64 −0 dlls/metamod.cpp
  2. +6 −0 dlls/metamod/.cvsignore
  3. +272 −0 dlls/metamod/api_info.cpp
  4. +296 −0 dlls/metamod/api_info.h
  5. +472 −0 dlls/metamod/commands_meta.cpp
  6. +81 −0 dlls/metamod/commands_meta.h
  7. +241 −0 dlls/metamod/conf_meta.cpp
  8. +96 −0 dlls/metamod/conf_meta.h
  9. +520 −0 dlls/metamod/dllapi.cpp
  10. +384 −0 dlls/metamod/dllapi.h
  11. +1,093 −0 dlls/metamod/engine_api.cpp
  12. +928 −0 dlls/metamod/engine_api.h
  13. +81 −0 dlls/metamod/engine_t.h
  14. +156 −0 dlls/metamod/enginecallbacks.h
  15. +392 −0 dlls/metamod/engineinfo.cpp
  16. +255 −0 dlls/metamod/engineinfo.h
  17. +278 −0 dlls/metamod/game_support.cpp
  18. +55 −0 dlls/metamod/game_support.h
  19. +131 −0 dlls/metamod/games.h
  20. +101 −0 dlls/metamod/h_export.cpp
  21. +49 −0 dlls/metamod/h_export.h
  22. +56 −0 dlls/metamod/info_name.h
  23. +62 −0 dlls/metamod/linkent.cpp
  24. +117 −0 dlls/metamod/linkent.h
  25. +3,633 −0 dlls/metamod/linkgame.cpp
  26. +42 −0 dlls/metamod/linkplug.cpp
  27. +214 −0 dlls/metamod/log_meta.cpp
  28. +203 −0 dlls/metamod/log_meta.h
  29. +472 −0 dlls/metamod/meta_api.h
  30. +711 −0 dlls/metamod/meta_eiface.cpp
  31. +478 −0 dlls/metamod/meta_eiface.h
  32. +436 −0 dlls/metamod/metamod.cpp
  33. +426 −0 dlls/metamod/metamod.h
  34. +400 −0 dlls/metamod/mhook.cpp
  35. +320 −0 dlls/metamod/mhook.h
  36. +844 −0 dlls/metamod/mlist.cpp
  37. +90 −0 dlls/metamod/mlist.h
  38. +196 −0 dlls/metamod/mplayer.cpp
  39. +91 −0 dlls/metamod/mplayer.h
  40. +1,485 −0 dlls/metamod/mplugin.cpp
  41. +422 −0 dlls/metamod/mplugin.h
  42. +57 −0 dlls/metamod/mqueue.cpp
  43. +68 −0 dlls/metamod/mqueue.h
  44. +513 −0 dlls/metamod/mreg.cpp
  45. +372 −0 dlls/metamod/mreg.h
  46. +447 −0 dlls/metamod/mutil.cpp
  47. +320 −0 dlls/metamod/mutil.h
  48. +241 −0 dlls/metamod/osdep.cpp
  49. +1,044 −0 dlls/metamod/osdep.h
  50. +164 −0 dlls/metamod/plinfo.h
  51. +249 −0 dlls/metamod/reg_support.cpp
  52. +48 −0 dlls/metamod/reg_support.h
  53. +143 −0 dlls/metamod/sdk_util.cpp
  54. +230 −0 dlls/metamod/sdk_util.h
  55. +98 −0 dlls/metamod/studioapi.cpp
  56. +56 −0 dlls/metamod/studioapi.h
  57. +121 −0 dlls/metamod/support_meta.cpp
  58. +148 −0 dlls/metamod/support_meta.h
  59. +377 −0 dlls/metamod/thread_logparse.cpp
  60. +59 −0 dlls/metamod/thread_logparse.h
  61. +144 −0 dlls/metamod/tqueue.h
  62. +162 −0 dlls/metamod/types_meta.h
  63. +57 −0 dlls/metamod/vdate.cpp
  64. +44 −0 dlls/metamod/vdate.h
  65. +55 −0 dlls/metamod/vers_meta.h
@@ -0,0 +1,64 @@

#include "extdll.h"
#include "enginecallback.h"
#include "engine.h"
#include "dll.h"

#include "metamod/meta_api.h"

meta_globals_t *gpMetaGlobals; // metamod globals
gamedll_funcs_t *gpGamedllFuncs; // gameDLL function tables
mutil_funcs_t *gpMetaUtilFuncs; // metamod utility functions

static META_FUNCTIONS gMetaFunctionTable = {
GetEntityAPI, // pfnGetEntityAPI HL SDK; called before game DLL
NULL, // pfnGetEntityAPI_Post META; called after game DLL
NULL, // pfnGetEntityAPI2 HL SDK2; called before game DLL
NULL, // pfnGetEntityAPI2_Post META; called after game DLL
GetNewDLLFunctions, // pfnGetNewDLLFunctions HL SDK2; called before game DLL
NULL, // pfnGetNewDLLFunctions_Post META; called after game DLL
NULL, // pfnGetEngineFunctions META; called before HL engine
NULL, // pfnGetEngineFunctions_Post META; called after HL engine
};

plugin_info_t Plugin_info = {
META_INTERFACE_VERSION, // ifvers
"Sandbot", // name
"0.2", // version
"2016/05/21", // date
"Tom Schumann", // author
"http://www.teamsandpit.com/", // url
"SANDBOT", // logtag, all caps please
PT_ANYTIME, // (when) loadable
PT_ANYPAUSE, // (when) unloadable
};

C_DLLEXPORT int Meta_Query(char * /*ifvers */, plugin_info_t **pPlugInfo, mutil_funcs_t *pMetaUtilFuncs)
{
// Give metamod our plugin_info struct
*pPlugInfo=&Plugin_info;
// Get metamod utility function table.
gpMetaUtilFuncs=pMetaUtilFuncs;
return(TRUE);
}

C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME /* now */, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
{
if(!pMGlobals) {
LOG_ERROR(PLID, "Meta_Attach called with null pMGlobals");
return(FALSE);
}
gpMetaGlobals=pMGlobals;
if(!pFunctionTable) {
LOG_ERROR(PLID, "Meta_Attach called with null pFunctionTable");
return(FALSE);
}
memcpy(pFunctionTable, &gMetaFunctionTable, sizeof(META_FUNCTIONS));
gpGamedllFuncs=pGamedllFuncs;
return(TRUE);
}

C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME /* now */, PL_UNLOAD_REASON /* reason */)
{
return(TRUE);
}
@@ -0,0 +1,6 @@
debug.linux*
debug.win32
opt.linux*
opt.win32
Rules.depend
msgs
@@ -0,0 +1,272 @@
// vi: set ts=4 sw=4 :
// vim: set tw=75 :
// api_info.cpp - info for api routines
/*
* Copyright (c) 2001-2003 Will Day <willday@hpgx.net>
*
* This file is part of Metamod.
*
* Metamod is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* Metamod 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 Metamod; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* In addition, as a special exception, the author gives permission to
* link the code of this program with the Half-Life Game Engine ("HL
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
* L.L.C ("Valve"). You must obey the GNU General Public License in all
* respects for all of the code used other than the HL Engine and MODs
* from Valve. If you modify this file, you may extend this exception
* to your version of the file, but you are not obligated to do so. If
* you do not wish to do so, delete this exception statement from your
* version.
*
*/
#include <extdll.h> // always
#include "api_info.h" // me
// trace flag, loglevel, name
dllapi_info_t dllapi_info = {
{ mFALSE, 3, "GameDLLInit" }, // pfnGameInit
{ mFALSE, 10, "DispatchSpawn" }, // pfnSpawn
{ mFALSE, 16, "DispatchThink" }, // pfnThink
{ mFALSE, 9, "DispatchUse" }, // pfnUse
{ mFALSE, 11, "DispatchTouch" }, // pfnTouch
{ mFALSE, 9, "DispatchBlocked" }, // pfnBlocked
{ mFALSE, 10, "DispatchKeyValue" }, // pfnKeyValue
{ mFALSE, 9, "DispatchSave" }, // pfnSave
{ mFALSE, 9, "DispatchRestore" }, // pfnRestore
{ mFALSE, 20, "DispatchObjectCollsionBox" }, // pfnSetAbsBox
{ mFALSE, 9, "SaveWriteFields" }, // pfnSaveWriteFields
{ mFALSE, 9, "SaveReadFields" }, // pfnSaveReadFields
{ mFALSE, 9, "SaveGlobalState" }, // pfnSaveGlobalState
{ mFALSE, 9, "RestoreGlobalState" }, // pfnRestoreGlobalState
{ mFALSE, 9, "ResetGlobalState" }, // pfnResetGlobalState
{ mFALSE, 3, "ClientConnect" }, // pfnClientConnect
{ mFALSE, 3, "ClientDisconnect" }, // pfnClientDisconnect
{ mFALSE, 3, "ClientKill" }, // pfnClientKill
{ mFALSE, 3, "ClientPutInServer" }, // pfnClientPutInServer
{ mFALSE, 9, "ClientCommand" }, // pfnClientCommand
{ mFALSE, 11, "ClientUserInfoChanged" }, // pfnClientUserInfoChanged
{ mFALSE, 3, "ServerActivate" }, // pfnServerActivate
{ mFALSE, 3, "ServerDeactivate" }, // pfnServerDeactivate
{ mFALSE, 14, "PlayerPreThink" }, // pfnPlayerPreThink
{ mFALSE, 14, "PlayerPostThink" }, // pfnPlayerPostThink
{ mFALSE, 18, "StartFrame" }, // pfnStartFrame
{ mFALSE, 9, "ParmsNewLevel" }, // pfnParmsNewLevel
{ mFALSE, 9, "ParmsChangeLevel" }, // pfnParmsChangeLevel
{ mFALSE, 9, "GetGameDescription" }, // pfnGetGameDescription
{ mFALSE, 9, "PlayerCustomization" }, // pfnPlayerCustomization
{ mFALSE, 9, "SpectatorConnect" }, // pfnSpectatorConnect
{ mFALSE, 9, "SpectatorDisconnect" }, // pfnSpectatorDisconnect
{ mFALSE, 9, "SpectatorThink" }, // pfnSpectatorThink
{ mFALSE, 3, "Sys_Error" }, // pfnSys_Error
{ mFALSE, 13, "PM_Move" }, // pfnPM_Move
{ mFALSE, 9, "PM_Init" }, // pfnPM_Init
{ mFALSE, 9, "PM_FindTextureType" }, // pfnPM_FindTextureType
{ mFALSE, 12, "SetupVisibility" }, // pfnSetupVisibility
{ mFALSE, 12, "UpdateClientData" }, // pfnUpdateClientData
{ mFALSE, 16, "AddToFullPack" }, // pfnAddToFullPack
{ mFALSE, 9, "CreateBaseline" }, // pfnCreateBaseline
{ mFALSE, 9, "RegisterEncoders" }, // pfnRegisterEncoders
{ mFALSE, 9, "GetWeaponData" }, // pfnGetWeaponData
{ mFALSE, 15, "CmdStart" }, // pfnCmdStart
{ mFALSE, 15, "CmdEnd" }, // pfnCmdEnd
{ mFALSE, 9, "ConnectionlessPacket" }, // pfnConnectionlessPacket
{ mFALSE, 9, "GetHullBounds" }, // pfnGetHullBounds
{ mFALSE, 9, "CreateInstancedBaselines" }, // pfnCreateInstancedBaselines
{ mFALSE, 3, "InconsistentFile" }, // pfnInconsistentFile
{ mFALSE, 20, "AllowLagCompensation" }, // pfnAllowLagCompensation
{ mFALSE, 0, NULL },
};
newapi_info_t newapi_info = {
{ mFALSE, 16, "OnFreeEntPrivateData" }, // pfnOnFreeEntPrivateData
{ mFALSE, 3, "GameShutdown" }, // pfnGameShutdown
{ mFALSE, 14, "ShouldCollide" }, // pfnShouldCollide
// Added 2005-08-11 (no SDK update)
{ mFALSE, 3, "CvarValue" }, // pfnCvarValue
// Added 2005-11-22 (no SDK update)
{ mFALSE, 3, "CvarValue2" }, // pfnCvarValue2
{ mFALSE, 0, NULL },
};
engine_info_t engine_info = {
{ mFALSE, 13, "PrecacheModel" }, // pfnPrecacheModel
{ mFALSE, 13, "PrecacheSound" }, // pfnPrecacheSound
{ mFALSE, 18, "SetModel" }, // pfnSetModel
{ mFALSE, 34, "ModelIndex" }, // pfnModelIndex
{ mFALSE, 10, "ModelFrames" }, // pfnModelFrames
{ mFALSE, 14, "SetSize" }, // pfnSetSize
{ mFALSE, 9, "ChangeLevel" }, // pfnChangeLevel
{ mFALSE, 9, "GetSpawnParms" }, // pfnGetSpawnParms
{ mFALSE, 9, "SaveSpawnParms" }, // pfnSaveSpawnParms
{ mFALSE, 9, "VecToYaw" }, // pfnVecToYaw
{ mFALSE, 14, "VecToAngles" }, // pfnVecToAngles
{ mFALSE, 9, "MoveToOrigin" }, // pfnMoveToOrigin
{ mFALSE, 9, "ChangeYaw" }, // pfnChangeYaw
{ mFALSE, 9, "ChangePitch" }, // pfnChangePitch
{ mFALSE, 32, "FindEntityByString" }, // pfnFindEntityByString
{ mFALSE, 9, "GetEntityIllum" }, // pfnGetEntityIllum
{ mFALSE, 9, "FindEntityInSphere" }, // pfnFindEntityInSphere
{ mFALSE, 19, "FindClientInPVS" }, // pfnFindClientInPVS
{ mFALSE, 9, "EntitiesInPVS" }, // pfnEntitiesInPVS
{ mFALSE, 40, "MakeVectors" }, // pfnMakeVectors
{ mFALSE, 9, "AngleVectors" }, // pfnAngleVectors
{ mFALSE, 13, "CreateEntity" }, // pfnCreateEntity
{ mFALSE, 13, "RemoveEntity" }, // pfnRemoveEntity
{ mFALSE, 13, "CreateNamedEntity" }, // pfnCreateNamedEntity
{ mFALSE, 9, "MakeStatic" }, // pfnMakeStatic
{ mFALSE, 9, "EntIsOnFloor" }, // pfnEntIsOnFloor
{ mFALSE, 9, "DropToFloor" }, // pfnDropToFloor
{ mFALSE, 9, "WalkMove" }, // pfnWalkMove
{ mFALSE, 14, "SetOrigin" }, // pfnSetOrigin
{ mFALSE, 12, "EmitSound" }, // pfnEmitSound
{ mFALSE, 12, "EmitAmbientSound" }, // pfnEmitAmbientSound
{ mFALSE, 20, "TraceLine" }, // pfnTraceLine
{ mFALSE, 9, "TraceToss" }, // pfnTraceToss
{ mFALSE, 9, "TraceMonsterHull" }, // pfnTraceMonsterHull
{ mFALSE, 9, "TraceHull" }, // pfnTraceHull
{ mFALSE, 9, "TraceModel" }, // pfnTraceModel
{ mFALSE, 15, "TraceTexture" }, // pfnTraceTexture // CS: when moving
{ mFALSE, 9, "TraceSphere" }, // pfnTraceSphere
{ mFALSE, 9, "GetAimVector" }, // pfnGetAimVector
{ mFALSE, 9, "ServerCommand" }, // pfnServerCommand
{ mFALSE, 9, "ServerExecute" }, // pfnServerExecute
{ mFALSE, 11, "engClientCommand" }, // pfnClientCommand // d'oh, ClientCommand in dllapi too
{ mFALSE, 9, "ParticleEffect" }, // pfnParticleEffect
{ mFALSE, 9, "LightStyle" }, // pfnLightStyle
{ mFALSE, 9, "DecalIndex" }, // pfnDecalIndex
{ mFALSE, 15, "PointContents" }, // pfnPointContents // CS: when moving
{ mFALSE, 22, "MessageBegin" }, // pfnMessageBegin
{ mFALSE, 22, "MessageEnd" }, // pfnMessageEnd
{ mFALSE, 30, "WriteByte" }, // pfnWriteByte
{ mFALSE, 23, "WriteChar" }, // pfnWriteChar
{ mFALSE, 24, "WriteShort" }, // pfnWriteShort
{ mFALSE, 23, "WriteLong" }, // pfnWriteLong
{ mFALSE, 23, "WriteAngle" }, // pfnWriteAngle
{ mFALSE, 23, "WriteCoord" }, // pfnWriteCoord
{ mFALSE, 25, "WriteString" }, // pfnWriteString
{ mFALSE, 23, "WriteEntity" }, // pfnWriteEntity
{ mFALSE, 9, "CVarRegister" }, // pfnCVarRegister
{ mFALSE, 21, "CVarGetFloat" }, // pfnCVarGetFloat
{ mFALSE, 9, "CVarGetString" }, // pfnCVarGetString
{ mFALSE, 10, "CVarSetFloat" }, // pfnCVarSetFloat
{ mFALSE, 9, "CVarSetString" }, // pfnCVarSetString
{ mFALSE, 15, "AlertMessage" }, // pfnAlertMessage
{ mFALSE, 17, "EngineFprintf" }, // pfnEngineFprintf
{ mFALSE, 14, "PvAllocEntPrivateData" }, // pfnPvAllocEntPrivateData
{ mFALSE, 9, "PvEntPrivateData" }, // pfnPvEntPrivateData
{ mFALSE, 9, "FreeEntPrivateData" }, // pfnFreeEntPrivateData
{ mFALSE, 9, "SzFromIndex" }, // pfnSzFromIndex
{ mFALSE, 10, "AllocString" }, // pfnAllocString
{ mFALSE, 9, "GetVarsOfEnt" }, // pfnGetVarsOfEnt
{ mFALSE, 14, "PEntityOfEntOffset" }, // pfnPEntityOfEntOffset
{ mFALSE, 19, "EntOffsetOfPEntity" }, // pfnEntOffsetOfPEntity
{ mFALSE, 14, "IndexOfEdict" }, // pfnIndexOfEdict
{ mFALSE, 17, "PEntityOfEntIndex" }, // pfnPEntityOfEntIndex
{ mFALSE, 9, "FindEntityByVars" }, // pfnFindEntityByVars
{ mFALSE, 14, "GetModelPtr" }, // pfnGetModelPtr
{ mFALSE, 9, "RegUserMsg" }, // pfnRegUserMsg
{ mFALSE, 9, "AnimationAutomove" }, // pfnAnimationAutomove
{ mFALSE, 9, "GetBonePosition" }, // pfnGetBonePosition
{ mFALSE, 9, "FunctionFromName" }, // pfnFunctionFromName
{ mFALSE, 9, "NameForFunction" }, // pfnNameForFunction
{ mFALSE, 9, "ClientPrintf" }, // pfnClientPrintf
{ mFALSE, 9, "ServerPrint" }, // pfnServerPrint
{ mFALSE, 13, "Cmd_Args" }, // pfnCmd_Args
{ mFALSE, 13, "Cmd_Argv" }, // pfnCmd_Argv
{ mFALSE, 13, "Cmd_Argc" }, // pfnCmd_Argc
{ mFALSE, 9, "GetAttachment" }, // pfnGetAttachment
{ mFALSE, 9, "CRC32_Init" }, // pfnCRC32_Init
{ mFALSE, 9, "CRC32_ProcessBuffer" }, // pfnCRC32_ProcessBuffer
{ mFALSE, 9, "CRC32_ProcessByte" }, // pfnCRC32_ProcessByte
{ mFALSE, 9, "CRC32_Final" }, // pfnCRC32_Final
{ mFALSE, 16, "RandomLong" }, // pfnRandomLong
{ mFALSE, 14, "RandomFloat" }, // pfnRandomFloat // CS: when firing
{ mFALSE, 14, "SetView" }, // pfnSetView
{ mFALSE, 9, "Time" }, // pfnTime
{ mFALSE, 9, "CrosshairAngle" }, // pfnCrosshairAngle
{ mFALSE, 10, "LoadFileForMe" }, // pfnLoadFileForMe
{ mFALSE, 10, "FreeFile" }, // pfnFreeFile
{ mFALSE, 9, "EndSection" }, // pfnEndSection
{ mFALSE, 9, "CompareFileTime" }, // pfnCompareFileTime
{ mFALSE, 9, "GetGameDir" }, // pfnGetGameDir
{ mFALSE, 9, "Cvar_RegisterVariable" }, // pfnCvar_RegisterVariable
{ mFALSE, 9, "FadeClientVolume" }, // pfnFadeClientVolume
{ mFALSE, 14, "SetClientMaxspeed" }, // pfnSetClientMaxspeed
{ mFALSE, 9, "CreateFakeClient" }, // pfnCreateFakeClient
{ mFALSE, 9, "RunPlayerMove" }, // pfnRunPlayerMove
{ mFALSE, 9, "NumberOfEntities" }, // pfnNumberOfEntities
{ mFALSE, 17, "GetInfoKeyBuffer" }, // pfnGetInfoKeyBuffer
{ mFALSE, 13, "InfoKeyValue" }, // pfnInfoKeyValue
{ mFALSE, 9, "SetKeyValue" }, // pfnSetKeyValue
{ mFALSE, 12, "SetClientKeyValue" }, // pfnSetClientKeyValue
{ mFALSE, 9, "IsMapValid" }, // pfnIsMapValid
{ mFALSE, 9, "StaticDecal" }, // pfnStaticDecal
{ mFALSE, 9, "PrecacheGeneric" }, // pfnPrecacheGeneric
{ mFALSE, 10, "GetPlayerUserId" }, // pfnGetPlayerUserId
{ mFALSE, 9, "BuildSoundMsg" }, // pfnBuildSoundMsg
{ mFALSE, 9, "IsDedicatedServer" }, // pfnIsDedicatedServer
{ mFALSE, 9, "CVarGetPointer" }, // pfnCVarGetPointer
{ mFALSE, 9, "GetPlayerWONId" }, // pfnGetPlayerWONId
{ mFALSE, 9, "Info_RemoveKey" }, // pfnInfo_RemoveKey
{ mFALSE, 15, "GetPhysicsKeyValue" }, // pfnGetPhysicsKeyValue
{ mFALSE, 14, "SetPhysicsKeyValue" }, // pfnSetPhysicsKeyValue
{ mFALSE, 15, "GetPhysicsInfoString" }, // pfnGetPhysicsInfoString
{ mFALSE, 13, "PrecacheEvent" }, // pfnPrecacheEvent
{ mFALSE, 9, "PlaybackEvent" }, // pfnPlaybackEvent
{ mFALSE, 31, "SetFatPVS" }, // pfnSetFatPVS
{ mFALSE, 31, "SetFatPAS" }, // pfnSetFatPAS
{ mFALSE, 50, "CheckVisibility" }, // pfnCheckVisibility
{ mFALSE, 37, "DeltaSetField" }, // pfnDeltaSetField
{ mFALSE, 38, "DeltaUnsetField" }, // pfnDeltaUnsetField
{ mFALSE, 9, "DeltaAddEncoder" }, // pfnDeltaAddEncoder
{ mFALSE, 45, "GetCurrentPlayer" }, // pfnGetCurrentPlayer
{ mFALSE, 14, "CanSkipPlayer" }, // pfnCanSkipPlayer
{ mFALSE, 9, "DeltaFindField" }, // pfnDeltaFindField
{ mFALSE, 37, "DeltaSetFieldByIndex" }, // pfnDeltaSetFieldByIndex
{ mFALSE, 38, "DeltaUnsetFieldByIndex" }, // pfnDeltaUnsetFieldByIndex
{ mFALSE, 9, "SetGroupMask" }, // pfnSetGroupMask
{ mFALSE, 9, "engCreateInstancedBaseline" }, // pfnCreateInstancedBaseline // d'oh, CreateInstancedBaseline in dllapi too
{ mFALSE, 9, "Cvar_DirectSet" }, // pfnCvar_DirectSet
{ mFALSE, 9, "ForceUnmodified" }, // pfnForceUnmodified
{ mFALSE, 9, "GetPlayerStats" }, // pfnGetPlayerStats
{ mFALSE, 3, "AddServerCommand" }, // pfnAddServerCommand
// Added in SDK 2.2:
{ mFALSE, 9, "Voice_GetClientListening" }, // Voice_GetClientListening
{ mFALSE, 9, "Voice_SetClientListening" }, // Voice_SetClientListening
// Added for HL 1109 (no SDK update):
{ mFALSE, 9, "GetPlayerAuthId" }, // pfnGetPlayerAuthId
// Added 2003-11-10 (no SDK update):
{ mFALSE, 30, "SequenceGet" }, // pfnSequenceGet
{ mFALSE, 30, "SequencePickSentence" }, // pfnSequencePickSentence
{ mFALSE, 30, "GetFileSize" }, // pfnGetFileSize
{ mFALSE, 30, "GetApproxWavePlayLen" }, // pfnGetApproxWavePlayLen
{ mFALSE, 30, "IsCareerMatch" }, // pfnIsCareerMatch
{ mFALSE, 30, "GetLocalizedStringLength" }, // pfnGetLocalizedStringLength
{ mFALSE, 30, "RegisterTutorMessageShown" }, // pfnRegisterTutorMessageShown
{ mFALSE, 30, "GetTimesTutorMessageShown" }, // pfnGetTimesTutorMessageShown
{ mFALSE, 30, "ProcessTutorMessageDecayBuffer" }, // pfnProcessTutorMessageDecayBuffer
{ mFALSE, 30, "ConstructTutorMessageDecayBuffer" }, // pfnConstructTutorMessageDecayBuffer
{ mFALSE, 9, "ResetTutorMessageDecayData" }, // pfnResetTutorMessageDecayData
// Added 2005-08-11 (no SDK update)
{ mFALSE, 3, "QueryClientCvarValue" }, //pfnQueryClientCvarValue
// Added 2005-11-22 (no SDK update)
{ mFALSE, 3, "QueryClientCvarValue2" }, //pfnQueryClientCvarValue2
// end
{ mFALSE, 0, NULL },
};
Oops, something went wrong.

0 comments on commit ce9b53e

Please sign in to comment.
You can’t perform that action at this time.