Commit graph

62 commits

Author SHA1 Message Date
smallmodel
f53fba082a
Improve memory for debugging purposes 2024-09-22 15:45:29 +02:00
Zack Middleton
985731f543
Fix command line variables not being set correctly
+seta, +sets, and +setu were ignored because Com_AddStartupCommands
thought Com_StartupVariable handled it.

+set didn't allow value to be multiple tokens which due to Unix shell
unintuitively removing quotes causes the variable to only be set to
the first token. This could be worked around by escaping quotes

    ioq3ded +set g_motd \"hello world\"

but it doesn't match behavior of other start up commands (which now
includes seta, sets, and setu) that use all tokens.
2024-09-22 13:47:55 +02:00
Thilo Schulz
7c28efe9cd
Fix bug where Com_StartupVariable would set CVAR_USER_CREATED on already existing cvars 2024-09-22 13:36:23 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
ef5759cff5
Don't execute commands during the intro 2024-09-15 01:21:20 +02:00
smallmodel
8a2e4ca470
Add Com_RandomBytes and Com_IsVoipTarget 2024-09-10 19:54:25 +02:00
smallmodel
e3936f52a2
Move Com_SwapSaveStruct to a better place 2024-08-23 22:39:14 +02:00
smallmodel
513fe7773f
Don't append a '\' at the beginning during autocompletion 2024-08-08 20:44:00 +02:00
smallmodel
946a7a406c
Fixed client not quitting when dedicated is set to 1 2024-01-27 20:45:56 +01:00
smallmodel
759dacd345
Added com_gamename 2023-12-30 21:36:54 +01:00
smallmodel
acbd802790
Make COM_IsMapValid always return true from now 2023-12-29 21:59:23 +01:00
smallmodel
c4bcecf5e0
Added COM_IsMapValid 2023-12-29 21:24:23 +01:00
smallmodel
770e832592
Added Com_strCompare and player name completion 2023-11-14 17:17:36 +01:00
smallmodel
d3f1b62208
Added pause command 2023-11-07 19:20:07 +01:00
smallmodel
e95d71da0d
Added Com_DPrintf2 and Com_DebugPrintf 2023-09-17 19:33:17 +02:00
smallmodel
5fdeb92429
Readded openmohaa to version string 2023-08-30 01:08:09 +02:00
smallmodel
e87f9c5710
Removed calls to NET_Init() as this function is already called from main() 2023-08-26 21:14:35 +02:00
smallmodel
e41dcf03ad
Added CVAR_SERVERINFO flag to "protocol"
Removed CVAR_SERVERINFO flag from "com_protocol" (useless)
2023-08-26 18:15:39 +02:00
smallmodel
428f8c183d
Put the extension before the platform string 2023-08-24 23:33:07 +02:00
smallmodel
efce4703ca
Initialize demo_protocols from the com_protocol integer value 2023-08-21 00:19:46 +02:00
smallmodel
a1745829b2
Added product extension, as breakthrough clients rely on the extension word (like "Spearhead") to set g_servertype variable 2023-08-18 14:54:17 +02:00
smallmodel
508903c3b1
Moved console_spam_filter to Com_Init 2023-08-16 00:08:35 +02:00
smallmodel
2337f93df8
Added console_spam_filter 2023-08-15 19:28:38 +02:00
smallmodel
64acea9018
Call SV_CheckSaveGame in Com_Frame 2023-08-14 01:27:25 +02:00
smallmodel
dd30bfde15
Set protocol from com_protocol 2023-08-10 03:55:50 +02:00
smallmodel
035ed1fe24
Added com_target_version and removed CL_Disconnect parameter 2023-07-21 20:32:58 +02:00
OM
6e1fbbaddc Removed com_gamename as it was useless 2023-07-02 20:07:59 +02:00
OM
75aeba31c6 Added com_target_game startup variable
FS_Startup now uses `fs_basegame` variable for mainta/maintt
2023-06-29 21:25:26 +02:00
OM
6134b150c1 ioq3 files backport 2023-06-25 20:26:47 +02:00
OM
02993eaa9b Backported ioq3 features 2023-06-25 19:35:41 +02:00
OM
b1f3d9379b Updated version semantics 2023-06-20 18:33:29 +02:00
OM
d82eb25487 Use q_version.h 2023-06-19 23:34:12 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
e28563a7f4 Assert on debug builds 2023-06-11 12:41:02 +02:00
OM
223463729a Added con_autochat 2023-05-28 23:13:15 +02:00
OM
24cf12dd36 Fixed Linux compilation errors 2023-05-28 22:54:19 +02:00
OM
92a5883243 Networking fixes 2023-05-28 21:36:09 +02:00
OM
c1213e6027 Various fixes and additions 2023-05-28 20:19:35 +02:00
OM
8e1b2ea296 Updates 2023-05-27 21:02:16 +02:00
OM
f3be59f64d update 2023-05-26 23:32:27 +02:00
OM
dc45c33c79 ioq3 updates 2023-05-26 20:53:00 +02:00
OM
f013e82b98 updates 2023-05-25 19:34:01 +02:00
OM
a69aa0830a Removed **Com_Error** assertion on debug builds 2023-05-22 13:37:07 +02:00
OM
cf51e14cf5 Added FPS counter 2023-05-19 20:52:10 +02:00
OM
6db89a5440 Wrong dedicated condition for CL_SetFrameNumber 2023-05-18 01:40:18 +02:00
OM
4d66b35ba1 Added *SV_SetFrameNumber* and *CL_SetFrameNumber* so TIKI cache can get refreshed 2023-05-18 01:35:58 +02:00
OM
6c552b0cb3 Added com_dedicated check in Com_Frame 2023-05-10 00:51:32 +02:00
L
521af45611 Fixed all errors (now compile & link) 2023-05-09 17:50:29 +02:00
L
50a2578a49 Fixed unix build compilation 2023-05-08 23:34:24 +02:00
L
c7f877c8b4 Added Quake III arena unix/win32 folders 2023-05-08 22:58:54 +02:00