aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-09 13:20:00 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-09 13:20:00 +0000
commit2dd6f14b027fece75b79673a23a8b1b8f6793c1e (patch)
tree6ac8b7a5a70836aaded9125389c4f538ff8969f2 /code/sys
parent29ed69737c5b5719649d1988217f6bbeb565de1a (diff)
downloadioquake3-aero-2dd6f14b027fece75b79673a23a8b1b8f6793c1e.tar.gz
ioquake3-aero-2dd6f14b027fece75b79673a23a8b1b8f6793c1e.zip
* Always show the mouse cursor when the mouse is disabled
* Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick * Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time * Call IN_Restart when changing r_fullscreen * Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use * Random README tweaks git-svn-id: svn://svn.icculus.org/quake3/trunk@1441 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sys')
-rw-r--r--code/sys/sys_local.h1
-rw-r--r--code/sys/sys_main.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/code/sys/sys_local.h b/code/sys/sys_local.h
index 353d360..a114c79 100644
--- a/code/sys/sys_local.h
+++ b/code/sys/sys_local.h
@@ -32,6 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
void IN_Init( void );
void IN_Frame( void );
void IN_Shutdown( void );
+void IN_Restart( void );
// Console
void CON_Shutdown( void );
diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c
index 483d3f8..be9e2f0 100644
--- a/code/sys/sys_main.c
+++ b/code/sys/sys_main.c
@@ -112,8 +112,7 @@ Restart the input subsystem
*/
void Sys_In_Restart_f( void )
{
- IN_Shutdown();
- IN_Init();
+ IN_Restart( );
}
/*