diff --git a/engine/common/plugin.c b/engine/common/plugin.c index 35f61b838..c857bb2a4 100644 --- a/engine/common/plugin.c +++ b/engine/common/plugin.c @@ -102,6 +102,13 @@ cvar_t plug_loaddefault = {"plug_loaddefault", "1"}; #include "glquake.h" #endif +//custom plugin builtins. +typedef int (VARGS *Plug_Builtin_t)(void *offset, unsigned int mask, const long *arg); +#define PLUG_BIF_DLLONLY 1 +#define PLUG_BIF_QVMONLY 2 + +void Plug_RegisterBuiltin(char *name, Plug_Builtin_t bi, int flags); + #include "netinc.h" typedef struct plugin_s { @@ -138,12 +145,6 @@ void Plug_Client_Close(plugin_t *plug) {} #endif -//custom plugin builtins. -typedef int (VARGS *Plug_Builtin_t)(void *offset, unsigned int mask, const long *arg); -void Plug_RegisterBuiltin(char *name, Plug_Builtin_t bi, int flags); -#define PLUG_BIF_DLLONLY 1 -#define PLUG_BIF_QVMONLY 2 - void Plug_Init(void); void Plug_Close(plugin_t *plug);