Commit Graph

53768 Commits

Author SHA1 Message Date
Jonathan G Rennison
cb9c657f59 Fix selected state of dispatch is/not first/last dropdown in order window 2022-11-17 20:43:57 +00:00
Jonathan G Rennison
cbf41a6343 Fix crash when clicking counter or schedule non-train conditional order 2022-11-17 20:24:04 +00:00
Jonathan G Rennison
ff3e275c43 Change no_depot_order_warn setting default to off 2022-11-17 20:23:21 +00:00
Jonathan G Rennison
e92aaade42 NetworkCompanyIsPassworded should return false in single player mode 2022-11-17 00:42:34 +00:00
Jonathan G Rennison
1e769d050f Leave PLYP chunk unchanged when loading/saving server saves in non-MP 2022-11-17 00:40:12 +00:00
Jonathan G Rennison
dc03bac241 Saveload: Change SlLoadFromBuffer to take a template functor 2022-11-17 00:33:53 +00:00
TELK
bb3549ced9 Update: Korean translation up to 0.49.1 2022-11-14 19:49:30 +09:00
Jonathan G Rennison
f24cdc1fc9 Version: Committing version data for tag: jgrpp-0.49.1 2022-11-13 18:43:27 +00:00
Jonathan G Rennison
8264e2ca4f Fix missing includes in network_internal.h 2022-11-13 18:43:19 +00:00
Jonathan G Rennison
8020f6d481 Add road stop flags to only show in the road or tram build menus 2022-11-13 16:36:55 +00:00
Jonathan G Rennison
6f963a1268 Include company infrastructure totals in state checksum 2022-11-13 11:53:16 +00:00
Jonathan G Rennison
5e00d535bc Debug: Detect which frame's state first diverged after a desync 2022-11-13 01:08:39 +00:00
Jonathan G Rennison
7582993d00 Crashlog: Show frame counters with sync dates 2022-11-13 01:08:39 +00:00
Jonathan G Rennison
1572b66ecf Debug: Show frame counter in command log when networking 2022-11-13 01:08:39 +00:00
Peter Nelson
cb10ed1509 Change: Move error window padding to widget level.
This simplifies calculation during drawing.
2022-11-12 18:28:39 +00:00
Peter Nelson
cd0d5a771d Fix: Engine preview text overly padded.
WIP_EP_QUESTION is already padded at the widget level, so no need to apply
extra padding to left/right.
2022-11-12 18:28:39 +00:00
Peter Nelson
f5f035a22b Codechange: Make use of Rect Width/Height helpers. 2022-11-12 18:28:39 +00:00
Peter Nelson
632464a623 Codechange: Use Rect in DropDownListItem::Draw(). 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
17d1fe26c2 Codechange: Helpers to allow passing a Rect to some functions. 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
18201dfbc3 Cleanup: Simplify CenterBounds() 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
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
Artin Alavi
cbac243216 Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058) 2022-11-10 21:39:09 +01:00
Artin Alavi
fd4f148c62 Feature: Hotkey to honk a vehicle's horn (#10110) 2022-11-10 21:36:18 +01:00
Jonathan G Rennison
5dcffe3142 Add variants of Gfx draw functions which take a DPI 2022-11-10 19:48:27 +00:00
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
2022-11-10 19:48:14 +00:00
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
2022-11-10 18:50:49 +00:00
Jonathan G Rennison
502b263d25 Increase maximum engine name length 2022-11-10 00:45:47 +00:00
Jonathan G Rennison
1eb18e5d24 Debug: Add a flag to disable viewport thread jobs 2022-11-10 00:45:47 +00:00
Jonathan G Rennison
551ef03478 Fix data race with mixer thread performance measurements 2022-11-10 00:45:47 +00:00
Jonathan G Rennison
7685c36f35 Implement partial parallelisation of non-map mode viewport rendering 2022-11-09 22:24:31 +00:00
Jonathan G Rennison
07b752fe69 Add a generic worker thread pool job executor mechanism 2022-11-09 21:57:05 +00:00