marmare314
e19b1e4da6
extract code from editor mapitems into separate files
2023-08-27 16:04:53 +02:00
Robert Müller
d11bbbc921
Merge pull request #7083 from Marmare314/style-7017
...
improve code style in proofmode, mapgrid and mapview
2023-08-27 10:03:07 +00:00
marmare314
605a93787e
improve code style in proofmode, mapgrid and mapview
2023-08-27 11:38:15 +02:00
Robert Müller
669f384535
Update data/languages/serbian.txt
2023-08-27 11:25:16 +02:00
JuraIBOZO
b4e0e49ccb
Update serbian.txt
...
Update Serbian translation (by Jurai!)
2023-08-27 12:02:55 +03:00
dobrykafe
758601c310
remove duplicate code
2023-08-26 22:28:19 +02:00
dobrykafe
cb29ad2b4f
dont switch to editor if loading fails
2023-08-26 22:13:13 +02:00
Dennis Felsing
c9557b2ee9
Merge pull request #7069 from furo321/pr_demo_searchbar
...
Add a searchbar for demos.
2023-08-26 19:00:31 +00:00
Dennis Felsing
c4ba06ae01
Merge pull request #7070 from Jupeyy/pr_x11_mouse_release
...
Automatically release the mouse for x11, when breakpoint is hit
2023-08-26 18:37:41 +00:00
Dennis Felsing
90cf635a0e
Merge pull request #7072 from Robyt3/Ukrainian-Update
...
Update Ukrainian translation (by Jurai!)
2023-08-26 18:36:44 +00:00
Dennis Felsing
7e0e4ab807
Merge pull request #7073 from Robyt3/Serbian-Update
...
Update Serbian translation (by Jurai!)
2023-08-26 18:36:32 +00:00
Dennis Felsing
48d0228428
Merge pull request #7077 from infclass/ddnet-fix-pause
...
CGameClient::Predict: Disable prediction if the game is paused
2023-08-26 18:35:17 +00:00
furo
ac775eca36
Fix style
2023-08-26 20:29:58 +02:00
Robert Müller
8effc201bd
Merge pull request #7075 from Marmare314/issue-7053
...
clamp value-range for color envelopes in popups
2023-08-26 18:14:06 +00:00
Robert Müller
dcf7696f50
Merge pull request #7074 from Marmare314/issue-7050
...
reset operation status after creating envelope context menu
2023-08-26 18:12:47 +00:00
dobrykafe
8957ae99bd
remove whitespace
2023-08-26 19:44:53 +02:00
Alexander Akulich
ec7d1f89e1
CGameClient::Predict: Disable prediction if the game is paused
...
CGameClient::OnPredict() says "don't predict anything if we are paused"
and yet we predict different stuff based on CGameClient::Predict() result
which leads to flickering here and there (e.g. for projectiles and characters).
2023-08-26 20:37:55 +03:00
Alexander Akulich
63ed421e38
CGameClient: Move Predict() implementation to .cpp file and reformat it
2023-08-26 20:37:55 +03:00
dobrykafe
5e923adcc9
fix map drag and drop
2023-08-26 18:14:13 +02:00
furo
0ebc40ec80
Naming: Item -> pItem
2023-08-26 17:28:35 +02:00
marmare314
c5282682f7
clamp value-range for color envelopes in popups
...
fixes #7053
2023-08-26 17:23:37 +02:00
marmare314
c68350a08a
reset operation status after creating envelope context menu
...
fixes #7050
2023-08-26 17:14:57 +02:00
Robert Müller
859efe5e95
Update Serbian translation (by Jurai!)
2023-08-26 17:14:10 +02:00
Robert Müller
9733cff7e8
Update Ukrainian translation (by Jurai!)
2023-08-26 16:48:26 +02:00
furo
1b20a9640d
Fix requested changes.
2023-08-26 13:13:12 +02:00
Jupeyy
87743bd412
Automatically release the mouse for x11, when breakpoint is hit
2023-08-26 13:01:46 +02:00
Robert Müller
6b6ee21338
Merge pull request #7017 from Marmare314/mapview
...
Add `CProofMode` and `CMapGrid` component
2023-08-26 08:54:38 +00:00
furo
4f3a4c4816
Whops
2023-08-26 02:10:54 +02:00
furo
6781717983
Ability to search for demos.
2023-08-26 01:55:30 +02:00
marmare314
467de92377
Add CProofMode
and CMapGrid
component
...
Also extract more code into `CMapView` and extend the `CEditorComponent`
interface.
2023-08-25 20:40:27 +02:00
Dennis Felsing
5ba1834eed
Merge pull request #7067 from Marmare314/vscpp-issue
...
fix CScorePlayerResult for visual c++ compiler
2023-08-25 17:57:40 +00:00
Marek B
5815f8c6c0
fix CScorePlayerResult for visual c++ compiler
2023-08-25 18:17:01 +02:00
Dennis Felsing
2dd70435a5
Merge pull request #7066 from Robyt3/Editor-Explain-Refactoring
...
Refactor editor entities layer explanations
2023-08-25 16:16:23 +00:00
Robert Müller
b6f0c59b26
Refactor editor entities layer explanations
...
Use `enum`. Organize explanations in separate functions for DDNet, FNG and Vanilla.
2023-08-25 17:49:13 +02:00
Robert Müller
749ee6c83e
Merge pull request #7060 from h-kaan/update-turkish
...
Update turkish.txt
2023-08-25 17:42:40 +02:00
Dennis Felsing
23ed630a4e
Merge pull request #7065 from heinrich5991/pr_ddnet_teehistorian_antibot
...
Allow antibot to record data into teehistorian
2023-08-25 15:08:35 +00:00
heinrich5991
84948adad1
Allow antibot to record data into teehistorian
2023-08-25 14:26:09 +02:00
heinrich5991
548f2f6021
Merge pull request #7058 from Robyt3/Demo-Player-Pause-Indicator
...
Show indicator when pausing/unpausing in demo player
2023-08-25 11:55:03 +00:00
Robert Müller
ec0522d58f
Show indicator when pausing/unpausing in demo player
...
Render a pause/play icon in the center of the screen when pausing/unpausing while the menu is not active.
The icon fades in and out over 0.5 seconds and slightly increases in size over that time.
When starting demo rendering with initial pause, the pause indicator is rendered continuous until playback is first started, to ensure that the initial pause state is communicated clearly to the user. The initial pause indicator is not included in the rendered demo, but pausing and unpausing later during demo rendering will cause it to be included in the video, same as other UI elements. Closes #7044 .
The config variable `cl_demo_show_pause` (`0/1`, default `1`) is added to hide the pause indicator entirely, for example to render a demo with multiple pauses without the indicator.
The pause indicator and also the existing speed indicator are not rendered (anymore) while the menu is active, as the menu already contains this information.
2023-08-25 13:29:17 +02:00
heinrich5991
b739c18a86
Merge pull request #7056 from Robyt3/Base-Number-Format-Optimization
...
Add `str_from_int` function
2023-08-25 11:16:00 +00:00
heinrich5991
1f13a693a5
Merge pull request #6744 from Zwelf/pr-fix-teehistorian-mapchange
...
Fix JoinVer and Join teehistorian chunks missing in some conditions
2023-08-25 11:15:43 +00:00
Dennis Felsing
e4278479b0
Version 17.2.1
2023-08-25 09:17:11 +02:00
Zwelf
e356d12fbf
Fix teehistorian test comment
2023-08-25 00:42:54 +02:00
Zwelf
3c2d8afff6
Create new teehistorian event for player rejoin
2023-08-25 00:42:54 +02:00
Robert Müller
dfe91705c1
Improve alignment of demo icon buttons
2023-08-24 20:54:50 +02:00
Robert Müller
6ff860a2d7
Add color4_base::WithMultipliedAlpha
2023-08-24 20:54:50 +02:00
Robert Müller
d2c9750c65
Add str_from_int
function
...
Add more efficient function for formatting integer values as strings.
A benchmark shows that using this function is significantly faster than using `str_format`. It is faster by a factor of 220 with Clang 15.0 O2 (https://quick-bench.com/q/BlNoLnlyqxipf4jvsFTUxKMHDJU ) and by a factor of 11 with GCC 12.2 O2 (https://quick-bench.com/q/Fxf9lDCTqXBF4pIa_IyZ5R0IqYg ).
This increases FPS in the editor by ~25% when many numbers are rendered for switch/tele/speedup/tune layers or with "Show Info" being enabled.
The additional static analysis for `std::to_chars` revealed that the wrong size was used in `CHud` for `aScoreTeam[TEAM_RED]` and `aScoreTeam[TEAM_BLUE]`.
This requires incrementing the macOS deployment target from 10.13 to 10.15.
2023-08-24 20:54:17 +02:00
Robert Müller
c76293e1be
Merge pull request #7061 from heinrich5991/pr_ddnet_cache_rust_deps
...
CI: Cache Rust dependencies
2023-08-24 20:53:22 +02:00
heinrich5991
8b217e6362
Merge pull request #7063 from Teero888/master
...
fix #7062
2023-08-23 19:30:33 +00:00
Teero888
cd66a8c1d2
fix #7062
2023-08-23 20:56:23 +02:00