Peter Nelson
|
1180c95372
|
Codechange: Add parameters to change range of slider widget.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
d8e01f8aa5
|
Codechange: Add some Rect helpers.
Shrink/Expand/Translate are marked nodiscard as they provide a new Rect
rather than modifying the original Rect.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
13d271217f
|
Change: Sprite-scale inter-character spacing of fonts.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
d35f1d3d06
|
Codechange: Rename slider widget functions to be less specific.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
17d1fe26c2
|
Codechange: Helpers to allow passing a Rect to some functions.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
ed60c88b0a
|
Change: Use power-of-2 scaling for some dimensions in GUI.
These are related to drawing sprites that are normally drawn on the
landscape, and should therefore still follow power-of-2 scaling to fit
correctly.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
23a8222200
|
Change: Split vscroll and hscroll padding.
Vertical and horizontal scrollbars are different sizes, this allows
different padding for each type.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
eb4ba1991b
|
Change: Use CenterBounds function in more places.
CenterBounds may have a 1 pixel difference so the result is not exactly
the same.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
062ea68422
|
Change: Scale position of font shadow.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
90ce704366
|
Change: Use scaled WidgetDimensions for core widgets.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
18201dfbc3
|
Cleanup: Simplify CenterBounds()
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
dd90d79e7b
|
Add: Setting to toggle thin vs chunky (scaled) bevels.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
0bb9a45785
|
Change: Simplify drawing widget image buttons.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
ab55d3e1fa
|
Change: Rearrange layouts of station/depot picker windows.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
e554fd7808
|
Change: Hide WidgetDrawDistances from general use.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
d0add1e07f
|
Change: Ignore offsets when drawing GUI sprite.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
890b2666d3
|
Change: Use scaled WidgetDimensions.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
b5693becdc
|
Add: Define scaled WidgetDimensions.
Includes RectPadding container.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
b6ed595176
|
Codechange: Prefer suggested widget padding.
|
2022-11-12 18:28:39 +00:00 |
|
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.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
68423c40c5
|
Fix: Off-by-one in GetAlignedPosition().
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
47f4fc6a70
|
Add: NWidgetPart SetPadding via RectPadding
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
dd9f6bc803
|
Change: Use RectPadding Horizontal()/Vertical() helpers.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
04cbe57d2a
|
Change: Use RectPadding for widget padding/uz_padding.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
75b222b0d9
|
Add: RectPadding type.
This is similar to Rect but specifies padding to apply to a Rect.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
5786d49143
|
Change: Use Rect when drawing build engine list.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
46a1ab0937
|
Change: Use Rect when drawing infrastructure window.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
c9a81fd67b
|
Change: Use Rect for drawing vehicle details.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
3ff05321dc
|
Change: Use standard padding for AI Debug window.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
1f1378c129
|
Change: Align picker previews to button centre.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
cb059fc081
|
Change: Use Rect for QueryString editor.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
fea7247072
|
Change: Use standard 'frametext' padding for settings window.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
6f95e04005
|
Change: Use Rect helpers for widget drawing.
This replaces repetitive and sometimes unwieldy use of constants.
|
2022-11-12 18:28:39 +00:00 |
|
Jonathan G Rennison
|
7c3c92f8b8
|
Fix #10155: SyncCompanySettings sending old instead of new setting values (#10158)
|
2022-11-12 17:24:31 +00:00 |
|
Tyler Trahan
|
1e0d5998db
|
Fix #10154: Don't inconsistently set random company face in network games
(cherry picked from commit 638b75d4763a412085157eea7e09e9d74db268cd)
|
2022-11-12 16:20:19 +00:00 |
|
Jonathan G Rennison
|
3176313576
|
Avoid blocking network and game when writing desync savegames
|
2022-11-12 16:18:15 +00:00 |
|
Jonathan G Rennison
|
3665c01539
|
Fix crash if client's connection fails during error sending
|
2022-11-12 15:00:32 +00:00 |
|
Jonathan G Rennison
|
ff0bed96a4
|
Fix SyncCompanySettings not sending correct setting values
|
2022-11-12 13:44:11 +00:00 |
|
Jonathan G Rennison
|
8724904a1f
|
Avoid out of bound shift in NetworkCompanyIsPassworded(COMPANY_SPECTATOR)
|
2022-11-12 12:17:22 +00:00 |
|
Joel-Milligan
|
59645c6733
|
Change: Remove scrollbar from town authority actions panel (#9928)
|
2022-11-11 23:52:38 +01:00 |
|
Jonathan G Rennison
|
64b437fa89
|
Fix: Data race with mixer thread performance measurements
|
2022-11-11 23:48:24 +01:00 |
|
Jonathan G Rennison
|
0fae0599b7
|
Fix: Data race on effect volume setting with mixer thread
|
2022-11-11 23:48:24 +01:00 |
|
Jonathan G Rennison
|
a962d7476b
|
Fix: Data races on MixerChannel active states
|
2022-11-11 23:48:24 +01:00 |
|
Artin Alavi
|
5d6cdf4385
|
Feature: Allow AI/GS to be fully modified in scenario editor (#10152)
|
2022-11-11 23:48:07 +01:00 |
|
translators
|
3f579fa7dc
|
Update: Translations from eints
dutch: 12 changes by Afoklala
|
2022-11-11 18:54:11 +00:00 |
|
Jonathan G Rennison
|
2b5456a664
|
Squirrel: Change SQRefCounted allocator to avoid undefined behaviour
|
2022-11-11 18:03:33 +00:00 |
|
Jonathan G Rennison
|
449ed7aa51
|
Fix drawing of dirty block overlays
|
2022-11-10 23:47:51 +00:00 |
|
Jonathan G Rennison
|
8c2dd8d7fb
|
Fix handling of LinkGraphOverlay dirty flag
|
2022-11-10 23:40:13 +00:00 |
|
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
|
2022-11-10 22:34:14 +00:00 |
|
Jonathan G Rennison
|
2f4f862480
|
Viewport: Do bounding boxes and link graph/route overlays in threaded part
|
2022-11-10 20:48:43 +00:00 |
|