Commit Graph
35 Commits
Author SHA1 Message Date
smallmodel a924fc252b Use the hardware cursor in windowed mode (#718)
In windowed mode, the mouse is no longer grabbed when one of the UI/console catcher is active. When a UI menu is active, the system's hardware cursor is shown, using the game's custom cursor texture, instead of simulating and rendering the cursor in-game.

* Add exports to load a raw image from the renderer
* Set the hardware cursor to the game's custom mouse cursor texture
* When mouse is not grabbed, the mouse gets updated with absolute mouse position, relative to the window position
2025-05-02 16:52:39 +02:00
smallmodel 02fc573e31 Apply client and server config tweaks when loading the original config 2025-01-21 22:56:05 +01:00
smallmodel 6f686cb7fa Check if the renderer is loaded instead of checking if it's registered 2024-12-06 00:45:18 +01:00
smallmodel 28bdd1b2b3 Made the renderer modular and loadable
This removes coupling between the renderer and UI/client functions. An option USE_RENDERER_DLOPEN was added to specify whether a renderer module should be compiled and loaded, instead of integrating the renderer into the executable directly. This opens the door for a new renderer
2024-12-06 00:15:19 +01:00
smallmodel 1ef1bad9ae Add network profiling tool from Spearhead and Breakthrough
Profiling can be enabled with `cl_netprofile` and `sv_netprofile`, the overlay can be shown using `cl_netprofileoverlay` and `sv_netprofileoverlay` and the server can dump network profile using the `netprofiledump` command
2024-11-09 21:38:16 +01:00
smallmodel 8f355fe188 Add Voip code from ioq3 2024-09-22 16:50:44 +02:00
smallmodel dbd10a281b call CL_ShutdownInput() 2024-09-22 16:39:30 +02:00
smallmodel b4e0120428 Using ioquake3 code for IPv6 support and network fixes 2023-12-30 23:03:49 +01:00
smallmodel 02db904336 Made CG_SaveStateToBuffer and CG_LoadStateToBuffer use a size_t 2023-09-05 20:31:24 +02:00
smallmodel 394abbdb6f Fixed IPv6 not working with connect command 2023-08-30 19:36:17 +02:00
smallmodel 4f8dc5dc2a Added radar variables 2023-08-15 22:47:11 +02:00
smallmodel e6448697d3 Let cg cleanup temp models
Fixed server restart
2023-08-13 23:20:51 +02:00
OM 6134b150c1 ioq3 files backport 2023-06-25 20:26:47 +02:00
OM e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
OM 518b2abf0a Improved mouse sensitivity 2023-05-29 21:17:53 +02:00
OM 92a5883243 Networking fixes 2023-05-28 21:36:09 +02:00
OM 3d223f5a5d Updates 2023-05-27 15:36:19 +02:00
OM dc45c33c79 ioq3 updates 2023-05-26 20:53:00 +02:00
OM 41fc217a06 ioq3 changes 2023-05-24 19:40:02 +02:00
OM e23ce01d19 Added getKey/authorizeThis 2023-05-21 21:21:07 +02:00
OM 7085d60d02 Added Team Tactics features 2023-05-21 19:58:43 +02:00
OM 1b1433dd1b Removed useless cgame fields 2023-05-20 01:00:08 +02:00
OM cf51e14cf5 Added FPS counter 2023-05-19 20:52:10 +02:00
OM 7b0132f2fb Fixed user eyes 2023-05-16 18:59:56 +02:00
OM dc96125c61 Implemented View3D::Draw2D 2023-05-15 17:27:31 +02:00
OM 08cf0462dc CL_MapLoading refactor + added connectStartTime 2023-05-10 00:52:29 +02:00
OM 797ae47b46 Renderer fixes 2023-05-09 21:58:24 +02:00
L 53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00
L 5a87b21efc Fixed all compilation errors 2023-05-08 00:02:31 +02:00
L 72f090b289 Fixed openmohaa.exe compilation (only 102 linker errors) 2023-05-07 21:28:54 +02:00
L bb33f7fbcd Moved MAX_HUDDRAW_ELEMENTS to q_shared.h 2023-05-01 15:15:13 +02:00
L 1cf4076be1 Added MAX_HUDDRAW_ELEMENTS 2023-04-30 00:05:07 +02:00
mohabhassan cb7ef4f98e Multiple/general imporvements. 2019-06-25 01:17:10 +02:00
Ley0k 85b7ac3ed5 Using size_t for lengths (also remove most warnings when compiling for x64) 2017-02-19 21:14:27 +01:00
Ley0k 09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00