Added some comments to benefit all mankind :o

This commit is contained in:
Scott Ehlert 2006-05-10 12:35:21 +00:00
parent 4e1123730c
commit b2aff10e46
2 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,8 @@ enum {
EngFunc_SetKeyValue, // void ) (char *infobuffer, char *key, char *value);
EngFunc_SetClientKeyValue, // void ) (int clientIndex, char *infobuffer, char *key, char *value);
EngFunc_CreateInstBaseline, // int ) (int classname, struct entity_state_s *baseline);
// Returns pointer to info buffer that can be used with the infobuffer param of InfoKeyValue, SetKeyValue, and SetClientKeyValue
EngFunc_GetInfoKeyBuffer // char*) (edict_t *e);
};

View File

@ -185,6 +185,9 @@ stock EF_SetClientKeyValue(const ID, const INFOBUFFER, const KEY[], const VALUE[
stock EF_CreateInstBaseline(CLASSNAME, baseline)
return engfunc(EngFunc_CreateInstBaseline, CLASSNAME, baseline)
// Returns pointer to info buffer that can be used with the INFOBUFFER param
// of EF_InfoKeyValue, EF_SetKeyValue, and EF_SetClientKeyValue
stock EF_GetInfoKeyBuffer(const ENTITY)
return engfunc(EngFunc_GetInfoKeyBuffer, ENTITY)