Oh goodness, let the bugs begin...

1) New hookable GameDLL funcs: UpdateClientData, AddToFullPack, CmdStart, CmdEnd (at28754)
2) New GameDLL funcs that can be called via dllfunc: UpdateClientData, AddToFullPack, CmdStart, CmdEnd
3) New natives to read/write special data structures associated with the above GameDLL funcs:
   get/set_cd (ClientData), get/set_es (EntityState), get/set_uc (UserCmd)
This commit is contained in:
Scott Ehlert
2006-04-30 07:37:31 +00:00
parent 7883710bf6
commit de33bb6a1d
3 changed files with 206 additions and 5 deletions

View File

@ -155,7 +155,7 @@ stock EF_PrecacheEvent(type, const STRING[])
return engfunc(EngFunc_PrecacheEvent, type, STRING)
stock EF_PlaybackEvent(flags, const INVOKER, eventindex, Float:delay, Float:origin[3], Float:angles[3], Float:fparam1, Float:fparam2, iparam1, iparam2, bparam1, bparam2)
return engfunc(EngFunc_PlaybackEvent, flags, INVOKER, eventindex, delay, origin, angles, fparam1, fparam2, iparam1, iparam2, bparam1, bparam2)
stock EF_CheckVisibility(const ENTITY, set[])
stock EF_CheckVisibility(const ENTITY, set)
return engfunc(EngFunc_CheckVisibility, ENTITY, set)
stock EF_GetCurrentPlayer()
@ -248,4 +248,14 @@ stock DF_pfnAllowLagCompensation()
stock DF_MetaFunc_CallGameEntity(const STRING[], const ENTITY)
return dllfunc(MetaFunc_CallGameEntity, STRING, ENTITY)
stock DF_ClientUserInfoChanged(const IDPLAYER)
return dllfunc(DLLFunc_ClientUserInfoChanged, IDPLAYER)
return dllfunc(DLLFunc_ClientUserInfoChanged, IDPLAYER)
stock DF_UpdateClientData(const ENTITY, sendweapons, const cd = 0)
return dllfunc(DLLFunc_UpdateClientData, ENTITY, sendweapons, cd)
stock DF_AddToFullPack(state = 0, e, ENT, HOST, hostflags, player, set)
return dllfunc(state, e, ENT, HOST, hostflags, player, set)
stock DF_CmdStart(const PLAYER, const CMD = 0, randomSeed)
return dllfunc(PLAYER, CMD, randomSeed)
stock DF_CmdEnd(const PLAYER)
return dllfunc(PLAYER)