From 65bcf419d4b612b7d626447924fa0fe2079c18c2 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 18 Jun 2015 14:21:05 +0200 Subject: implement support for creating cgame&ui modules using the 1.1 interfaces --- src/cgame/cg_public.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/cgame/cg_public.h') diff --git a/src/cgame/cg_public.h b/src/cgame/cg_public.h index c7b1931b..1d1c34b9 100644 --- a/src/cgame/cg_public.h +++ b/src/cgame/cg_public.h @@ -120,7 +120,9 @@ typedef enum CG_R_ADDLIGHTTOSCENE, CG_R_RENDERSCENE, CG_R_SETCOLOR, +#ifndef MODULE_INTERFACE_11 CG_R_SETCLIPREGION, +#endif CG_R_DRAWSTRETCHPIC, CG_R_MODELBOUNDS, CG_R_LERPTAG, @@ -139,6 +141,13 @@ typedef enum CG_KEY_GETCATCHER, CG_KEY_SETCATCHER, CG_KEY_GETKEY, +#ifdef MODULE_INTERFACE_11 + CG_PARSE_ADD_GLOBAL_DEFINE, + CG_PARSE_LOAD_SOURCE, + CG_PARSE_FREE_SOURCE, + CG_PARSE_READ_TOKEN, + CG_PARSE_SOURCE_FILE_AND_LINE, +#endif CG_S_STOPBACKGROUNDTRACK, CG_REAL_TIME, CG_SNAPVECTOR, @@ -173,6 +182,7 @@ typedef enum CG_KEY_GETBINDINGBUF, CG_KEY_SETBINDING, +#ifndef MODULE_INTERFACE_11 CG_PARSE_ADD_GLOBAL_DEFINE, CG_PARSE_LOAD_SOURCE, CG_PARSE_FREE_SOURCE, @@ -183,6 +193,7 @@ typedef enum CG_KEY_GETOVERSTRIKEMODE, CG_S_SOUNDDURATION, +#endif CG_MEMSET = 200, CG_MEMCPY, -- cgit