More bugs?

1) FM_CreateInstancedBaselines has been renamed to FM_CreateInstBaselines
2) DLLFunc_CreateInstancedBaseline has been renamed to DLLFunc_CreateInstBaselines
(I'd be extremely surprised if someone complained about the above 2 changes)
3) New hookable GameDLL func: FM_CreateBaseline
4) New hookable Engine func: FM_CreateInstBaseline
5) New GameDLL func that can be called via dllfunc: CreateBaseline
6) New GameDLL func that can be called via engfunc: CreateInstancedBaseline
7) Added some comments to each member of various enums that correspond to special structs in the engine and/or game dll
This commit is contained in:
Scott Ehlert
2006-05-05 08:07:31 +00:00
parent ed19c53552
commit 21ffd88bdd
2 changed files with 160 additions and 142 deletions

View File

@ -183,6 +183,9 @@ stock EF_SetKeyValue(const BUFFER[], const KEY[], const VALUE[])
stock EF_SetClientKeyValue(const ID, const KEY[], const VALUE[])
return engfunc(EngFunc_SetClientKeyValue, ID, KEY, VALUE)
stock EF_CreateInstBaseline(CLASSNAME, baseline)
return engfunc(EngFunc_CreateInstBaseline, CLASSNAME, baseline)
// DLLFuncs
stock DF_GameInit()
return dllfunc(DLLFunc_GameInit)
@ -190,10 +193,10 @@ stock DF_Spawn(const ENTITY)
return dllfunc(DLLFunc_Spawn, ENTITY)
stock DF_Think(const ENTITY)
return dllfunc(DLLFunc_Think, ENTITY)
stock DF_Use(const ENT_Used, const ENT_Other)
return dllfunc(DLLFunc_Use, ENT_Used, ENT_Other)
stock DF_Touch(const ENT_Touched, const ENT_Other)
return dllfunc(DLLFunc_Touch, ENT_Touched, ENT_Other)
stock DF_Use(const ENT_Used, const ENT_User)
return dllfunc(DLLFunc_Use, ENT_Used, ENT_User)
stock DF_Touch(const ENT_Touched, const ENT_Toucher)
return dllfunc(DLLFunc_Touch, ENT_Touched, ENT_Toucher)
stock DF_Blocked(const ENT_Blocked, const ENT_Other)
return dllfunc(DLLFunc_Blocked, ENT_Blocked, ENT_Other)
@ -241,8 +244,8 @@ stock DF_RegisterEncoders()
stock DF_GetHullBounds(hullnumber, Float:mins[3], Float:maxs[3])
return dllfunc(DLLFunc_GetHullBounds, hullnumber, mins, maxs)
stock DF_CreateInstancedBaseline()
return dllfunc(DLLFunc_CreateInstancedBaseline)
stock DF_CreateInstBaselines()
return dllfunc(DLLFunc_CreateInstBaselines)
stock DF_pfnAllowLagCompensation()
return dllfunc(DLLFunc_pfnAllowLagCompensation)
stock DF_MetaFunc_CallGameEntity(const STRING[], const ENTITY)
@ -258,4 +261,5 @@ stock DF_CmdStart(const PLAYER, const CMD = 0, randomSeed)
return dllfunc(PLAYER, CMD, randomSeed)
stock DF_CmdEnd(const PLAYER)
return dllfunc(PLAYER)
stock DF_CreateBaseline(PLAYER, eIndex, baseline, playerModelIndex, Float:playerMins[3], Float:playerMaxs[3])
return dllfunc(DLLFunc_CreateBaseline, PLAYER, eIndex, baseline, playerModelIndex, playerMins, playerMaxs)