ChillerDragon
becffb9377
Add sv_gametype and sample mod
2023-11-19 03:00:21 +01:00
heinrich5991
2dbfc72a4d
Merge pull request #7464 from ChillerDragon/pr_use_ddr_wrapper
...
Use GetDDRaceTeam() and move m_Teams to igamecontroller
2023-11-18 13:41:45 +00:00
ChillerDragon
83af6c0a36
Move m_Teams
to IGameController
...
Also increase usage of the `GetDDRaceTeam()` method.
Instead of reimplementing it in place everywhere.
move `m_Teams` from the ddrace controller to `IGameController`
so the ddrace controller casts can go away
This will enable creating another controller instead of the ddrace
controller. Which is useful for community forks.
Also make `m_Teams` private and define a getter for it.
This makes future refactors smoother.
2023-11-18 13:55:48 +01:00
Dennis Felsing
8ab9e72240
Merge pull request #7491 from furo321/fix-lastkickvote
...
Fix some issues with `sv_vote_kick_delay`.
2023-11-18 12:31:35 +00:00
furo
045915eab5
Fix some issues with sv_vote_kick_delay
.
2023-11-18 13:09:13 +01:00
Dennis Felsing
7495b23b24
Merge pull request #7490 from heinrich5991/pr_ddnet_tuning_noconsole
...
Make gamecore.h not depend on console
2023-11-18 03:09:10 +00:00
heinrich5991
da78cc0735
Merge pull request #7471 from ChillerDragon/pr_tele_controller
...
Move m_TeleOuts from ddr controller to game controller
2023-11-18 02:54:06 +00:00
heinrich5991
46679deddc
Merge pull request #7481 from Robyt3/Storage-UTF8-Check
...
Ensure filenames are valid UTF-8 on Unix
2023-11-18 02:51:55 +00:00
ChillerDragon
60e6025e7a
Move m_TeleOuts from ddr controller to game controller
...
#7127
2023-11-17 23:52:31 +01:00
Dennis Felsing
0bf9e2dbb3
Merge pull request #7488 from Robyt3/Editor-GridFactor-Fix
...
Fix map grid factor always being shown as 1
2023-11-17 22:32:19 +00:00
Dennis Felsing
c3399d00fb
Merge pull request #7489 from ChillerDragon/pr_tele_coverage
...
Check red tele and dragger in CI
2023-11-17 22:31:49 +00:00
heinrich5991
75f40ede45
Make gamecore.h not depend on console
2023-11-17 23:26:10 +01:00
Dennis Felsing
7d0718ee8b
Merge pull request #7487 from Robyt3/Base-Assert-NoLogger-Fix
...
Fix `nullptr` access on `dbg_assert` with no global logger
2023-11-17 21:06:23 +00:00
Robert Müller
dd907ab016
Fix map grid factor always being shown as 1
2023-11-17 21:52:39 +01:00
ChillerDragon
f70c288d07
Check red tele and dragger in CI
2023-11-17 21:49:31 +01:00
Robert Müller
7d69016b3a
Fix nullptr
access on dbg_assert
with no global logger
...
Now it's also possible to use `dbg_assert` without/before having set a global logger.
2023-11-17 21:07:41 +01:00
Robert Müller
5c7bb58457
Ensure filenames are valid UTF-8 on Unix
...
On Unix, the encoding of filenames is unspecified, although UTF-8 is likely used in most cases. Detecting and converting from several possible encodings to UTF-8 would be too much effort, considering that most systems already use UTF-8 per default. Therefore, any filenames which are not valid UTF-8 will be ignored when listing directories with `fs_listdir(_fileinfo)`, `fs_storage_path` will fail if the storage location is not valid UTF-8 and `fs_getcwd` will fail if the current working directory is not valid UTF-8. Paths specified in `storage.cfg` must also be valid UTF-8.
On Windows, we already ensure that all filenames are converted to UTF-8.
2023-11-17 18:55:28 +01:00
Dennis Felsing
4e27299657
Merge pull request #7470 from furo321/remove-map-setting-msg
...
Don't print "tunes"/unknown commands from maps.
2023-11-16 23:34:22 +00:00
Robert Müller
88829a5080
Merge pull request #7483 from heinrich5991/pr_ddnet_pred_margin
...
Don't allow too large of a prediction margin
2023-11-16 21:33:34 +00:00
heinrich5991
24a74e373e
Don't allow too large of a prediction margin
2023-11-16 22:18:15 +01:00
heinrich5991
4116d78c6f
Merge pull request #7482 from Robyt3/Client-Serverbrowser-CommunityIcon-Leak
...
Fix leak of community icons when jobs not finished
2023-11-16 21:06:00 +00:00
Robert Müller
32bd6f6526
Fix leak of community icons when jobs not finished
...
The community icon data loaded in background jobs was previously not freed when the client is quit before the community icon data is processed.
2023-11-16 21:47:27 +01:00
furo
e3402cbf85
Don't print "tunes"/unknown commands from maps.
2023-11-16 01:02:22 +01:00
Dennis Felsing
55098cd313
Merge pull request #7469 from archimede67/pr-save-chat-input
...
Save current chat input when pressing UP. Prevent input clearing when pressing DOWN
2023-11-15 23:20:13 +00:00
Dennis Felsing
723bda1280
Merge pull request #7468 from n0Ketchp/patch-15
...
Update spanish.txt
2023-11-15 22:55:32 +00:00
Corantin H
06674ebecf
Save current input when using UP arrow. Prevent DOWN arrow from clearing current input.
2023-11-15 23:52:02 +01:00
Dennis Felsing
fcd7f135f0
Merge pull request #7466 from Robyt3/Editor-Parent-Folder-Fix
...
Fix parent folder not being shown in editor file browser, fix typo
2023-11-15 22:37:47 +00:00
noKetchup
3f725509f0
Update spanish.txt
2023-11-15 19:31:27 -03:00
heinrich5991
162258af3d
Merge pull request #7467 from furo321/case-insenstive-keys
...
Make KEY argument case-insensitive
2023-11-15 22:09:40 +00:00
furo
0042aec086
Make KEY argument case-insensitive
2023-11-15 22:51:41 +01:00
Robert Müller
f54fc2e441
Fix parent folder not being shown in editor file browser, fix typo
...
The check for multiple storage locations was using the base path from the previous invocation of the file dialog instead of using the new base path.
Closes #7463 .
2023-11-15 22:28:50 +01:00
Jupeyy
dfbff0eb57
Merge pull request #7462 from furo321/update_textsize
...
Set size of text when changing slider of `cl_text_entities_size`.
2023-11-15 20:18:29 +00:00
furo
740049a454
Set size of text when changing slider of cl_text_entities_size
.
2023-11-15 20:54:27 +01:00
Dennis Felsing
db44f218dd
Merge pull request #7460 from dobrykafe/pr-update-filename
...
Update `m_FileDialogFileNameInput` when deleting a file
2023-11-15 19:28:15 +00:00
dobrykafe
08a00cff6b
update m_FileDialogFileNameInput
when deleting a file
2023-11-15 18:24:20 +01:00
Dennis Felsing
eb0392007b
Merge pull request #7458 from furo321/incorrect-usage
...
Correct usage of `demo_extract_chat` tool.
2023-11-15 14:33:11 +00:00
furo
e27223a027
Correct usage of demo_extract_chat
tool.
2023-11-15 15:08:30 +01:00
Dennis Felsing
9c083cadb5
Merge pull request #7457 from ChillerDragon/pr_unused_demo_var
...
Fix unused variabled m_WasRecording
2023-11-15 12:07:26 +00:00
ChillerDragon
9e27a5a107
Fix unused variabled m_WasRecording
2023-11-15 12:11:58 +01:00
Robert Müller
f726fbf16c
Merge pull request #7456 from apelsin21/exit_OP_SCALE
...
Use Escape to cancel OP_SCALE envelope
2023-11-14 22:22:21 +00:00
Axel Vestin
7c15514696
Use Escape to cancel OP_SCALE envelope
2023-11-14 21:17:07 +01:00
Dennis Felsing
a329417dee
Merge pull request #7455 from AlehKushniarou/update-belarusian-17.4
...
Update Belarusian translation for 17.4
2023-11-14 12:31:53 +00:00
Pavukoplov
c97c39ad1e
Update Belarusian translation for 17.4
2023-11-14 13:03:58 +03:00
Dennis Felsing
6d1654a13f
Merge pull request #7454 from ByFox213/master
...
Update russian.txt
2023-11-14 09:13:59 +00:00
ByFox
361f3121a9
Update russian.txt
2023-11-14 13:29:42 +05:00
heinrich5991
90fb33ae43
Merge pull request #7452 from Robyt3/Server-Max-Clients-Crash
...
Fix server crash on DDTeam message with lower `sv_max_clients`
2023-11-13 22:46:06 +00:00
Robert Müller
b8d38f7f49
Fix server crash on DDTeam message with lower sv_max_clients
...
When the `CGameContext::SendChatTeam` function is used to send a chat message to all members of a DDTeam (e.g. on completed /swap chat command), it was not checked whether the target players are online but only whether they belong to the specified team according to the teams core. However, the default team for unconnected/cleared players is 0 in the teams core, which is the same for players in team 0, so chat messages were being sent to client IDs not corresponding to connected clients when chat messages where supposed to be sent to players in team 0. This was causing the server to crash with the assertion error "erroneous client id" specifically when the server is started with `sv_max_clients` being less than the default, maximum 64.
Closes #7450 .
2023-11-13 23:16:21 +01:00
Dennis Felsing
32f3f9e03a
Merge pull request #7449 from furo321/lasttp-save
...
Save entire character with `/lasttp`.
2023-11-12 23:14:12 +00:00
furo
f9b9480291
Save entire character with /lasttp
.
2023-11-12 23:48:36 +01:00
Dennis Felsing
76d27e734a
Merge pull request #7444 from Chairn/demo_filename
...
Update string when cutting demo to indicate file name
2023-11-12 22:45:26 +00:00