Peter Nelson
e554fd7808
Change: Hide WidgetDrawDistances from general use.
2 years ago
Peter Nelson
d0add1e07f
Change: Ignore offsets when drawing GUI sprite.
2 years ago
Peter Nelson
890b2666d3
Change: Use scaled WidgetDimensions.
2 years ago
Peter Nelson
b5693becdc
Add: Define scaled WidgetDimensions.
...
Includes RectPadding container.
2 years ago
Peter Nelson
b6ed595176
Codechange: Prefer suggested widget padding.
2 years ago
Peter Nelson
0108e9f387
Change: Set up suggested widget padding for panel, frame and inset.
...
Window handlers are free to ignore the suggested padding, however some
handlers have logic that assumes this information was already provided.
2 years ago
Peter Nelson
68423c40c5
Fix: Off-by-one in GetAlignedPosition().
2 years ago
Peter Nelson
47f4fc6a70
Add: NWidgetPart SetPadding via RectPadding
2 years ago
Peter Nelson
dd9f6bc803
Change: Use RectPadding Horizontal()/Vertical() helpers.
2 years ago
Peter Nelson
04cbe57d2a
Change: Use RectPadding for widget padding/uz_padding.
2 years ago
Peter Nelson
75b222b0d9
Add: RectPadding type.
...
This is similar to Rect but specifies padding to apply to a Rect.
2 years ago
Peter Nelson
5786d49143
Change: Use Rect when drawing build engine list.
2 years ago
Peter Nelson
46a1ab0937
Change: Use Rect when drawing infrastructure window.
2 years ago
Peter Nelson
c9a81fd67b
Change: Use Rect for drawing vehicle details.
2 years ago
Peter Nelson
3ff05321dc
Change: Use standard padding for AI Debug window.
2 years ago
Peter Nelson
1f1378c129
Change: Align picker previews to button centre.
2 years ago
Peter Nelson
cb059fc081
Change: Use Rect for QueryString editor.
2 years ago
Peter Nelson
fea7247072
Change: Use standard 'frametext' padding for settings window.
2 years ago
Peter Nelson
6f95e04005
Change: Use Rect helpers for widget drawing.
...
This replaces repetitive and sometimes unwieldy use of constants.
2 years ago
Jonathan G Rennison
7c3c92f8b8
Fix #10155 : SyncCompanySettings sending old instead of new setting values ( #10158 )
2 years ago
Tyler Trahan
1e0d5998db
Fix #10154 : Don't inconsistently set random company face in network games
...
(cherry picked from commit 638b75d4763a412085157eea7e09e9d74db268cd)
2 years ago
Jonathan G Rennison
3176313576
Avoid blocking network and game when writing desync savegames
2 years ago
Jonathan G Rennison
3665c01539
Fix crash if client's connection fails during error sending
2 years ago
Jonathan G Rennison
ff0bed96a4
Fix SyncCompanySettings not sending correct setting values
2 years ago
Jonathan G Rennison
8724904a1f
Avoid out of bound shift in NetworkCompanyIsPassworded(COMPANY_SPECTATOR)
2 years ago
Joel-Milligan
59645c6733
Change: Remove scrollbar from town authority actions panel ( #9928 )
2 years ago
Jonathan G Rennison
64b437fa89
Fix: Data race with mixer thread performance measurements
2 years ago
Jonathan G Rennison
0fae0599b7
Fix: Data race on effect volume setting with mixer thread
2 years ago
Jonathan G Rennison
a962d7476b
Fix: Data races on MixerChannel active states
2 years ago
Artin Alavi
5d6cdf4385
Feature: Allow AI/GS to be fully modified in scenario editor ( #10152 )
2 years ago
translators
3f579fa7dc
Update: Translations from eints
...
dutch: 12 changes by Afoklala
2 years ago
Jonathan G Rennison
2b5456a664
Squirrel: Change SQRefCounted allocator to avoid undefined behaviour
2 years ago
Jonathan G Rennison
449ed7aa51
Fix drawing of dirty block overlays
2 years ago
Jonathan G Rennison
8c2dd8d7fb
Fix handling of LinkGraphOverlay dirty flag
2 years ago
Jonathan G Rennison
2af2c56d19
Allow various settings to be changed in multiplayer
...
If the corresponding TTDPatch flag bit has not been observed by a NewGRF
2 years ago
Jonathan G Rennison
2f4f862480
Viewport: Do bounding boxes and link graph/route overlays in threaded part
2 years ago
Artin Alavi
cbac243216
Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window ( #10058 )
2 years ago
Artin Alavi
fd4f148c62
Feature: Hotkey to honk a vehicle's horn ( #10110 )
2 years ago
Jonathan G Rennison
5dcffe3142
Add variants of Gfx draw functions which take a DPI
2 years ago
Jonathan G Rennison
3b7352132b
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/console_cmds.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/screenshot.cpp
# src/settings_gui.cp
2 years ago
translators
27e1d057c5
Update: Translations from eints
...
english (au): 12 changes by krysclarke
spanish (mexican): 24 changes by absay
english (us): 12 changes by 2TallTyler
russian: 12 changes by Ln-Wolf
french: 1 change by glx22
portuguese: 16 changes by azulcosta
2 years ago
Jonathan G Rennison
502b263d25
Increase maximum engine name length
2 years ago
Jonathan G Rennison
1eb18e5d24
Debug: Add a flag to disable viewport thread jobs
2 years ago
Jonathan G Rennison
551ef03478
Fix data race with mixer thread performance measurements
2 years ago
Jonathan G Rennison
7685c36f35
Implement partial parallelisation of non-map mode viewport rendering
2 years ago
Jonathan G Rennison
07b752fe69
Add a generic worker thread pool job executor mechanism
2 years ago
translators
e2f661b281
Update: Translations from eints
...
spanish: 24 changes by MontyMontana
2 years ago
Jonathan G Rennison
ee2763dcfd
Avoid using globals to control drawing of viewport sprites
2 years ago
stormcone
0d303d6c3f
Feature: Add cargo filter support to vehicle list. ( #8308 )
2 years ago
SamuXarick
a8a7f95665
Change: Allow to build dock on clearable watered object tiles ( #8514 )
2 years ago