Commit graph

18951 commits

Author SHA1 Message Date
Robert Müller 0512e65dbe Fix warning title being uninitialized in some cases
For some warnings a random title instead of the default title was shown because it was not initialized.
2024-01-16 20:12:25 +01:00
heinrich5991 2b6926b66f
Merge pull request #7817 from archimede67/editor-more-tooltips
Editor: add tooltips to recent features
2024-01-16 18:50:26 +00:00
Corantin H 12514360b7 Add editor tooltips to recent features
Add tooltip when drawing tele brush (tele numbers adjust).
Add tooltips when dragging quad points (alignment)
2024-01-16 19:31:01 +01:00
Robert Müller b4ceffdc83 Improve alignment of editor resize cursors
Center the resize (V/H) cursors on the mouse position instead of aligning the top-left with the mouse position. This feels better to use and is consistent with the behavior for example on Windows.
2024-01-16 19:12:01 +01:00
gerdoe-jr 40ed4bb98f
Check for super character in team, don't annoy them more than expected 2024-01-16 20:28:40 +03:00
gerdoe-jr 7df3330c06
Divide /tp into /tpxy and /tpto 2024-01-16 20:04:39 +03:00
heinrich5991 bb3bd57c0e
Merge pull request #7683 from Learath2/dd_pr_curlmultifinal
Use curl-multi. Supersedes #5842
2024-01-15 21:54:24 +00:00
heinrich5991 0f653b9b76
Merge pull request #7794 from ChillerDragon/pr_master_team_change
Report team changes to master when teams are on
2024-01-15 15:36:46 +00:00
Dennis Felsing b375d74083
Merge pull request #7808 from By622/patch-8
Update simplified_chinese.txt
2024-01-15 08:49:33 +00:00
Dennis Felsing a24d71eeed
Merge pull request #7807 from By622/patch-7
Update traditional_chinese.txt
2024-01-15 08:49:31 +00:00
Dennis Felsing 93d5ea5c7c
Merge pull request #7806 from rffontenelle/patch-3
Update brazilian_portuguese.txt
2024-01-15 08:49:29 +00:00
Dennis Felsing 93bc9ad149
Merge pull request #7805 from gerdoe-jr/patch-3
Update russian.txt
2024-01-15 08:49:27 +00:00
By 97360df89d
Update simplified_chinese.txt 2024-01-15 16:12:51 +08:00
By 9b2284da88
Update traditional_chinese.txt 2024-01-15 16:11:06 +08:00
Rafael Fontenelle 94b8b5dd10
Update brazilian_portuguese.txt 2024-01-15 00:42:16 -03:00
Vladislav Gerasimov 6e3e439983
Update russian.txt 2024-01-15 02:33:32 +03:00
Dennis Felsing 225b729199
Merge pull request #7804 from furo321/swedish-18.0
Update Swedish translations for 18.0
2024-01-14 22:43:30 +00:00
Dennis Felsing 7e73d3e3e2
Merge pull request #7803 from archimede67/fix-editor-undo-redo
Fix multiple editor undo/redo issues
2024-01-14 22:41:00 +00:00
Corantin H d2ea9cbcf1 Fix multiple editor undo/redo issues
Fixed crash when runing tool 'Remove unused envelopes' and trying to undo the addition of an envelope (#7738)
Fixed issues where undo/redo would not work properly when changing a layer's order or group property
Added missing action for changing the position of a sound source
2024-01-14 19:45:20 +01:00
furo c7fb6dda7f Update Swedish translations for 18.0 2024-01-14 18:54:55 +01:00
Robert Müller 11c1957434
Merge pull request #7799 from def-/pr-lang-18.0
Update translations for upcoming DDNet 18.0
2024-01-14 17:22:38 +00:00
Learath2 f5910343e2 Fix CI 2024-01-14 15:37:44 +03:00
Dennis Felsing 6ad92edd95
Merge pull request #7801 from archimede67/editor-fix-quads-edit
Restore ability to move/edit points of all selected quads
2024-01-14 11:20:04 +00:00
Dennis Felsing 835c759ae0 Update German translations 2024-01-14 12:12:30 +01:00
Corantin H a3115d76d2 Restore ability to move points of all selected quads 2024-01-14 11:09:12 +01:00
Dennis Felsing a9b0787623 Update translations for upcoming DDNet 18.0 2024-01-13 23:58:09 +01:00
Dennis Felsing 8dee975d66
Merge pull request #7744 from Robyt3/Editor-Color-Palette-Pipette
Add color palette and pipette to editor
2024-01-13 22:55:16 +00:00
Dennis Felsing 3b10500e99
Merge pull request #7797 from Robyt3/Chat-Render-Improvements
Various minor refactoring of chat rendering, fix chat background size
2024-01-13 22:54:36 +00:00
Dennis Felsing a7ac29d5bf
Merge pull request #7798 from Robyt3/Textrender-Selection-Fix
Fix multi-line text selection not rendered correctly anymore
2024-01-13 22:54:33 +00:00
Robert Müller a873485643 Fix multi-line text selection not rendered correctly anymore
The `CTextCursor::m_LineCount` variable is only updated after the cursor is rendered. For calculating the selection quads we need to check `LineCount` instead, which is updated while the cursor is being rendered. Regression from #7733.
2024-01-13 23:21:13 +01:00
Robert Müller d897573acc Fix chat background width calculation when scoreboard is open
The chat background width was too small when the scoreboard is open and the message text begins on a different line than the player name.
2024-01-13 22:41:50 +01:00
Robert Müller 4fded18644 Calculate chat message height using text render function 2024-01-13 22:41:42 +01:00
Robert Müller df12d586f4 Remove unnecessary default argument for TextEx 2024-01-13 22:41:38 +01:00
Robert Müller 5b2ef36fc3 Remove unnecessary temporary variables 2024-01-13 22:41:36 +01:00
Robert Müller 9b24820fd9 Fix potentially incorrect chat background for censored messages
The censored message was not being considered when calculating the size of chat messages.
2024-01-13 22:40:57 +01:00
Robert Müller 3e61d0dadc Extract local variable Line 2024-01-13 22:40:41 +01:00
Learath2 bcf86d81f3 Fix CRegister 2024-01-13 15:28:53 +03:00
Robert Müller 7544f97786 Use star icon for favorite servers, tweak favorite star color
Use yellow-orange star icon to mark favorite servers in the server browser instead of using the heart icon. The heart icon is now only used for servers with friends.

Tweak color of the star icon used for skin favorites so it's slightly more orange instead of pure yellow.
2024-01-13 13:00:31 +01:00
Robert Müller 89802396a7 Use icons for Internet, LAN and Favorites server browser tabs
Free up space for up to three more server browser tabs of the same size (on 5:4 resolutions), i.e. tabs for configurable communities.

Remove the additional server browser icon tab on the right side. Remove the purely visual Demo and News tabs which were only shown when the respective page is already active. Instead, always show all server browser tabs when offline.
2024-01-13 12:47:11 +01:00
ChillerDragon 78bc1f02f0 Report team changes to master when teams are on
https://github.com/ZillyInsta/ddnet-insta/issues/85
2024-01-13 18:33:30 +08:00
Dennis Felsing 84cbd362e8
Merge pull request #7792 from infclass/kaffeine/pr
CMake: Re-configure the project on version.h changed
2024-01-13 09:56:03 +00:00
Alexander Akulich c56960728d CMake: Re-configure the project on version.h changed 2024-01-13 07:46:29 +03:00
Dennis Felsing 80f77c500e
Merge pull request #7791 from swarfeya/master
Fix AFK when timing out
2024-01-12 23:12:01 +00:00
swarfeya 79bc3b2d3d use SetInitialAfk instead of SetAfk 2024-01-12 22:44:33 +01:00
swarfeya 495290e0b2 fix style 2024-01-12 22:04:08 +01:00
swarfeya 64a70ac7a7 Fix AFK being shown only for a split second when timing out 2024-01-12 22:01:25 +01:00
Learath2 6eb51239c9 Fix some clang-tidy issues and UB 2024-01-12 23:27:49 +03:00
Learath2 32e968335b Fix lots of weirdness in updater 2024-01-12 23:19:47 +03:00
Chairn 32e585b453
Merge pull request #7787 from Robyt3/Include-Climits-Cleanup
Include `limits` instead of `climits`
2024-01-11 22:14:43 +00:00
Robert Müller 5e510cdbf4 Include limits instead of climits
Consistently use `std::numeric_limits` instead of `INT_MIN` and `INT_MAX`.
2024-01-11 22:24:37 +01:00