Robert Müller
1153507216
Fix double-free when reading opus file fails
...
Set the data pointer of the sample only when the sample has been loaded successfully, so the invalid sample data is not freed again when decoding fails.
2024-04-27 13:02:23 +02:00
Robert Müller
941a302c4d
Ensure editor preview image and sound are unloaded properly
...
The preview image was previously not unloaded and the preview state was not reset.
2024-04-27 13:01:56 +02:00
Robert Müller
3b0d9cd6c9
Fix editor crash with sound preview when sound is not valid
...
This happens if a sound could not be loaded successfully.
2024-04-27 13:01:26 +02:00
Robert Müller
690912e209
Fix invalid sound index used when loading external sound fails
...
This should be highly unlikely because external sound mapres were never supported by the editor.
2024-04-27 13:00:54 +02:00
Dennis Felsing
c22ba00b59
Merge pull request #8270 from Robyt3/Image-size_t
...
Use `size_t` for `CImageInfo::m_Width` and `m_Height`
2024-04-27 04:37:28 +00:00
Dennis Felsing
17ae602d6b
Merge pull request #8268 from Robyt3/Snapshot-Print-Warning-Fix
...
Fix warning because of incorrect format argument for `size_t`
2024-04-27 04:36:41 +00:00
Robert Müller
c5a0d850d2
Use size_t
for CImageInfo::m_Width
and m_Height
2024-04-26 21:12:39 +02:00
Robert Müller
caccf05455
Fix warning because of incorrect format argument for size_t
2024-04-26 19:59:47 +02:00
Dennis Felsing
0eb319a951
Merge pull request #8263 from ChillerDragon/pr_line_author
...
Use LineAuthor variable to cleanup chat code
2024-04-25 17:11:04 +00:00
Robert Müller
0cedcdc3a7
Merge pull request #8236 from ChillerDragon/pr_delta_dump
...
Add delta debug dump
2024-04-25 16:05:26 +00:00
Dennis Felsing
3825eb7480
Merge pull request #8257 from GokturkTalha/patch-4
...
Add Azerbaijanese translation
2024-04-25 02:13:49 +00:00
Dennis Felsing
708a9c4024
Merge pull request #8258 from GokturkTalha/patch-5
...
Update Turkish translations
2024-04-25 02:12:45 +00:00
Dennis Felsing
8fb0052e9e
Merge pull request #8259 from n0Ketchp/patch-18
...
Update spanish.txt
2024-04-25 02:11:13 +00:00
ChillerDragon
1937145fdb
Use LineAuthor variable to cleanup chat code
2024-04-25 09:43:29 +08:00
ChillerDragon
29f6cc67db
Add delta debug dump
2024-04-25 08:44:49 +08:00
Talha Aygün
712b50a939
final
2024-04-24 22:47:56 +03:00
Talha Aygün
ddeec05c17
finish.txt
2024-04-24 21:43:31 +03:00
noKetchup
118e643d39
Update spanish.txt
2024-04-23 22:15:09 -04:00
Talha Aygün
df3c37e78e
Update Turkish translations
2024-04-24 03:01:50 +03:00
Talha Aygün
fc7f55099b
Update Turkish translations
...
little adjustments
2024-04-24 02:53:45 +03:00
Talha Aygün
8ac9ea4510
Add Azerbaijanese translation
...
fixed
2024-04-24 02:02:02 +03:00
Talha Aygün
54024cded8
Add Azerbaijanese translation
2024-04-23 21:52:12 +03:00
Talha Aygün
13452b3297
Add Azerbaijanese translation
...
90% translated
2024-04-23 21:21:35 +03:00
Robert Müller
57d4715a9d
Merge pull request #8251 from def-/pr-gcov
...
Remove unused gcov flags
2024-04-23 17:02:22 +00:00
Dennis Felsing
54798f4e81
Merge pull request #8256 from GokturkTalha/patch-3
...
Add Azerbaijanese translation
2024-04-23 16:05:40 +00:00
Dennis Felsing
72112fbb5c
fix style
2024-04-23 23:47:09 +08:00
Talha Aygün
55ef2d5bfd
Add Azerbaijanese translation
2024-04-23 23:41:15 +08:00
Dennis Felsing
b1aa6e2f21
Merge pull request #8255 from GokturkTalha/patch-2
...
Add Azerbaijanese translation (by Gokturk)
2024-04-23 14:44:11 +00:00
Dennis Felsing
a899b7f68a
Add new file to CMakeLists.txt
2024-04-23 22:26:37 +08:00
Talha Aygün
dded0a6779
Add Azerbaijanese translation (by Gokturk)
...
Translation process is not ended yet. Not translated areas are filled with Turkish translation for now, Azerbaijanese and Turkish are 75-80% similar and they have a lot of words in common. People from Azerbaijan can understand Turkish I'll continue it when I have time.
2024-04-23 17:06:59 +03:00
Dennis Felsing
c4b00a3da1
Merge pull request #8253 from GokturkTalha/patch-1
...
Update Turkish translations for 18.2 (by Gokturk)
2024-04-23 12:11:43 +00:00
Talha Aygün
23f55e4204
Update Turkish translations for 18.2 (by Gokturk)
...
"Kill" is translated as "intihar et" by the other translators. "İntihar et" means "suicide".
1. Not using the word "intihar et" because of its meaning is more accurate.
2. In game, "intihar et" causes the font getting smaller and it does not fit in the box. (https://prnt.sc/4hxQlZdoN1MS )
Using "öl" would be better instead of "intihar et" because it fits in the box better and it keeps the original meaning more.
---
The word "Name" is translated as "Takma ad", which means nickname. It causes a mistranslation by showing up above the server's name. (https://prnt.sc/1NUC5_5qR_H8 )
In this scenario, using "sunucu ismi" which means "server name" would fit better.
---
Even the word "Website" means "internet sitesi" in Turkish, it does not fit in the box and can cause the font getting smaller so it is better leaving it as "web sitesi" which also used as "website" in Turkish. (https://prnt.sc/Ngkh6nkkWQF3 )
2024-04-23 14:03:47 +03:00
Dennis Felsing
1a397ad995
Merge pull request #8252 from ChillerDragon/pr_num_skinparts
...
Use NUM_SKINPARTS instead of magic number
2024-04-23 08:32:22 +00:00
ChillerDragon
38cae7edcf
Use NUM_SKINPARTS instead of magic number
2024-04-23 16:09:34 +08:00
Dennis Felsing
6cffcd07aa
Remove unused gcov flags
...
Fixes : #8247
2024-04-23 10:33:24 +08:00
Dennis Felsing
219fa7b2dd
Merge pull request #8250 from GokturkTalha/master
...
Update Turkish translations for 18.2 (by Gokturk)
2024-04-23 01:53:11 +00:00
Dennis Felsing
1b192beb17
Merge pull request #8248 from Robyt3/Client-Connecting-Various-Fixes
...
Various refactoring of client/dummy connecting
2024-04-23 01:52:52 +00:00
Dennis Felsing
d13e031dfd
Merge pull request #8231 from Zwelf/pr-map-coverage-check-time
...
Add check for correct finish time in integration_test.sh
2024-04-23 01:52:42 +00:00
Talha Aygün
22cb8883ec
Update Turkish translations for 18.2 (by Gokturk)
...
Update Turkish translations for 18.2
2024-04-23 01:57:43 +03:00
Robert Müller
5958e9e4c5
Reset last dummy state when disconnecting
...
Otherwise the snapshots may incorrectly be invalidated because a change of the `cl_dummy` variable is detected when connecting to another server after disconnecting while the dummy is active.
2024-04-22 19:54:21 +02:00
Robert Müller
efdd55613c
Avoid using cl_dummy
for demo playback
...
The `cl_dummy` config variable is always `0` during demo playback. Using the config variable makes the code less readable.
2024-04-22 19:54:21 +02:00
Robert Müller
c7403ef06d
Check CNetClient::State
instead of SecurityTokenUnknown
...
Send dummy ready and enter game when connection is online based on its state instead of when the security token is not unknown anymore, which should effectively be the same condition but more understandable. This is also how it's already done for the main connection so the `SecurityTokenUnknown` function can be removed as it's unused now.
2024-04-22 19:54:21 +02:00
Robert Müller
9ffa9d8e0a
Do not unpack map data packet if no map download is progress
...
There is no need to unpack map data packets if the client receives any without expecting them.
2024-04-22 19:33:20 +02:00
Robert Müller
b264570218
Ignore all packets from other servers instead of only snapshots
...
The client should only ever handle game-related packets from the server that it is currently connecting/connected to.
2024-04-22 19:33:11 +02:00
Robert Müller
87f9ccdb22
Improve readability by renaming variable and changing condition
...
Rename variable `i` to `Conn`. Check for `CONN_MAIN` and `CONN_DUMMY` explicitly instead of using numeric index.
2024-04-22 19:32:55 +02:00
Robert Müller
9e5369bc9d
Mark dummy connecting functions as const
2024-04-22 19:32:46 +02:00
Robert Müller
51a624d95c
Use array index 0 explicitly instead of using array as pointer
2024-04-22 19:32:36 +02:00
Dennis Felsing
49ad920410
Merge pull request #8244 from dobrykafe/pr-18.2-translations
...
Update Czech and Slovak translations for 18.2
2024-04-22 00:56:03 +00:00
Zwelf
2eb4a50d4d
Add check for correct finish time in integration_test.sh
...
ALso exclude coverage.map from twmap-checker due to using tele
checkpoints without matching tele checkpoints to test physics.
Disable exact checks on valgrind. Only require at least one finish.
2024-04-21 23:24:16 +02:00
Dennis Felsing
39b1a0226f
Merge pull request #8242 from By622/patch-12
...
Update simplified_chinese.txt
2024-04-21 15:47:14 +00:00