From 0bd55fbf794d11385bcc64b01b81e8e478295bad Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 5 May 2008 21:18:52 +0000 Subject: Brought SDL window resizing policy in compliance to ICCCM. Renamed `vid_placement' cvar to `vid_geometry'. Load *.pkz files by default. Do not allow backed-up quake paths at all. Apply `--enable-dsound' and `--enable-dinput' options to Unix too. Replaced `s_driver' and `in_driver' cvars with `s_direct' and `in_direct'. Renamed `s_initsound' cva to `s_enable'. Improved SDL input grabs handling in windowed mode. Allow `cl_noskins' to be dynamically changed. Run client at 10 fps if minimuzed, at 60 fps if not active (client is disconnected or in background). Fixed Sys_ExecDefault. Use absolute mouse positioning for UI. Hide custom UI cursor in windowed mode. --- source/ui_public.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/ui_public.h') diff --git a/source/ui_public.h b/source/ui_public.h index 2a6f00c..3deb45e 100644 --- a/source/ui_public.h +++ b/source/ui_public.h @@ -34,7 +34,7 @@ typedef struct uiAPI_s { void (*Draw)( int realtime ); void (*DrawLoading)( int realtime ); - void (*MouseMove)( int dx, int dy ); + void (*MouseEvent)( int x, int y ); void (*Keydown)( int key ); void (*CharEvent)( int key ); void (*OpenMenu)( uiMenu_t menu ); @@ -54,7 +54,7 @@ void UI_Draw( int realtime ); void UI_OpenMenu( uiMenu_t menu ); void UI_ErrorMenu( comErrorType_t type, const char *text ); void UI_AddToServerList( const serverStatus_t *status ); -void UI_MouseMove( int dx, int dy ); +void UI_MouseEvent( int x, int y ); qboolean UI_IsTransparent( void ); void UI_DrawLoading( int realtime ); -- cgit v1.2.3