heinrich5991
3f70ae4b70
Merge pull request #8115 from Robyt3/Client-Mapimages-Refactoring
...
Various refactoring of `CMapImages`
2024-03-18 00:08:30 +00:00
Corantin H
d506dc4fa9
Support navigating in selection popups with arrow keys
2024-03-17 19:44:12 +01:00
Corantin H
72029e4105
Prevent switching layer selection while popup is open
2024-03-17 15:35:32 +01:00
archimede67
47d77fad07
Merge pull request #8120 from Robyt3/UI-Color-Picker-Line-Improvement
...
Support clicking line color picker label to toggle checkbox
2024-03-17 10:56:31 +00:00
Robert Müller
d7f3c4fb6d
Merge pull request #8118 from dobrykafe/pr-nameplates-strong
...
`ClNameplatesStrong` improvements
2024-03-17 10:43:24 +00:00
Robert Müller
67329acae9
Support clicking line color picker label to toggle checkbox
...
Closes #8117 .
2024-03-17 11:37:40 +01:00
archimede67
d853a17f20
Merge pull request #8119 from Robyt3/UI-String-Fix
...
Fix replacement of `UI` with `Ui` in strings
2024-03-17 10:33:28 +00:00
Robert Müller
bef399f296
Fix replacement of UI
with Ui
in strings
2024-03-17 11:16:14 +01:00
dobrykafe
19ea53998f
show nameplates strong indicator from perspective of spectated player
2024-03-17 11:13:44 +01:00
dobrykafe
7f4974616a
fix nameplates strong indicator
2024-03-17 11:11:51 +01:00
Robert Müller
d57a2d490e
Extract IsValidTile
function
2024-03-17 10:48:08 +01:00
Robert Müller
acfe26e715
Merge pull request #8112 from heinrich5991/pr_ddnet_http_age_crash
...
Fix crash when the serverlist request fails
2024-03-16 22:40:48 +00:00
Dennis Felsing
f3c246f622
Merge branch 'master' into pr_ddnet_http_age_crash
2024-03-16 23:23:35 +01:00
Dennis Felsing
b72d89b5cf
Merge pull request #8114 from furo321/tutorial-showothers
...
Remove `sv_show_others` from `Tutorial.map`
2024-03-16 22:22:47 +00:00
furo
28f052eaf2
Remove sv_show_others
from Tutorial.map
2024-03-16 22:36:59 +01:00
Robert Müller
033b659570
Avoid unnecessary calculations for invalid tiles
...
Only calculate offsets for valid tiles when the offsets will be used.
2024-03-16 22:33:58 +01:00
Robert Müller
f1deec2c84
Rename variables i
to ModType
and n
to LayerType
2024-03-16 22:33:58 +01:00
Robert Müller
29d924e061
Simplify handling of entities paths, remove unnecessary variables
2024-03-16 22:33:57 +01:00
Robert Müller
c97c3ac7b1
Extract GetEntitiesModType
function
2024-03-16 22:33:57 +01:00
Robert Müller
01daa919e8
Merge pull request #8113 from furo321/eye-emote
...
Remove `(until you die)` part from `/eyeemote off`
2024-03-16 20:46:43 +00:00
heinrich5991
790c73bffe
Merge pull request #8098 from Robyt3/Graphics-ImageInfo-Free
...
Replace `IGraphics::FreePNG` with `CImageInfo::Free`
2024-03-16 20:14:02 +00:00
heinrich5991
03aab986fe
Fix crash when the serverlist request fails
...
We're not allowed to look at `ResultAgeSeconds` when the state is
`EHttpState::ERROR`.
Fixes #8107 .
2024-03-16 21:12:47 +01:00
heinrich5991
8faba8ee40
Merge pull request #8103 from Robyt3/Serverbrowser-Http-Logging
...
Comment out verbose serverbrowser HTTP log message, fix typo in serverbrowser HTTP log context
2024-03-16 20:11:59 +00:00
furo
7043a59bc3
Remove (until you die)
part from /eyeemote off
2024-03-16 21:10:21 +01:00
Robert Müller
11aba0e38d
Replace IGraphics::FreePNG
with CImageInfo::Free
...
The engine graphics do not need to be involved with freeing image data.
The `Free` function now also ensures that all other member variables are cleared when freeing the image data.
2024-03-16 20:55:22 +01:00
Robert Müller
722b5f8d11
Comment out verbose serverbrowser HTTP log message
...
The `unknown address` log message got printed very often because many servers have 0.6 and 0.7 addresses but only 0.6 addresses are considered valid by the client.
2024-03-16 20:54:56 +01:00
Robert Müller
4f4284ba2a
Fix typo in serverbrowser HTTP log context
2024-03-16 20:54:56 +01:00
heinrich5991
67cbac8b7c
Merge pull request #8108 from def-/pr-clang-sanitizer-ubuntu
...
Try older Ubuntu version for clang sanitizer
2024-03-16 19:35:07 +00:00
Dennis Felsing
d5359b2c11
Try older Ubuntu version for clang sanitizer
2024-03-16 12:15:56 +01:00
archimede67
bcfc61b82a
Merge pull request #8105 from Robyt3/Base-net_addr_from_url-Refactor
...
Minor refactoring of `net_addr_from_url`
2024-03-15 20:48:56 +00:00
Robert Müller
24caf08d84
Minor refactoring of net_addr_from_url
...
- Remove unnecessary branch and temporary variable usage at the end of the function.
- Move variable declarations closer to usages.
2024-03-15 18:40:03 +01:00
Robert Müller
6df1d251d7
Merge pull request #7947 from ChillerDragon/pr_coll_tele
...
Move tele vector init from gamecontroller to collision
2024-03-14 17:02:09 +00:00
Dennis Felsing
38a4c918cd
Merge pull request #8100 from furo321/new-formatting-rev
...
Add #8019 to `formatting-revs.txt`
2024-03-14 16:35:34 +00:00
furo
1561db66c0
Add #8019 to formatting-revs.txt
2024-03-14 17:17:08 +01:00
Dennis Felsing
681b66b563
Version 18.1
2024-03-14 17:14:07 +01:00
Dennis Felsing
7d890aa1a5
Merge pull request #8099 from heinrich5991/pr_ddnet_http_age
...
Take serverlist age into account when choosing master
2024-03-14 15:42:52 +00:00
heinrich5991
ff7b6ffe14
Take serverlist age into account when choosing master
...
Prefer masters with newer server lists, and try re-selecting the chosen
master if the result is older than 5 minutes.
2024-03-14 12:31:41 +01:00
heinrich5991
5603d284bf
Parse Date
and Last-Modified
HTTP headers
2024-03-14 12:31:41 +01:00
heinrich5991
2d17097c91
Use log_*
instead of Console()->Log()
in HTTP serverbrowser
2024-03-14 11:19:32 +01:00
ChillerDragon
4da4ca5bdd
Make tele getters const
2024-03-14 08:50:35 +08:00
ChillerDragon
552d466197
Move tele vector init from gamecontroller to collision
2024-03-14 08:46:22 +08:00
Dennis Felsing
e92f5e85ec
Merge pull request #8096 from Robyt3/UI-ScrollRegion-Popup-Handling
...
Support overlapping scroll regions, always allow mouse scrolling
2024-03-12 21:55:02 +00:00
Robert Müller
ae9a8fe3d4
Support overlapping scroll regions, always allow mouse scrolling
...
Support scrolling all scroll regions with the mouse wheel also while popup menus are open. Support overlapping scroll regions by always scrolling the top-most hovered scroll region on mouse wheel events.
The hot scroll region is now tracked separated by `CUi`, as tracking the IDs of all UI elements which are contained in scroll regions is not feasible. The separate active state for scroll regions is therefore unnecessary.
It's still necessary to disable `CListBox`es when popup menus are open, to ensure that only one list box consumes the key events.
Closes #8087 . Supersedes #8090 .
2024-03-12 22:15:20 +01:00
Robert Müller
f291362d88
Revert name of enum
literal Ui
back to UI
...
This `enum` literal was accidentally included in the renaming of the `UI` function to `Ui`.
2024-03-12 21:49:00 +01:00
heinrich5991
65c2ad7ee0
Merge pull request #8089 from heinrich5991/pr_ddnet_check_http_size
...
Disconnect when we get map change with invalid parameters
2024-03-11 19:57:59 +00:00
heinrich5991
b4726e4a20
Merge pull request #8084 from def-/pr-eesti-keel-2
...
Estonian fixes (by Cammo)
2024-03-11 18:33:37 +00:00
heinrich5991
8108cb04fd
Inform HTTP map download of the map size
2024-03-11 17:50:51 +01:00
heinrich5991
dd5ddf07a4
Disconnect when we get map change with invalid parameters
...
This is the only sane thing we can do, the server will have changed its
map and we can't pretend to still be on the old one.
2024-03-11 17:50:12 +01:00
Dennis Felsing
3489131d78
Merge pull request #8085 from dobrykafe/pr-timecp
...
Improve `/timecp` chat command
2024-03-11 07:34:54 +00:00
Dennis Felsing
621b201acf
Merge pull request #8086 from furo321/browser-login-filter
...
Add a `No login required` filter
2024-03-11 07:33:21 +00:00