Edgar
726ffe35d0
Merge pull request #7654 from def-/pr-curlopt-share
...
Disable CURL_LOCK_DATA_CONNECT (fixes #7636 )
2023-12-15 09:26:34 +00:00
Dennis Felsing
255cf408cd
Fix discord build
...
/home/deen/isos/ddnet/ddnet-source/src/engine/client/discord.cpp: In member function ‘bool CDiscord::Init(FDiscordCreate)’:
/home/deen/isos/ddnet/ddnet-source/src/engine/client/discord.cpp:39:17: error: ‘mem_zero’ was not declared in this scope
39 | mem_zero(&m_ActivityEvents, sizeof(m_ActivityEvents));
| ^~~~~~~~
2023-12-15 00:55:26 +01:00
Dennis Felsing
5ff8697be1
Disable CURL_LOCK_DATA_CONNECT ( fixes #7636 )
2023-12-15 00:51:02 +01:00
Dennis Felsing
12ed9f8d6b
Merge pull request #7651 from furo321/fix-teamjoin-error
...
Don't broadcast error if `CanJoinTeam` returned true
2023-12-14 23:48:20 +00:00
Dennis Felsing
514e528be7
Merge pull request #7649 from furo321/chat-command-netmsg
...
Add `Sv_CommandInfo` netmsg for autocompletion of chat commands.
2023-12-14 23:46:52 +00:00
Dennis Felsing
a333d723e5
Merge pull request #7653 from Robyt3/Clang-Tidy-Cleanup
...
Fix more clang-tidy errors: mark functions as `const` when possible
2023-12-14 23:46:19 +00:00
Dennis Felsing
7d37db6d6e
Version 17.4.1
2023-12-15 00:58:09 +01:00
Robert Müller
f50eeab690
Fix performance-inefficient-vector-operation
2023-12-14 23:38:05 +01:00
Robert Müller
bab382f4cc
Fix modernize-use-emplace
2023-12-14 23:38:05 +01:00
Robert Müller
aacd37b412
Fix readability-static-accessed-through-instance
2023-12-14 23:38:05 +01:00
Robert Müller
6a12e209b6
Fix readability-make-member-function-const
2023-12-14 23:38:03 +01:00
Robert Müller
b9cce63bc7
Merge pull request #7577 from archimede67/pr-console-search
...
Added search in console (ctrl+f)
2023-12-14 21:19:42 +00:00
Corantin H
af77ebac54
Added console search function
2023-12-14 21:58:27 +01:00
furo
035e7a1068
Add Sv_CommandInfo
netmsg for autocompletion of chat commands.
2023-12-14 19:01:35 +01:00
furo
a440e0e917
Don't broadcast error if CanJoinTeam
returned true
2023-12-14 16:19:31 +01:00
heinrich5991
efe593c7b0
Merge pull request #7602 from ChillerDragon/pr_create_switcherscontroller
...
Move switcher snapping code to own method
2023-12-13 22:10:49 +00:00
Dennis Felsing
a16d8dd6c7
Merge pull request #7643 from Robyt3/Menus-Callvote-Margin
...
Add small margin to callvote label
2023-12-13 17:53:30 +00:00
Robert Müller
68508e1b81
Add small margin to callvote label
2023-12-13 17:47:10 +01:00
ChillerDragon
1723554288
Move switcher snapping code to own method
2023-12-13 17:29:02 +01:00
heinrich5991
b458890f08
Merge pull request #7639 from ChillerDragon/pr_canjoinmsg
...
Move chat message into CanJoinTeam()
2023-12-13 15:27:25 +00:00
heinrich5991
0075d85581
Merge pull request #7642 from BlaiZephyr/GfxRefactor
...
changed GFX → Gfx
2023-12-13 15:26:31 +00:00
BlaiZephyr
6521344eca
changed GFX → Gfx
2023-12-13 15:46:49 +01:00
Dennis Felsing
a36feebf71
Merge pull request #7640 from heinrich5991/pr_ddnet_rm_appdata
...
Remove ddnet.appdata.xml
2023-12-13 14:08:19 +00:00
ChillerDragon
157e8b7302
Pass error message as buffer to CanJoinTeam()
...
Now `CGameContext` no longer assumes the `IGameController`
declined the team join due to slots.
This enables custom gametypes to disallow joining the game if the player
died, an active tournament is running or the player is not logged in
yet. And then the controller can print the correct error message
accordingly.
2023-12-13 14:46:37 +01:00
heinrich5991
5efceb64f2
Merge pull request #7641 from furo321/set-correct-authcolor
...
Set correct colour for authed colour reset button
2023-12-13 12:48:47 +00:00
furo
09e222c39f
Set correct colour for authed colour reset button
2023-12-13 13:23:33 +01:00
heinrich5991
9a1644982e
Remove ddnet.appdata.xml
...
It was outdated already.
Fixes #7607 .
2023-12-13 11:58:29 +01:00
Dennis Felsing
bcc92fa0fb
Merge pull request #7638 from Robyt3/Engine-Refactoring
...
Ensure network log files are closed when shutting down engine
2023-12-12 20:12:00 +00:00
Robert Müller
187120dd31
Ensure network log files are closed when shutting down engine
...
Previously, the network log files were not explicitly closed unless the `dbg_lognetwork` command is used again manually.
2023-12-12 20:00:52 +01:00
Robert Müller
10b486a6b0
Remove unnecessary use of GetCompletePath
...
The result `aFullPath` is unused.
2023-12-12 20:00:48 +01:00
Edgar
082c44889a
Merge pull request #7635 from archimede67/fix-escape-key-lineinput
...
Fix escape key not working when lineinput is focused
2023-12-12 08:14:51 +00:00
Edgar
3cb510a2e6
Merge pull request #7637 from heinrich5991/pr_ddnet_even_less_system_h
...
Remove `#include <system.h>` from one more header
2023-12-12 08:14:32 +00:00
heinrich5991
e4c97e5583
Merge pull request #7574 from furo321/remove-telecursor
...
Don't scale TargetXY by zoom when in spectator.
2023-12-11 23:50:21 +00:00
heinrich5991
be53d83019
Remove #include <system.h>
from one more header
2023-12-12 00:44:46 +01:00
Dennis Felsing
7813cfed6c
Merge pull request #7618 from heinrich5991/pr_ddnet_less_system_h
...
Make less headers depend on `<base/system.h>`
2023-12-11 23:08:59 +00:00
heinrich5991
05af24a052
Make less headers depend on <base/system.h>
...
Move a couple of trivial type definitions to `<base/types.h>` instead.
2023-12-11 23:52:23 +01:00
archimede67
0aca09093f
Use WasCursorChanged()
when rendering lineinput in CUI::DoEditBox
2023-12-11 22:26:19 +01:00
Robert Müller
990bb8bb5d
Merge pull request #7632 from furo321/input-envelope-scaling
...
Fix envelope scaling being triggered in name input.
2023-12-11 20:36:03 +00:00
furo
b42f43ce99
Fix envelope scaling being triggered in name input.
2023-12-11 21:17:24 +01:00
Dennis Felsing
7abada56bf
Merge pull request #7630 from ChillerDragon/pr_authedcolor_setting
...
Add ui setting for cl_authed_player_color
2023-12-11 19:56:02 +00:00
ChillerDragon
ab5a7b88bd
Add ui setting for cl_authed_player_color
2023-12-11 20:21:01 +01:00
Robert Müller
df678ea672
Merge pull request #7628 from furo321/refresh-keys
...
Support `F5` and `Modifer` + `R` for refresh where possible.
2023-12-11 17:37:29 +00:00
furo
466dca87a6
Support F5
and Modifer
+ R
for refresh where possible.
2023-12-11 16:52:21 +01:00
Dennis Felsing
5013962480
Merge pull request #7627 from archimede67/fix-colorable-game-layers
...
Fix colorable entities layers
2023-12-11 12:58:39 +00:00
Corantin H
8c5b8a88c8
Ensure white color for entities layers when loading map layers
2023-12-11 13:37:23 +01:00
Corantin H
0c69378fcd
Prevent editing the color of entities layers
2023-12-11 13:36:42 +01:00
Dennis Felsing
79b016b7a0
Merge pull request #7626 from archimede67/fix-editor-modified-state
...
Fix editor modified state not being updated properly
2023-12-11 11:17:28 +00:00
Corantin H
7b20bf71e6
Fix modified state being set when lineinput is selected.
...
Differentiate between text and cursor changes by adding an additional `m_WasCursorChanged`.
2023-12-11 00:05:13 +01:00
Corantin H
51220b1dfc
Fix editor modified state not being updated properly
2023-12-11 00:03:46 +01:00
Robert Müller
733b46da87
Merge pull request #7613 from archimede67/fix-chat-input-history
...
Reset history entry along with chat input when using Escape
2023-12-10 18:34:28 +00:00