summaryrefslogtreecommitdiff
path: root/src/ui/ui_public.h
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-04-09 18:30:35 +0100
committerIronClawTrem <louie.nutman@gmail.com>2020-04-09 18:31:16 +0100
commitf324890e9715490c909ca6123948f4157401324c (patch)
tree9db453bd1cf86ea2a5751dadd073c003635f9f3e /src/ui/ui_public.h
parentc378d3fb9f7f443ee6a6f78f490f2bc203aba5ea (diff)
multiprotocol: gamelogic code for 1.1
Diffstat (limited to 'src/ui/ui_public.h')
-rw-r--r--src/ui/ui_public.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/src/ui/ui_public.h b/src/ui/ui_public.h
index a70746b..364adcf 100644
--- a/src/ui/ui_public.h
+++ b/src/ui/ui_public.h
@@ -65,6 +65,9 @@ typedef enum {
UI_R_ADDLIGHTTOSCENE,
UI_R_RENDERSCENE,
UI_R_SETCOLOR,
+#ifndef MODULE_INTERFACE_11
+ UI_R_SETCLIPREGION,
+#endif
UI_R_DRAWSTRETCHPIC,
UI_UPDATESCREEN,
UI_CM_LERPTAG,
@@ -93,11 +96,13 @@ typedef enum {
UI_MEMORY_REMAINING,
UI_R_REGISTERFONT,
UI_R_MODELBOUNDS,
+#ifdef MODULE_INTERFACE_11
UI_PARSE_ADD_GLOBAL_DEFINE,
UI_PARSE_LOAD_SOURCE,
UI_PARSE_FREE_SOURCE,
UI_PARSE_READ_TOKEN,
UI_PARSE_SOURCE_FILE_AND_LINE,
+#endif
UI_S_STOPBACKGROUNDTRACK,
UI_S_STARTBACKGROUNDTRACK,
UI_REAL_TIME,
@@ -125,6 +130,15 @@ typedef enum {
UI_FS_SEEK,
UI_SET_PBCLSTATUS,
+#ifndef MODULE_INTERFACE_11
+ UI_PARSE_ADD_GLOBAL_DEFINE,
+ UI_PARSE_LOAD_SOURCE,
+ UI_PARSE_FREE_SOURCE,
+ UI_PARSE_READ_TOKEN,
+ UI_PARSE_SOURCE_FILE_AND_LINE,
+ UI_GETNEWS,
+#endif
+
UI_MEMSET = 100,
UI_MEMCPY,
UI_STRNCPY,
@@ -171,6 +185,14 @@ typedef enum
UI_MOUSE_EVENT,
// void UI_MouseEvent( int dx, int dy );
+#ifndef MODULE_INTERFACE_11
+ UI_MOUSE_POSITION,
+// int UI_MousePosition( void );
+
+ UI_SET_MOUSE_POSITION,
+// void UI_SetMousePosition( int x, int y );
+#endif
+
UI_REFRESH,
// void UI_Refresh( int time );
@@ -189,12 +211,6 @@ typedef enum
// if !overlay, the background will be drawn, otherwise it will be
// overlayed over whatever the cgame has drawn.
// a GetClientState syscall will be made to get the current strings
-
- UI_MOUSE_POSITION,
- // int UI_MousePosition( void );
-
- UI_SET_MOUSE_POSITION
- // void UI_SetMousePosition( int x, int y );
}
uiExport_t;