Commit Graph

53403 Commits

Author SHA1 Message Date
Jonathan G Rennison
f61562efef Fix network clients setting old company settings for new companies 2022-09-16 16:13:47 +01:00
Jonathan G Rennison
175ef00985 Avoid dangling company purchase timeout when no clients connected to company 2022-09-16 16:05:17 +01:00
Jonathan G Rennison
839746d2bb Fix template train move/sell command category for build while paused 2022-09-16 13:06:08 +01:00
Jonathan G Rennison
fc5e20719d Fix #423: Max TE/weight should not be shown for maglevs 2022-09-16 12:32:44 +01:00
Jonathan G Rennison
5825fec5bf Fix #427: Recursive DoCommandP call issuing CMD_DECLINE_BUY_COMPANY
Ignore shift and pause states for CMD_DECLINE_BUY_COMPANY command
2022-09-14 21:57:37 +01:00
Jonathan G Rennison
bd2593ca48 Add function to enqueue a DoCommandP call 2022-09-14 21:55:28 +01:00
Jonathan G Rennison
5cb6d2240a Add command flag to disable shift-key estimate mode in DoCommandP 2022-09-14 21:42:39 +01:00
Jonathan G Rennison
ece0a43146 Merge branch 'master' into jgrpp
# Conflicts:
#	src/newgrf_station.cpp
2022-09-14 19:43:12 +01:00
Fedello
3150151aa6
[Feat] Updated Galician translations up to v0.48.2 (#428)
* [Feat] Subsidy fix

* [Feat] Updated Galician Translation 0.48.2

* [Doc] Command used to obtain translations

Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2022-09-14 19:41:30 +01:00
translators
d29289addb Update: Translations from eints
english (us): 6 changes by 2TallTyler
russian: 2 changes by Ln-Wolf
portuguese: 6 changes by azulcosta
2022-09-13 18:59:58 +00:00
Loïc Guilloux
57717a20d3
Fix #9966: workaround a VS2022 optimisation bug (#10029) 2022-09-13 12:27:49 +02:00
dP
64453cb134
Fix: Incorrect player name in online players window (#10013) 2022-09-12 09:18:41 +01:00
Stephan Sokolow
e5643c65c1
Change: Use the Simulation subcategory in openttd.desktop (#10015)
Add the XDG Menu Spec-defined Simulation "Additional Category" so launchers can subcategorize the Games menu/section more effectively.
2022-09-12 09:18:13 +01:00
Andy
129979acf7
Change: 'string' is spurious in 'Filter string:' labels for filter UI widgets (#10022) 2022-09-12 09:17:18 +01:00
Andy
039f90d05f
Feature: add sticky pin to Object Selection UI panel (#10019) 2022-09-11 22:15:02 +02:00
frosch
e2c46fda3f Fix: [NewGRF] Ensure that stations always have an even number of sprite layouts.
The drawing code has a special fallbacks for zero layouts, but fails hard for one layout.
(odd numbers >= 3 are weird, but do not fail as badly as 1)
2022-09-11 21:26:06 +02:00
frosch
5c66de860d Fix: [NewGRF] Result bit 0 of callback 14 was not ignored in the GUI. 2022-09-11 21:26:06 +02:00
frosch
f7022925d3 Cleanup: [NewGRF] Callback 14 used a weird value for var10 in the GUI.
The value 0x2110000 probably originated from a mixup between callback 14 (sprite layout) and 24 (tile layout).
The latter does indeed use a var10 value like that.
2022-09-11 21:26:06 +02:00
Andy
a06d323f03
Feature: add shade widget to Object Selection UI panel (#10020) 2022-09-11 21:22:06 +02:00
Jonathan G Rennison
143230d8f2 Allow changing road vehicle driving side when all road vehicles in depots 2022-09-11 11:51:32 +01:00
Jonathan G Rennison
a8d5e56696 Crashlog: Only output dump files for MSVC builds 2022-09-11 10:28:57 +01:00
PeterN
f279fc5772
Fix: DrawStringMultiLine() could overdraw (#10014)
This function did not take the line height into account when checking text will fit before the bottom bounds.
2022-09-10 17:48:38 +01:00
Jonathan G Rennison
ad9d593a51 Fix assertion failure setting player face for new company in multiplayer
See: https://github.com/OpenTTD/OpenTTD/issues/10016
2022-09-10 10:55:29 +01:00
Jonathan G Rennison
2d473cca90 Version: Committing version data for tag: jgrpp-0.48.2 2022-09-09 20:48:15 +01:00
Jonathan G Rennison
22b2ce0bc6 Fix incorrect infrastructure totals when overbuilding bay road stop
With different road/tram type

See: https://github.com/OpenTTD/OpenTTD/issues/10011
2022-09-09 20:45:19 +01:00
Jonathan G Rennison
7a4b0417b0 Codechange: Fix unnecessary string reallocation in IConsoleLine constructor 2022-09-09 20:38:16 +01:00
Jonathan G Rennison
3a313324dc Fix #10010: Memory leak in IConsolePrint in non-dedicated case 2022-09-09 20:38:16 +01:00
Jonathan G Rennison
f4f221b1e0 Fix crash which could occur when adding plans in single player 2022-09-09 17:45:19 +01:00
Jonathan G Rennison
751e0a2d9e Merge branch 'master' into jgrpp 2022-09-09 17:36:01 +01:00
Jonathan G Rennison
62ffa130c0 Fix #420: Wrong string code in STR_NEWS_VEHICLE_AUTORENEW_FAILED 2022-09-09 17:28:17 +01:00
translators
0355299639 Update: Translations from eints
dutch: 36 changes by Bouke
2022-09-08 19:01:47 +00:00
Jonathan G Rennison
7c4c75d181 Add tracerestrict conditional on direction of order target from signal 2022-09-07 22:53:03 +01:00
Jonathan G Rennison
4e368beaca Fix #417: Wrong window caption for cargo payment graph in average speed mode 2022-09-07 20:43:49 +01:00
Jonathan G Rennison
da3b1b9c32 Template replacement: Show warning if chain not compatible with any rail type
See: #419
2022-09-07 20:01:49 +01:00
Jonathan G Rennison
764a67b168 Fix wrong header comment in CallVehicleTicks 2022-09-07 20:01:49 +01:00
Jonathan G Rennison
33e3e571d3 Return specific error when wagon purchase fails due to wrong depot type
See: #419
2022-09-07 20:01:49 +01:00
translators
0c848a9b3b Update: Translations from eints
dutch: 2 changes by Bouke
2022-09-07 18:59:13 +00:00
Jonathan G Rennison
a97d5cb333 Fix incorrect template replacement error message when chain not buildable
And no specific error returned

See: #419
2022-09-07 19:42:06 +01:00
Bouke Haarsma
18c210b013 Fix: title positioning on HiDPI displays 2022-09-07 01:32:37 +02:00
Jonathan G Rennison
5a39734a1c Allow station cargo histories to record larger values than 64k
See: #414
2022-09-06 23:03:46 +01:00
Jonathan G Rennison
1d93cd59e7 Add utility function for integer dynamic range extension encoding 2022-09-06 22:33:39 +01:00
Peter Nelson
2d2a5dd966 Fix: Change duration of news window scroll depending on GUI zoom. 2022-09-06 19:57:09 +01:00
Peter Nelson
8b989d4999 Fix: Update news window viewport if GUI zoom is changed. 2022-09-06 19:57:09 +01:00
Jonathan G Rennison
1e7ca9f71a Merge branch 'master' into jgrpp 2022-09-05 23:21:44 +01:00
Jonathan G Rennison
496ec7f642 Documentation: Add NML road stops random_bits_tile variable 2022-09-05 23:20:49 +01:00
Jonathan G Rennison
4b9d5a437f Add GS methods to set inflation factors
See: #415
2022-09-05 21:07:06 +01:00
Jonathan G Rennison
81291c4ffc Add AI/GS methods to get inflation factors
See: #415
2022-09-05 21:07:06 +01:00
translators
57fa8690df Update: Translations from eints
dutch: 1 change by Bouke
2022-09-05 18:56:06 +00:00
Jonathan G Rennison
4049cb1407 MacOS: Use _exit instead of exit on execvp failure in crashlog 2022-09-04 22:16:20 +01:00
Jonathan G Rennison
e64427d034 Crashlog: Unix: Add BFD inline info support 2022-09-04 22:01:23 +01:00