Commit graph

609 commits

Author SHA1 Message Date
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
smallmodel
5b80ea20c7
Fix filename case sensitivity on Linux
This fixes #334 where some sounds wouldn't play because some scripts reference sounds without respecting the case
2024-08-05 21:11:49 +02:00
smallmodel
ee514710c5
Add Emscripten implementation from ioquake3 upstream 2024-07-26 23:57:50 +02:00
smallmodel
14927df9fa
Moves MAX_SUBTITLES to `q_shared.h| 2024-07-02 19:03:27 +02:00
smallmodel
cda6225659
Adds a workaround against a bit that was lost on x86 with FP87.
This fixes #312 where a rounding error caused facets to be removed due to windings points being outside of the epsilon
2024-06-23 17:26:07 +02:00
smallmodel
563182c14c
Added FloatRoundedBitError() (currently unused) 2024-06-23 17:25:23 +02:00
smallmodel
303ed30a38
Don't remove the facet is there is no border planeCM_PlaneEqual 2024-06-23 17:19:52 +02:00
smallmodel
0a6c745ffb
Use VectorNormalize() instead of VectorNormalize2() 2024-06-23 17:10:58 +02:00
smallmodel
9407b64fe3
Q_strncpyz: don't copy if the src is the same as the dest 2024-06-23 00:18:22 +02:00
smallmodel
0b747bf1c5
Use memmove rather than strcpy for removing key values 2024-06-22 16:39:00 +02:00
smallmodel
a26e5b74c2
Use armhf and armel suffix to distinguish between ARM variants 2024-06-11 22:09:31 +02:00
smallmodel
ee5faedaf9
Removed the value of LittleSwap/BigSwap on little-endian/big-endian 2024-06-11 21:25:38 +02:00
pryon
ac01ad6751 Take over va() memory safety fix from ioquake3 2024-06-10 14:19:29 +02:00
pryon
4da5e26cdc Move CTRL macro to q_shared.h 2024-06-10 13:59:10 +02:00
smallmodel
57175cfa5c
Simplified the decompression algorithm and fixed it for big-endian 2024-06-09 16:45:10 +02:00
smallmodel
8aacdcefb8
Fixed lz77 endianness 2024-06-09 14:14:11 +02:00
smallmodel
69766ae87a
Added SwapValue 2024-06-09 13:19:31 +02:00
smallmodel
de621f6acb
Made short3 implementation endianness independant
This fixes scripts not working properly as script variables key are using short3
2024-06-09 00:59:23 +02:00
smallmodel
7282426736
Improved the networking code for big-endian architectures 2024-06-09 00:02:00 +02:00
smallmodel
0333fd86f8
MSG_DeltaNeeded_ver_15 was never called 2024-06-08 21:52:28 +02:00
smallmodel
ab91ade685
Explicitly use signed char for patch xy because some platforms use unsigned char by default 2024-06-08 19:56:24 +02:00
smallmodel
005afcd53d
Simplified CM_PickTerrainSquareMode 2024-06-08 19:20:27 +02:00
smallmodel
41244095b1
CMod_LoadTerrainIndexes: big-endian compatibility 2024-06-08 12:47:18 +02:00
smallmodel
6796a8b3fe
Properly swap terrain patch values on big-endian systems 2024-06-08 01:08:58 +02:00
smallmodel
819dffcb86
Added MAX_TERRAIN_VARNODES 2024-06-08 01:05:47 +02:00
smallmodel
b54db17069
Added unsigned swaps 2024-06-08 01:03:08 +02:00