From 8575c9a637ed4377c211b9d9b41baebc821b9216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Tue, 31 Aug 2004 16:43:58 +0000 Subject: [PATCH] Added some description. hopefully they are right :-) --- plugins/include/fakemeta_const.inc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/include/fakemeta_const.inc b/plugins/include/fakemeta_const.inc index 17069359..cf0fd3b3 100755 --- a/plugins/include/fakemeta_const.inc +++ b/plugins/include/fakemeta_const.inc @@ -12,14 +12,17 @@ #define FMV_CELL 3 -// The actual return value of the function +/* The actual return value of the function, use these instead of PLUGIN_HANDLED etc when + * returning from registered forwards. + */ #define FMRES_HANDLED 2 #define FMRES_SUPERCEDE 4 #define FMRES_IGNORED 1 #define FMRES_OVERRIDE 3 - +/* Used with engfunc() + */ enum { EngFunc_PrecacheModel, // int ) (char* s); EngFunc_PrecacheSound, // int ) (char* s); @@ -99,6 +102,8 @@ enum { EngFunc_SetClientKeyValue // void ) (int clientIndex, char *infobuffer, char *key, char *value); }; +/* Used with dllfunc() + */ enum { DLLFunc_GameInit, // void) ( void ); @@ -291,6 +296,9 @@ enum { pev_punchangle, pev_vecarray_end }; + +/* Used with register_forward() + */ enum { FM_PrecacheModel = 1, // done FM_PrecacheSound, // done