]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - in_win.c
split render portion of entity_t struct into entity_render_t
[xonotic/darkplaces.git] / in_win.c
index 37397b6988735145216f44e162f0ca87301c315b..3114a90882dbe70bdcbd9e4b79a658ec84a9fb2a 100644 (file)
--- a/in_win.c
+++ b/in_win.c
@@ -46,7 +46,7 @@ unsigned int uiWheelMessage;
 qboolean       mouseactive;
 qboolean               mouseinitialized;
 static qboolean        mouseparmsvalid, mouseactivatetoggle;
-//static qboolean      mouseshowtoggle = 1;
+static qboolean        mouseshowtoggle = 1;
 static qboolean        dinput_acquired;
 
 static unsigned int            mstate_di;
@@ -188,11 +188,11 @@ IN_ShowMouse
 */
 void IN_ShowMouse (void)
 {
-//     if (!mouseshowtoggle)
-//     {
+       if (!mouseshowtoggle)
+       {
                ShowCursor (true);
-//             mouseshowtoggle = 1;
-//     }
+               mouseshowtoggle = 1;
+       }
 }
 
 
@@ -203,11 +203,11 @@ IN_HideMouse
 */
 void IN_HideMouse (void)
 {
-//     if (mouseshowtoggle)
-//     {
+       if (mouseshowtoggle)
+       {
                ShowCursor (false);
-//             mouseshowtoggle = 0;
-//     }
+               mouseshowtoggle = 0;
+       }
 }