Commit graph

28 commits

Author SHA1 Message Date
smallmodel
6fe1e86b31
Automatically scale UI elements for high resolutions
This fixes UI elements being tiny on high resolutions like 4K. Now most UI elements will scale automatically with resolutions above 1920x1080.
2024-11-30 22:40:00 +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
ec73268f94
Reorder methods 2024-11-09 19:21:24 +01:00
smallmodel
effbbd6c62
Support long subtitles 2024-11-05 01:14:21 +01:00
smallmodel
98fc0a8cb9
Fix the letterbox not correctly rendering
When a letterbox was active, it was covering the entire screen
2024-09-27 19:33:39 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
08e09c3b4c
Avoid setting variables with the same value
This prevents the console from being spammed with constant variable change when `developer` is set to 2
2024-09-18 20:55:02 +02:00
smallmodel
2f884e6d55
Call Key_GetCatcher/Key_SetCatcher instead of modifying the variable directly 2024-09-14 23:32:24 +02:00
smallmodel
a9b8cdce64
Only print the long word error in debug mode 2024-09-01 18:10:16 +02:00
smallmodel
14927df9fa
Moves MAX_SUBTITLES to `q_shared.h| 2024-07-02 19:03:27 +02:00
smallmodel
3a18c9f327
Fixed PrintJustified virtual parameter 2024-01-01 01:53:23 +01:00
smallmodel
5c3c3f8e70
Finished View3D implementation (implemented PrintSound, LocationPrint, DrawSubtitleOverlay, and CenterPrint) 2024-01-01 01:42:44 +01:00
smallmodel
3d3c99cd22
Formatted cl_uiview3d source files 2024-01-01 00:32:31 +01:00
smallmodel
fe04adee1d
Formatted source files 2023-12-30 17:36:01 +01:00
smallmodel
ca42a3e08e
Implemented View3D::DrawLetterbox, View3D::DrawFades, View3D::DrawSoundOverlay, View3D::ClearCenterPrint, View3D::UpdateCenterPrint, View3D::UpdateLocationPrint, View3D::LetterboxActive, View3D::InitSubtitle 2023-07-30 11:47:20 +02:00
OM
7b79877516 made renderer (original quake III) work with SDL 2023-05-27 22:23:03 +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
cf51e14cf5 Added FPS counter 2023-05-19 20:52:10 +02:00
OM
7064abc862 Added activation and mouse events for View3D 2023-05-16 19:03:10 +02:00
OM
93d6d00b4a Implemented View3D::FrameInitialized 2023-05-16 00:06:52 +02:00
OM
83a6f2a03f Implemented View3D's constructor 2023-05-15 20:11:41 +02:00
OM
dc96125c61 Implemented View3D::Draw2D 2023-05-15 17:27:31 +02:00
OM
3c16267738 Implemented View3D::Pressed 2023-05-10 20:56:26 +02:00
OM
195ed5872a Implemented View3D::OnActivate 2023-05-10 19:34:21 +02:00
L
7030c23994 Fixed compilation issues 2023-05-07 20:38:08 +02:00
mohabhassan
cb7ef4f98e Multiple/general imporvements. 2019-06-25 01:17:10 +02:00
Ley0k
09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00