diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-05-18 14:37:21 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-05-18 14:37:21 +0000 |
commit | cb43ed08c3cf6410fe4ce22dac3d07952db92893 (patch) | |
tree | 0b2b2790941743db47913cdf06b819c36b89e161 /source/ui_local.h | |
parent | 179f701f7aec100ac1228fc02778fc4af47b75f0 (diff) |
Accept `all' as special argument to `delstuffcmd' command.
Cleaned up Cvar_Get and fixed semantic bug.
Accept `background keyword in menu scripts.
Renamed `gl_fastsky' to `gl_drawsky'.
If at least one of the sky env maps fails lo load, disable entire sky drawing.
Reworked loading screen.
Fixed Com_Quit argument string handling.
Catch more signals on *nix.
Updated server docs.
Diffstat (limited to 'source/ui_local.h')
-rw-r--r-- | source/ui_local.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/ui_local.h b/source/ui_local.h index 65b85e2..859c018 100644 --- a/source/ui_local.h +++ b/source/ui_local.h @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "com_local.h" #include "q_list.h" #include "q_field.h" -#include "q_uis.h" #include "ref_public.h" #include "key_public.h" #include "snd_public.h" @@ -93,6 +92,10 @@ typedef struct menuFrameWork_s { qboolean transparent; qboolean keywait; + qhandle_t image; + color_t color; + int y1, y2; + qboolean (*push)( struct menuFrameWork_s * ); void (*pop)( struct menuFrameWork_s * ); void (*expose)( struct menuFrameWork_s * ); @@ -280,6 +283,8 @@ void UI_DrawLoading( int realtime ); void UI_SetupDefaultBanner( menuStatic_t *banner, const char *name ); void UI_DrawString( int x, int y, const color_t color, int flags, const char *string ); void UI_DrawChar( int x, int y, int flags, int ch ); +void UI_DrawRect( const vrect_t *rect, int border, int color ); +void UI_DrawRectEx( const vrect_t *rect, int border, const color_t color ); void UI_StringDimensions( vrect_t *rc, int flags, const char *string ); void UI_LoadStript( void ); |