Commit Graph

49738 Commits

Author SHA1 Message Date
Jonathan G Rennison
4f44540eb9 Fix false positive desync messages for vehicle cached weight/length 2021-01-15 18:56:51 +00:00
Jonathan G Rennison
fc012d4874 Add NewGRF debug window inspection for waypoints 2021-01-15 17:15:16 +00:00
Jonathan G Rennison
6a6d9f3773 Fix tunnel/bridge PBS start tile in TryPathReserve 2021-01-14 17:53:28 +00:00
Jonathan G Rennison
d666036ffd TBTR: Close vehicles window when acquiring idle vehicle for replacement
This fixes possible duplicate vehicle windows, which is not allowed
2021-01-10 18:46:37 +00:00
Jonathan G Rennison
e4555a1749 TBTR: Fix use vehicles from depot function being overly aggressive
Do not use vehicles which have orders/shared orders, or are in a group
2021-01-10 18:36:09 +00:00
Jonathan G Rennison
dd16145b03 TBTR: No longer use idle vehicles in depots by default 2021-01-10 18:20:10 +00:00
Jonathan G Rennison
515aeb04e0 TBTR: Add support for vehicle reversed flag 2021-01-10 18:10:20 +00:00
Jonathan G Rennison
e9f7783327 TBTR: Allow flipping direction of vehicles in template editor 2021-01-10 17:00:28 +00:00
Jonathan G Rennison
212489cf38 Debug: Add debug window button to TBTR template editing window 2021-01-10 16:51:51 +00:00
Jonathan G Rennison
958aed1ad4
Merge pull request #211 from telk5093/jgrpp
Update: Korean translation for v0.39.2
2021-01-10 02:49:33 +00:00
Jonathan G Rennison
d0d2591900 Console: Use flag letters for dumped cargo classes 2021-01-09 19:56:34 +00:00
Jonathan G Rennison
4273ee4cec Console: Add flag summaries to dump road, tram, rail, bridge types 2021-01-09 19:30:16 +00:00
Jonathan G Rennison
d1e23551ec Fix handling of bridge signals when reversing inside wormhole
Fix handling of train detection when moving in wrong direction
2021-01-06 17:13:54 +00:00
Jonathan G Rennison
d32a282112 Fix bridges not being redrawn after all signals reset when cleared 2021-01-06 17:13:45 +00:00
Jonathan G Rennison
65d5d13a08 Avoid unnecessary viewport redrawing when (un)reserving signalled bridges 2021-01-06 17:13:35 +00:00
Jonathan G Rennison
6965a339c4 Fix crash when removing rail depot or road when debug window open on tile 2021-01-05 17:44:19 +00:00
Jonathan G Rennison
204f8e173f Fix sprite bound issues for vehicles which vary bounds with curvature
If a vehicle uses curvature vars 0x45 or 0x62, cache the directions
of its 4 nearest neighbours, and check them in UpdateViewport along
with the vehicle's own direction.
2021-01-03 16:12:59 +00:00
Jonathan G Rennison
bf313338c0 Debug: Show cached sprite bounds in vehicle debug window 2021-01-03 14:44:29 +00:00
Jonathan G Rennison
343777e749 OSX: Temporary bodge for WindowQuartzSubdriver::SetPortAlphaOpaque issue 2021-01-02 20:11:50 +00:00
Jonathan G Rennison
f2c492c351 Fix reversing behind waypoint/signal in bridges/tunnels 2021-01-02 12:09:29 +00:00
Jonathan G Rennison
13ff4f72ba Always show if train breakdown is due to RV collision 2020-12-30 23:16:14 +00:00
TELK
5695ca782d Update: Korean translation for v0.39.2 2020-12-31 01:41:07 +09:00
Jonathan G Rennison
6c82ac2647 Version: Committing version data for tag: jgrpp-0.39.2 2020-12-29 22:59:08 +00:00
Jonathan G Rennison
833fa42c3f GS: Enable the reload button in debug window for AI/GS developers 2020-12-29 21:53:53 +00:00
Jonathan G Rennison
77bf073939 Debug: Show all town persistent storage registers, not just the caller GRFID 2020-12-29 21:33:51 +00:00
Jonathan G Rennison
aa46bf3a2b Debug: Truncate persistent storage printouts when only 0s remain 2020-12-29 21:13:33 +00:00
Jonathan G Rennison
5721790c5d Fix assert failure in DoStartupNewCompany when called from AfterLoadGame 2020-12-29 20:52:53 +00:00
Charles Pigott
e8d811d472 Fix #8437: Planes landing at non-rectangular airports could be drawn at the wrong height
Only the rotated intercontinental airport, don't get excited

(cherry picked from commit 190528c2a9aaf4e90d0e768e6ad6afe6870af73d)
2020-12-29 10:53:52 +00:00
Jonathan G Rennison
760cab2632 Partial fix for https://github.com/OpenTTD/OpenTTD/issues/8437
(Part 2: helicopter landings)
2020-12-28 01:00:01 +00:00
translators
e19b3adef3 Update: Translations from eints
korean: 29 changes by telk5093
finnish: 8 changes by hpiirai
slovak: 6 changes by FuryPapaya
french: 6 changes by glx22

(cherry picked from commit 1a67954ff9)
2020-12-27 21:07:41 +00:00
translators
316cccf301 Update: Translations from eints
french: 1 change by glx22

(cherry picked from commit 8c42f3a8d4)
2020-12-27 21:07:41 +00:00
Pavel Stupnikov
f39a00d676 Feature: Set exclusive access to industry from GS (#8115)
(cherry picked from commit 9a45a0f535)
2020-12-27 21:07:41 +00:00
Niels Martin Hansen
4d97fbc814 Feature: Influence industry production changes from GS (#7912)
(cherry picked from commit b7751c483e)
2020-12-27 21:07:41 +00:00
Pavel Stupnikov
b623d6f2ee Change: extend the allowed range for max loan setting (#8386)
(cherry picked from commit b2895dfcd0)
2020-12-27 21:07:41 +00:00
frosch
e94656b5a5 Fix: [NewGRF] Action 7/9 conditions 0x0F to 0x12 failed, if 'param' was 0x88. (#8382)
Fix: [NewGRF] Action 7/9 conditions 0x0B to 0x12 failed, if 'param' was 0x85.
These conditions are supposed to ignore 'param' entirely.

(cherry picked from commit d5f05fb781)
2020-12-27 20:36:31 +00:00
SamuXarick
aaeb36e95d Fix: for original terrain generator, keep a single gap of water at the borders (#7883)
This means that for NE/NW, it should have one more in case of
freeform-edges, and in case of SE/SW it should have one less.

Reminder: freeform-edges only adds VOID tiles on X=0 and Y=0.
(cherry picked from commit 1d85d71d29)
2020-12-27 20:36:22 +00:00
Patric Stout
cc5ccc3b45 Fix: a cargos sneaked in; should be cargoes for consistency (#8383)
(cherry picked from commit e07afaeffb)
2020-12-27 20:36:13 +00:00
Patric Stout
020430529e Remove: [Azure Pipelines] So Long, and Thanks for All the Fish
Azure Pipelines has build our releases for two years now, but we
are finally switching to GitHub Actions. This to bring the full
workflow to a single place, making it easier for people to see
what is going on and how to influence the process.

(cherry picked from commit de614131e4)
2020-12-27 20:34:41 +00:00
Tyler Trahan
4714fea258 Change: set the default setting for autorenew to on for new games (#8352)
(cherry picked from commit f2a93dba0d)
2020-12-27 20:33:34 +00:00
jostephd
3088d41ac8 Feature: new velocity unit "tiles/day" (#8278)
(cherry picked from commit b1cf79da5b)
2020-12-27 20:33:24 +00:00
Pavel Stupnikov
ba4626d450 Add: new economy "frozen" that stops production changes and industry closures (#8282)
(cherry picked from commit c9fd85528a)
2020-12-27 20:32:34 +00:00
Patric Stout
488187a423 Fix: next 67 savegame versions are used in PatchPacks; skip them (#8411)
Various of PatchPacks (Spring 2013, Joker, ChillPP) used versions
slightly higher than ours. Of course, as time went by, this
caught up with us, and we are now almost pushing a new version
that would conflict with them. To avoid users creating unneeded
issues about "why can I not load my savegame", lets be ahead of
the curve and flat-out refuse to load them.

Version-wise, this is totally fine. We have ~32k versions to go
before we run out (0x8000 is masked by JGRPP; we should avoid
using that). At the rate we bump savegames, this is not going to
happen in any sane reality.

(cherry picked from commit d8c8f4e72d)
2020-12-27 20:29:25 +00:00
Jonathan G Rennison
483ed2f468 Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/commit-checker.yml
#	src/openttd.cpp
2020-12-27 20:16:16 +00:00
Jonathan G Rennison
aefefb61c2 Fix GetSpriteMainColour with non-default zoom sprites
This fixes viewport map mode with extra zoom ground tile sets
2020-12-27 03:03:05 +00:00
Jonathan G Rennison
ad5a97b7a1 Add console command to dump cargo types 2020-12-27 00:44:55 +00:00
Jonathan G Rennison
9906916b7b Debug: Include aircraft fields and station XY in debug window 2020-12-27 00:43:39 +00:00
Jonathan G Rennison
e5d4fab138 Debug: Fix disabling auto-refresh not updating button 2020-12-26 20:12:22 +00:00
Jonathan G Rennison
3f3d5c106f Console: Add commands for conditional execution from game date 2020-12-26 12:06:31 +00:00
Jonathan G Rennison
5fe5884613 Debug: Add experimental command to switch baseset 2020-12-26 10:54:01 +00:00
Jonathan G Rennison
78b06ddc40 TBTR: Fix palette recolouring of templates
Fix group overrides affecting template image when cloning vehicle
Update template when changing company colours

Update template images on demand instead of at load
2020-12-26 09:37:26 +00:00