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
861338b0fc
Add support for smaller lightmaps
...
Large lightmap can be disabled for very low-end hardware. A BSP file with a smaller lightmap (_sml.bsp) will be used instead of the standard one if the map supports it
2024-12-02 20:36:45 +01:00
smallmodel
4f699f3b58
Add support to compile renderergl2 (currently unimplemented)
2024-12-01 19:21:07 +01:00
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
47983481c9
Use UI definitions instead of cls.glconfig for UI code to get the resolution
2024-11-30 13:54:50 +01:00
smallmodel
e2f4d8cd6b
Use explicit constants when checking g_gametype
2024-11-22 19:44:53 +01:00
smallmodel
d83374d38c
Set the default compass scale to 0.5 for the base game
2024-11-19 19:44:55 +01:00
smallmodel
05e14f6364
Adjust the objectives menu accordingly depending on the game message box which depends on the compass scale
2024-11-19 19:41:46 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
...
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED
2024-11-11 20:36:03 +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
b97c47ab32
Cast to clock_t before left-shift
2024-11-03 18:40:18 +01:00
smallmodel
9042ea320c
Refactor UI_RegisterLoadResource
2024-11-03 18:38:12 +01:00
smallmodel
98e725ef7b
Fix EV_StatsUpdater_UpdateStats missing parameter declaration
2024-11-03 18:28:00 +01:00
smallmodel
05b2d3529e
Implement UI_EndLoadResource
2024-11-03 18:27:41 +01:00
smallmodel
a3050f6c64
Avoid using too much performance to update the loading screen, especially on low-end PCs
2024-10-10 19:48:23 +02:00
smallmodel
8f355fe188
Add Voip code from ioq3
2024-09-22 16:50:44 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
f055162ac0
Adjust the quick message DM console rectangle to avoid seeing characters
2024-09-19 19:46:27 +02:00
smallmodel
8fc6b6e3c3
Correctly handle quick message and message mode for the chat window
...
This fixes the chat window not being put in quick message mode at all when intended, now it also correctly handle team/private message modes
2024-09-18 22:14:16 +02:00
smallmodel
539688dd3d
Reduced the delay to 33 ms (30 fps) to update the loading bar
...
This makes the loading bar smoother
2024-09-18 20:56:13 +02:00
smallmodel
a6377fedab
Remove useless code
2024-09-14 23:36:19 +02:00
smallmodel
2f884e6d55
Call Key_GetCatcher/Key_SetCatcher instead of modifying the variable directly
2024-09-14 23:32:24 +02:00
smallmodel
9f48dabaec
Play the game's intro when starting
2024-09-14 22:59:27 +02:00
smallmodel
77d48cb104
Don't call UI_ClearBackground in cinematic mode
2024-09-13 22:58:37 +02:00
smallmodel
a25200741a
Finis the loading screen if it's the default
2024-09-13 22:23:53 +02:00
smallmodel
690a7a7557
Format cl_ui file
2024-09-13 21:36:23 +02:00
smallmodel
fb875501f0
Fix UI library forcing latched variables
...
This caused issues when setting render variables
2024-09-01 23:34:57 +02:00
smallmodel
016e062fef
Fix UIReggedMaterial::ReregisterMaterial and UIReggedMaterial::GetMaterial
...
ReregisterMaterial() must register the material if it was registered before, and GetMaterial() must register the material if it hasn't been registered and return it
2024-07-24 21:10:46 +02:00
smallmodel
757b4849f8
Add a fix to load the music from save
...
This commit implements code to get/set sample offset in an OpenAL channel and saves the music filename/offset into the file. This only works by using the experimental sound system, so it partially fixes #327
2024-07-22 20:13:03 +02:00
smallmodel
8bd377ce85
Fix the save system taking a screenshot of the whole UI menu instead of just the 3D view
...
This fixes #328 where the save would have a screenshot of the save menu
2024-07-22 19:00:50 +02:00
smallmodel
42c0605abf
Fixed game message printing possible random characters if the string is empty
2024-01-28 23:33:59 +01:00
smallmodel
840501c8dd
Fixed waffenss skin name
2024-01-23 00:04:41 +01:00
smallmodel
46e7f29820
Fixed dialog bad cancel command
2023-12-31 23:43:05 +01:00
smallmodel
aca23fc62f
Fixed call vote button not working
2023-12-31 01:01:38 +01:00
smallmodel
06678a8b0a
Added UI_MultiplayerMainMenuWidgetsUpdate from mohaas/mohaab
2023-12-31 00:38:22 +01:00
smallmodel
db1013d926
Use clc.connectStartTime instead of clc.connectTime
2023-12-30 22:59:57 +01:00
smallmodel
115647a8c0
Use ApplyPlayerModel/GetPlayerModel from mohaab 2.40
2023-12-30 17:23:30 +01:00
smallmodel
ae0a2238da
Set mouse position with player model
2023-12-30 16:55:06 +01:00
smallmodel
c299ad92aa
Improver UI_DMMapSelect_f for SH/BT
2023-12-29 22:06:49 +01:00
smallmodel
c58e6d58b4
Filter "_sml" maps for maplist
2023-12-29 20:05:36 +01:00
smallmodel
fae261d7da
UI game message fix
2023-12-27 15:43:28 +01:00
smallmodel
bc54f22639
Crosshair is now handled by the cgame module
2023-11-07 22:44:13 +01:00
smallmodel
260876b1a2
Always print messages to console regardless of whether or not it's a game message / death message
2023-11-04 00:23:49 +01:00
smallmodel
e4fc074f09
Formatted cl_ui source files
2023-11-04 00:22:35 +01:00
smallmodel
6274d9a1e9
Added UI_StartLocalSoundDialog, UI_FadeSound and UI_StopAll imports
2023-10-02 21:11:32 +02:00
smallmodel
5799bcceb2
Fixed buffer overflow for szBlah
2023-10-02 00:07:54 +02:00
smallmodel
99d633587f
Renamed S_StopAllSounds to S_StopAllSounds2
2023-09-05 20:17:38 +02:00
smallmodel
f67ab4ec7f
Fixed HUD being hidden when in camera (like MG42)
2023-08-27 18:56:37 +02:00
smallmodel
0fea47bb69
Added Draw_StretchPic2
2023-08-15 22:44:37 +02:00