dhewm3/neo/tools
Daniel Gibson ae63021d00 Add absolute mouse mode and refactor mouse grabbing code
There were lots of places in the code that called Sys_GrabInput(),
some of them each frame.
Most of this is unified in events.cpp now, in handleMouseGrab() which
is called once per frame by Sys_GenerateEvents() - this makes reasoning
about when the mouse is grabbed and when not a lot easier.
Sys_GrabInput(false) still is called in a few places, before operations
that tend to take long (like loading a map or vid_restart), but
(hopefully) not regularly anymore.

The other big change is that the game now uses SDLs absolute mouse mode
for fullscreen menus (except the PDA which is an ugly hack), so the
ingame cursor is at the same position as the system cursor, which
especially helps when debugging with `in_nograb 1` and should also help
if someone wants to integrate an additional GUI toolkit like Dear ImGui.
2022-01-10 00:46:32 +01:00
..
af Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
comafx Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
common debugger 2021-06-17 05:44:23 +02:00
compilers Fix misleading indentation in roq codec.cpp 2022-01-08 16:59:10 +01:00
debugger Shorten file path in backtraces 2022-01-08 17:02:24 +01:00
decl Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
guied Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
Help hello world 2011-11-22 15:28:15 -06:00
materialeditor Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
particle Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
pda Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
radiant Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
script Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
sound Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
edit_gui_common.h Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
edit_public.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
edit_stub.cpp - Debuggersever now always builds, but is disabled by default in runtime. 2021-06-17 05:44:23 +02:00