Commit graph

447 commits

Author SHA1 Message Date
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
smallmodel
a1e0bc5d7c
Implemented TIKI_SwapSkel (used on Big-Endian systems) 2024-06-08 00:40:52 +02:00
smallmodel
0fa380ecff
Correctly read the BSP checksum on big-endian systems 2024-06-07 22:01:24 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings 2024-06-07 20:34:13 +02:00
smallmodel
50264c4968
Make sure to cast the float number to int when using it in the format specifier 2024-06-07 20:25:47 +02:00
smallmodel
6bb475abe7
Fixed PowerPC platform support with proper checks for endianness and ppc64 2024-06-05 21:13:06 +02:00
smallmodel
4b05c400b2
Round to integer for vectoyaw()
This fixes Actor never finishing TurnTo as the DesiredYaw was set to a very precise value
2024-04-28 19:29:54 +02:00
smallmodel
cc85d0c100
Bumped version number 2024-04-22 23:40:00 +02:00
smallmodel
3cd5acf3aa
Fixed issue with case-sensitive variables.
normal/return commands are case-insensitive
getter/setter commands are case-sensitive
2024-04-22 20:10:01 +02:00
smallmodel
0e20d7e880
Fixed arm/arm64 binary loading on Windows
(fixes #295)
2024-04-14 23:03:46 +02:00
smallmodel
3acb796b59
Call VectorNormalize() directly in Vector::normalize() 2024-03-04 20:07:06 +01:00
smallmodel
25bbc1793d
Fixed AngleNormalize360 2024-03-04 20:06:35 +01:00
smallmodel
2e32395cf2
VectorNormalize optimization 2024-03-03 19:51:56 +01:00