Commit graph

88 commits

Author SHA1 Message Date
smallmodel
02fc573e31
Apply client and server config tweaks when loading the original config 2025-01-21 22:56:05 +01:00
smallmodel
7b53e25dd5
Set the default rate to 25000 (xDSL) 2025-01-21 22:08:54 +01:00
smallmodel
1919b0efcb
Fix Cvar_SetValue not set for ref imports 2024-12-20 23:11:37 +01:00
smallmodel
79643d963e
Correctly parse the name of the players returned by the serverstatus command 2024-12-15 21:32:23 +01:00
smallmodel
20c1fab815
Don't set the frame number if the renderer function doesn't exist 2024-12-14 22:13:11 +01:00
smallmodel
b58f031bcc
Remove unused cg variables
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2024-12-08 20:09:23 +01:00
smallmodel
333c452f44
Sanitize the name with a maximum buffer size limit 2024-12-08 12:51:14 +01:00
smallmodel
6f686cb7fa
Check if the renderer is loaded instead of checking if it's registered
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 43s
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
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
a0e2162dd7
Fix 1.11 servers filtered out 2024-11-19 22:16:55 +01:00
smallmodel
b007842fb4
Fix pure checksums not matching the server 2024-11-16 21:32:53 +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
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
8fdfffab36
Keep the mouse cursor position when the client disconnects 2024-10-28 21:13:47 +01:00
smallmodel
3d46bae1d0
Stop the triggered music when the server is restarted 2024-10-26 15:07:47 +02:00
smallmodel
ce5b954c4d
Use the target game version when sending the version to the server, instead of the global project version
The non-dedicated server version of MOH: Breakthrough (standalone executable) rejects clients that have a version of 2.30 or below, or a version of 2.50 or above (0.1 difference), which prevents playing LAN sessions of Breakthrough. To solve this issue, the client now sends a version value that is within the allowed version range for the target game
2024-10-01 23:36:05 +02: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
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
Sébastien Noel
a010e648ee Fix a few typos 2024-09-19 10:52:47 +02:00
smallmodel
9f48dabaec
Play the game's intro when starting 2024-09-14 22:59:27 +02:00
smallmodel
34aeab5f77
Fix the game type string being empty
(see #353 for the game type)
2024-09-13 18:34:43 +02:00
smallmodel
c68f23cdaf
Fix compilation warnings 2024-09-11 00:21:31 +02:00
smallmodel
a586f13af8
Remove CL_GamespyServers_f as there is an existing implementation 2024-09-10 19:58:28 +02:00
smallmodel
37820c1673
Generate QKey 2024-09-10 19:57:25 +02:00
smallmodel
cd9b1a741f
Match CG_PermanentMark parameters
This fixes #355
2024-09-07 23:57:17 +02:00
smallmodel
13911b051a
Use OpenAL by default 2024-08-21 18:35:06 +02:00
smallmodel
64f4f59165
Fix vid_restart and snd_restart resetting the sound system (experimental sound system only)
This fixes #335 where one of those commands would clear all active sounds as well as the triggered music, and the soundtrack
2024-08-05 19:21:38 +02:00
smallmodel
7059f32ecc
Don't timeout if the client hosts the game 2024-07-01 01:09:39 +02:00
smallmodel
2df8ed10d0
Improves timeout checking, properly show the timeout menu and shutdown the server 2024-06-15 14:56:30 +02:00
smallmodel
65d3a51a17
Use '\n' instead of 10 2024-02-21 20:12:14 +01:00
smallmodel
187ee87f10
Make sure to initialize new sound system 2024-01-16 20:28:13 +01:00
smallmodel
04e0242422
Added source files for OpenAL FAKK (unimplemented) 2024-01-07 20:10:53 +01:00
smallmodel
b4e0120428
Using ioquake3 code for IPv6 support and network fixes 2023-12-30 23:03:49 +01:00
smallmodel
903fd28953
set cls.bNewLocalServerInfo to tell when there are new local servers 2023-12-30 21:10:27 +01:00
smallmodel
67556a88f1
Fixed errors when compiling with DEBUG_MEMORY 2023-09-07 19:06:06 +02:00
smallmodel
99d633587f
Renamed S_StopAllSounds to S_StopAllSounds2 2023-09-05 20:17:38 +02:00
smallmodel
673535dc08
Clear aliases in CL_Vid_Restart_f 2023-08-30 21:54:15 +02:00
smallmodel
f84794acbe
Added sv_pure support from ioq3 and mohaas/mohaab 2023-08-30 20:35:47 +02:00
smallmodel
394abbdb6f
Fixed IPv6 not working with connect command 2023-08-30 19:36:17 +02:00
smallmodel
5ebb9c61f9
Removed call to NET_Init (already called from main()) 2023-08-29 01:08:09 +02:00
smallmodel
5e2f5010f8
Fixed demo recording with different protocols 2023-08-21 00:20:04 +02:00
smallmodel
ba5b2adf94
Fixed rcon command not working 2023-08-19 00:34:47 +02:00
smallmodel
4f8dc5dc2a
Added radar variables 2023-08-15 22:47:11 +02:00
smallmodel
99dc7bf7f2
Fixed CL_MapLoading always flushing 2023-08-14 01:56:25 +02:00
smallmodel
02c1fbe4fc
Export LV_ConvertString to ref 2023-07-30 11:38:31 +02:00
smallmodel
7172f480eb
Added "wrongver" connectionless packet command response
Fixed disconnect not returning to main menu
Implemented CL_AbnormalDisconnect
Removed CL_Disconnect parameter
Using short version for version when connecting
2023-07-21 20:37:45 +02:00
OM
087f1d38f5 Replaced TARGET_GAME_VERSION with com_version->string 2023-07-02 20:08:18 +02:00
OM
9d3fa377df Set breakthrough clientType if maintt is the target 2023-07-02 18:29:42 +02:00