summaryrefslogtreecommitdiff
path: root/src/cgame/cg_public.h
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-06-18 14:21:05 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:17 +0100
commit65bcf419d4b612b7d626447924fa0fe2079c18c2 (patch)
tree087353aa52c9816209ca983de5ae5cd87d21e82b /src/cgame/cg_public.h
parentb6e36560b0c06db62fbe6040a657d3f8dcab3dcd (diff)
implement support for creating cgame&ui modules using the 1.1 interfaces
Diffstat (limited to 'src/cgame/cg_public.h')
-rw-r--r--src/cgame/cg_public.h11
1 files changed, 11 insertions, 0 deletions
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,