Commit graph

16 commits

Author SHA1 Message Date
smallmodel
aac91e8763
Refactor and simplify Alias_ListSort 2025-03-02 13:55:44 +01:00
smallmodel
5c0adf9a28
Refactor Alias_FindRandomRange 2025-03-02 13:49:01 +01:00
smallmodel
9963a99868
Fix a stack overflow issue (#686)
The length check now include the null-terminated character
2025-03-02 13:40:36 +01:00
smallmodel
97fe824b80
Clear subtitles for all nodes when deleting the alias list 2025-02-18 22:35:48 +01:00
smallmodel
9d4ea75a18
Increase the number of aliases that can be found
Previously, 64 aliases could be chosen for random search, it was incremented to 128 since 2.0, however it should have been increased in Breakthrough as well, because there are aliases with more than 128 elements
2024-12-19 19:19:12 +01: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
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +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
OM
d19b91263f Cast to float 2023-06-17 02:09:56 +02:00
OM
bea0f126fc Added **always** and **forcesubtitle** 2023-05-28 20:59:42 +02:00
OM
41fdd28d8b Refactored *Alias_ListAddParms* 2023-05-20 20:40:14 +02:00
OM
448e9010dc Fixed alias random indexes being wrong 2023-05-18 19:47:50 +02:00
L
d4faf0c0e0 Fixed compilation errors on Unix 2023-02-01 00:28:40 +01:00
L
de2606005c Alias_ListFindRandomRange: fix crash because of wrong index 2023-01-30 16:27:38 +01:00
Ley0k
55c1b367f1 Fixed sounds problems 2017-02-19 21:10:06 +01:00
Ley0k
09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00