diff options
Diffstat (limited to 'src/ui/ui_public.h')
-rw-r--r-- | src/ui/ui_public.h | 28 |
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; |