dhewm3/neo/framework
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
..
async Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
minizip A little change to minizips ioapi.h for OpenBSD 2018-11-23 00:20:02 +01:00
BuildDefines.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
BuildVersion.h Fix savegame-compatibility of scripts, increase BUILD_NUMBER 2021-02-21 06:05:47 +01:00
CmdSystem.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CmdSystem.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Common.cpp Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
Common.h - Moved debugger intialistion after GameDll load 2021-07-03 01:14:49 +02:00
Compressor.cpp Use int instead of long in idCompressor_Arithmetic methods 2012-06-28 13:02:46 +02:00
Compressor.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Console.cpp Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
Console.h Make console history persistent 2012-11-13 23:21:38 +01:00
CVarSystem.cpp debugger 2021-06-17 05:44:23 +02:00
CVarSystem.h MSVC: Treat pointer truncation warnings as errors, adjust idCVar for that 2021-05-08 05:54:42 +02:00
DeclAF.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2015-02-25 22:01:00 +01:00
DeclAF.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclManager.cpp Fix "Save as" in Particle Editor 2021-05-08 21:05:56 +02:00
DeclManager.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoChecksum.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DemoFile.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoFile.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EditField.cpp Add explicit support for Right Ctrl and Right Shift keys, #323 2021-07-15 07:00:18 +02:00
EditField.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
File.cpp Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
File.h Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
FileSystem.cpp Fix script debugging when server is running on Linux 2021-06-19 21:30:26 +02:00
FileSystem.h Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
Game.h - Unbreaking Game and GameEdit API / ABI for game debugger use 2021-06-28 23:38:38 +02:00
GameCallbacks_local.h rev feedback v1. 2021-07-01 01:09:15 +02:00
KeyInput.cpp Add explicit support for Right Ctrl and Right Shift keys, #323 2021-07-15 07:00:18 +02:00
KeyInput.h Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
Licensee.h Update ENGINE_VERSION to 1.5.2pre 2021-04-08 04:13:08 +02:00
Session.cpp Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
Session.h Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
Session_local.h Use more than one QuickSave file, #392 2021-07-03 02:25:20 +02:00
Session_menu.cpp When saving a game via menu, select and show new savegame 2021-07-03 02:25:20 +02:00
Unzip.h Use updated minizip version for unzip 2013-06-12 00:07:09 +02:00
UsercmdGen.cpp s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
UsercmdGen.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00