Commit Graph

53482 Commits

Author SHA1 Message Date
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
Jonathan G Rennison
ad1e4ca334 Crashlog: Windows: Add BFD inline info support 2022-09-04 22:01:09 +01:00
Patric Stout
8ac0ab47b0
Update: to all the friends we have lost and those we have gained (#10000) 2022-09-04 22:01:08 +02:00
Jonathan G Rennison
3d39e439f6 Unix: Use _exit instead of exit on execvp failure in crashlog 2022-09-04 20:58:28 +01:00
Patric Stout
15f4d7c04c
Remove: [GitHub] old configuration file for stale-bot (#9998)
This bot was deactivated months (years?) ago.
2022-09-04 21:42:08 +02:00
Jonathan G Rennison
8b8a54fe62 CMake: Use line tables on Unix even when BFD not found 2022-09-04 19:42:10 +01:00
Jonathan G Rennison
0811990d4a Unix: Try using addr2line for crash log backtrace symbol resolution 2022-09-04 19:41:05 +01:00
Jonathan G Rennison
e3896b69d3 Fix #416: Division by zero for trains of 0 mass
In maximum achievable speed estimator
2022-09-04 18:20:09 +01:00
frosch
54ac304828
Fix: [NewGRF] Upper 16 random bits should be the same for all station tiles in callback 140. (#9992) 2022-09-03 22:37:03 +02:00
Jonathan G Rennison
0400f06d9e Debug: Show industry GRF local ID in debug window 2022-09-03 20:48:23 +01:00
Jonathan G Rennison
48d0a0e15c Fix #413: Truncation of expense type names in finance windows 2022-09-02 21:42:53 +01:00
Jonathan G Rennison
3d857333c8 Reduce delays with company bankrupcty/sale processing at high day lengths 2022-09-02 18:14:35 +01:00
Jonathan G Rennison
23fa7cd239 Improve handling of company sales
Avoid conflicts between bankruptcy and manual company sale paths
2022-09-02 18:13:47 +01:00
Jonathan G Rennison
142a5a95ec Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/release.yml
#	src/goal_cmd.h
#	src/industry_cmd.cpp
2022-09-01 17:47:30 +01:00
dP
c839950791
Cleanup: Remove duplicate command_type.h include (#9986) 2022-09-01 18:15:07 +02:00
frosch
9529703cab
Codechange: When checking industry placement conditions, perform cheap checks first. (#9987)
1. Built-in checks on industry level.
2. Built-in checks on industry tiles.
3. NewGRF-defined checks on industry level.
4. NewGRF-defined checks on industry tiles.
2022-09-01 18:13:43 +02:00
Aaron Katzin
2fe8a257ac
Add: [Actions] Ubuntu Jammy Jellyfish (22.04) build for releases (#9881) 2022-08-31 16:11:34 +02:00
Loïc Guilloux
31668b8f94
Fix #9914, 86818e5: prevent more useless pathfinder run for blocked vehicles (#9917) 2022-08-31 12:52:13 +02:00
Jonathan G Rennison
dc5e073379 Merge branch 'master' into jgrpp 2022-08-30 19:39:22 +01:00
Tyler Trahan
788b06fe0f
Change: New player companies use favorite manager face, if saved (#9895) 2022-08-30 16:26:02 +02:00
Joel-Milligan
3937953f72
Fix #9363: Rebuild client list on reinit event (#9929) 2022-08-30 14:56:19 +02:00
dP
ca23e8abcf Add step console command to advance n ticks
Cherry-picked from https://github.com/citymania-org/cmclient
Commit: 5ce2d21223a96934a83b8da43434c7a81f001ef0
2022-08-29 18:17:35 +01:00