mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Developer feature: This is great for when in windowed mode eg development and your mouse is leaving the game window all the time to go to VS or another game instance on your desktop. (by haydent)
o this just means the screen stays put and not scrolling around like mad o also the way it is coded, if the setting isnt there in the ini it just acts like usual. o this also requires matching setting in Ja2.ini ;****************************************************************************************************************************** ; Enable/Disable Mouse Scrolling of tactical view ;****************************************************************************************************************************** DISABLE_MOUSE_SCROLLING = 1 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5602 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3654,6 +3654,10 @@ void ScrollWorld( )
|
||||
}
|
||||
|
||||
|
||||
//hayden - disable mouse scrolling for window dev ease
|
||||
if(iDisableMouseScrolling)break;
|
||||
|
||||
|
||||
// Do mouse - PUT INTO A TIMER!
|
||||
// Put a counter on starting from mouse, if we have not started already!
|
||||
if ( !gfScrollInertia && gfScrollPending == FALSE )
|
||||
|
||||
Reference in New Issue
Block a user