Commit graph

484 commits

Author SHA1 Message Date
Sébastien Noel
aa15b3ea7f
Allow to build against system libs instead of bundled copy 2024-10-07 20:51:23 +02:00
smallmodel
0b34d2dbb8
Fix ammo bits being incorrect 2024-10-02 23:04:30 +02:00
smallmodel
fc6bffe683
Don't post event when loading save game 2024-09-26 01:01:27 +02:00
smallmodel
5403577642
Fix the return value of FS_Seek
It returns a negative value on failure, so handle that properly
2024-09-25 21:04:55 +02:00
smallmodel
085b72154f
Use a more modern implementation of minizip from ioquake3 2024-09-24 22:25:33 +02:00
smallmodel
1fd6c2bd52
Merge pull request #360 from pryon/UINotepad-fixes
UINotepad fixes and improvements
2024-09-22 19:35:52 +02:00
smallmodel
8f355fe188
Add Voip code from ioq3 2024-09-22 16:50:44 +02:00
smallmodel
dacfa6ae55
Made common source file a C file as it should be 2024-09-22 16:03:02 +02:00
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
4e5a0a30bf
Fix subtitle being incorrect due to the size of the pointer (and not the size of the string) being passed to Q_strncpyz 2024-09-21 21:09:12 +02:00
pryon
9ab37e54b4 Fix CodeQL printf argument type warning 2024-09-21 20:59:27 +02:00
pryon
c8a2de8235 Implement FS_FileTime for proper retrieval of file date/size info in FilePicker 2024-09-21 19:37:50 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
1156d4f881
Replaced (u)int64_t with long long to avoid constructor conflicts with some compilers 2024-09-20 21:28:36 +02:00
smallmodel
61b4a817f3
Move alloca include directive to q_platform.h due to difference between platforms 2024-09-20 20:52:41 +02:00
smallmodel
015ebb650e
Clean up ClassDef class 2024-09-19 22:50:33 +02:00
smallmodel
17d623bf85
Add more clarity + check the length of the const_str enumeration and the length of the const string array to make sure they both match 2024-09-19 21:23:19 +02:00
Sébastien Noel
a010e648ee Fix a few typos 2024-09-19 10:52:47 +02:00
smallmodel
41298b53d4
Add PRODUCT_VERSION_STAGE variable to define the stage of the software through builds 2024-09-18 18:13:57 +02:00
smallmodel
ef5759cff5
Don't execute commands during the intro 2024-09-15 01:21:20 +02:00
smallmodel
0b106cf47e
Print errors only when developer mode is set 2024-09-14 13:21:08 +02:00
smallmodel
e128c93ad9
Declare CL_FinishedStartStage 2024-09-13 21:25:41 +02:00
smallmodel
8a2e4ca470
Add Com_RandomBytes and Com_IsVoipTarget 2024-09-10 19:54:25 +02:00
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters 2024-09-08 23:54:47 +02:00
smallmodel
99fbe092bc
Use correct names for surface flags 2024-09-08 18:34:02 +02:00
smallmodel
7a7849ae83
Remove comment 2024-09-08 18:25:10 +02:00
smallmodel
47830bb330
Update version number 2024-09-08 18:24:59 +02:00
smallmodel
0dfb1a3a2a
Use Com_DPrintf for TIKI/alias warnings/errors
This prevent the console from getting spammed with developer errors in production
2024-09-08 18:22:12 +02:00
smallmodel
4e3ec52673
Fix a crash due to NULL string being appended 2024-09-08 18:02:57 +02:00
smallmodel
98991a4a7a
Fix file ordering with uppercase/lowercase file names 2024-09-08 17:59:30 +02:00
smallmodel
cefe331e0c
Remove useless surface flags 2024-09-07 23:51:52 +02:00
smallmodel
7f08a7bca8
Remove register keyword as it's deprecated since C++17 2024-09-04 20:10:21 +02:00
smallmodel
5cc168111c
Fix class not dumping properly 2024-08-31 22:10:44 +02:00
smallmodel
56cbab8661
Fix NumEventCommands() returning an incorrect result 2024-08-31 21:42:07 +02:00
smallmodel
11f5870a8b
Add ioq3 server fixes and improvement
- Add a rate limit to protect against DoS attacks
- Better IPv6 support
2024-08-31 21:04:10 +02:00
smallmodel
0147677412
Calculate sr/cr only if right or up is specified 2024-08-29 21:37:10 +02:00
smallmodel
ac22b1cfbf
Use an higher fragment size when sending a message to the loopback 2024-08-25 23:41:03 +02:00
smallmodel
e3936f52a2
Move Com_SwapSaveStruct to a better place 2024-08-23 22:39:14 +02:00
smallmodel
53d5dd1e40
Differentiate saves from mohaa, mohta and mohtt
Fixes #339 where Spearhead and Breakthrough would also display saves from mohaa
2024-08-23 22:25:43 +02:00
smallmodel
b2ef0fd6e3
Swap the save game struct on big endian architectures 2024-08-23 21:09:12 +02:00
smallmodel
d78de51bc2
Bump version number 2024-08-21 19:02:23 +02:00
Trung Lê
16e0dc17a8
Add implicit conversion from const-qualified pointer types to non-const-qualified var 2024-08-21 00:13:04 +10:00
smallmodel
8c59d6020e
Backported ioquake3 fixes for https://www.cvedetails.com/cve/CVE-2017-11721/ (Buffer overflow) 2024-08-18 13:35:59 +02:00
smallmodel
513fe7773f
Don't append a '\' at the beginning during autocompletion 2024-08-08 20:44:00 +02:00
smallmodel
53d812666c
Remove FIXME section 2024-08-07 21:02:48 +02:00
smallmodel
d22dea5e8e
Count renderer memory 2024-08-07 19:57:09 +02:00
smallmodel
8817467216
Implement trace obfuscation 2024-08-06 22:58:16 +02:00
smallmodel
236afa7c3f
Implement obfuscation mapping setup
The implementation reads all obfuscation csv and return a list of visual obfuscations
2024-08-06 20:21:00 +02:00