Commit Graph

49716 Commits (6c82ac2647060a1ddf62a9e385988ff5174df5e4)
 

Author SHA1 Message Date
Jonathan G Rennison 6c82ac2647 Version: Committing version data for tag: jgrpp-0.39.2 4 years ago
Jonathan G Rennison 833fa42c3f GS: Enable the reload button in debug window for AI/GS developers 4 years ago
Jonathan G Rennison 77bf073939 Debug: Show all town persistent storage registers, not just the caller GRFID 4 years ago
Jonathan G Rennison aa46bf3a2b Debug: Truncate persistent storage printouts when only 0s remain 4 years ago
Jonathan G Rennison 5721790c5d Fix assert failure in DoStartupNewCompany when called from AfterLoadGame 4 years ago
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)
4 years ago
Jonathan G Rennison 760cab2632 Partial fix for https://github.com/OpenTTD/OpenTTD/issues/8437
(Part 2: helicopter landings)
4 years ago
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)
4 years ago
translators 316cccf301 Update: Translations from eints
french: 1 change by glx22

(cherry picked from commit 8c42f3a8d4)
4 years ago
Pavel Stupnikov f39a00d676 Feature: Set exclusive access to industry from GS (#8115)
(cherry picked from commit 9a45a0f535)
4 years ago
Niels Martin Hansen 4d97fbc814 Feature: Influence industry production changes from GS (#7912)
(cherry picked from commit b7751c483e)
4 years ago
Pavel Stupnikov b623d6f2ee Change: extend the allowed range for max loan setting (#8386)
(cherry picked from commit b2895dfcd0)
4 years ago
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)
4 years ago
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)
4 years ago
Patric Stout cc5ccc3b45 Fix: a cargos sneaked in; should be cargoes for consistency (#8383)
(cherry picked from commit e07afaeffb)
4 years ago
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)
4 years ago
Tyler Trahan 4714fea258 Change: set the default setting for autorenew to on for new games (#8352)
(cherry picked from commit f2a93dba0d)
4 years ago
jostephd 3088d41ac8 Feature: new velocity unit "tiles/day" (#8278)
(cherry picked from commit b1cf79da5b)
4 years ago
Pavel Stupnikov ba4626d450 Add: new economy "frozen" that stops production changes and industry closures (#8282)
(cherry picked from commit c9fd85528a)
4 years ago
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)
4 years ago
Jonathan G Rennison 483ed2f468 Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/commit-checker.yml
#	src/openttd.cpp
4 years ago
Jonathan G Rennison aefefb61c2 Fix GetSpriteMainColour with non-default zoom sprites
This fixes viewport map mode with extra zoom ground tile sets
4 years ago
Jonathan G Rennison ad5a97b7a1 Add console command to dump cargo types 4 years ago
Jonathan G Rennison 9906916b7b Debug: Include aircraft fields and station XY in debug window 4 years ago
Jonathan G Rennison e5d4fab138 Debug: Fix disabling auto-refresh not updating button 4 years ago
Jonathan G Rennison 3f3d5c106f Console: Add commands for conditional execution from game date 4 years ago
Jonathan G Rennison 5fe5884613 Debug: Add experimental command to switch baseset 4 years ago
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
4 years ago
Jonathan G Rennison 369c98e3e0 TBTR: Fix editing a template not refitting the head and artic/dual parts 4 years ago
Jonathan G Rennison 7b445cd436 Debug: Show vehicle cargo subtype in debug window 4 years ago
Jonathan G Rennison 3ea0ffa46b Debug: Add auto-refresh functionality to the debug window 4 years ago
Jonathan G Rennison c82f31bf03 Fix industry production scaling of periodic production callback 4 years ago
Jonathan G Rennison 5665d88067 Debug: Industries are now always inspectable in the debug window 4 years ago
Jonathan G Rennison 7b75fcf487 Show industry production callback mask values in industry debug window 4 years ago
Jonathan G Rennison 8ac436f507 Add setting to scale primary industry cargo production 4 years ago
Jonathan G Rennison c7fa284db4 Move scale factor setting scaling to common function 4 years ago
Jonathan G Rennison bfbd2de477 Fix decimal settings not permitting typing a '-' character 4 years ago
Jonathan G Rennison 93e7899c7f Debug: Show cargo in/out values in industry debug window 4 years ago
Jonathan G Rennison f0c3a4b42e Saveload: Store NewGRF name in savegame, include in missing GRF message 4 years ago
Jonathan G Rennison d328f359c9 Add string function to strip all SCC characters 4 years ago
Jonathan G Rennison 207c79a736 Saveload: Fix SLE*_CONDSSTR* macros 4 years ago
Jonathan G Rennison d818630c34 Debug: Show company ratings in town debug window 4 years ago
Jonathan G Rennison 8b94d92158 CMake: Suppress warning messages when Fcitx is not found 4 years ago
Patric Stout b7851e51ad Fix: set SP_WORKING_DIR earlier with '-c'
On Windows, relative folders don't work so well. So we need to
lookup the full path. This is best done in DetermineBasePaths()
and as a bonus that only sets SP_WORKING_DIR once.
4 years ago
Michael Lutz a660dce295 Fix: [CMake, MSVC] Don't copy regression exe's into a subfolder as they need have their lang files next to them. 4 years ago
Patric Stout abb746fae3
Fix: [Actions] cleanup ci-build workflow to be up-to-date (#8375)
Also, while at it, make it more like the upcoming release-workflow,
so they look a lot more similar.

Functional it should be the same, except that Windows should
now also output when a test fails.
4 years ago
Patric Stout 5d0331ecdc
Fix 8bef06a2: don't use "extern" when you want to implement a global (#8373) 4 years ago
Patric Stout da7c74ba7e Fix: change the working-dir searchpath when using '-c'
Basically, with '-c' you now create a sandbox. It will still use
your personal-dir and global-dir to find files you installed there,
but all new files are stored with a base folder identical to the
folder the configuration is in.

This is a bit of an old bug, that we many have tried to solve in
various of different ways. The code has grown sufficiently complex
that it is hard to see what consequences of actions are. This is
in my opinion the most harmless solution, while increasing the
usefulness of the '-c' flag.

In essence, the problem was that empty folders were always created
in the directory where the configuration was, but as that directory
wasn't added to any searchpath, files weren't stored there, unless
by accident it was a folder already on the searchpath. For example,
if you do './openttd -c local.cfg', it did work as expected. But
in the more generic variant, it did not.

With this patch, you can run './openttd -c /new/folder/local.cfg',
and it will create and prepare that folder to receive new files.

'content_download' is also stored in the directory the
configuration is in; this was already the case. Important to
note that there is only one search-path for 'content_download'.
In other words, when using '-c', it will not look in '~/.openttd'
inside the 'content_download' folder.
4 years ago
Patric Stout 4e12aac9c0 Codechange: to create or not to create a folder, that is the question
This was just weird. With XDG _personal_dir was created already,
but later on it was checked if it was different from config_dir,
and the creation was skipped. All this checking and validation
makes my head spin .. let's make it a bit more simple.
4 years ago
Jonathan G Rennison 5aac3d71ee Github: Remove regression tests from build workflow 4 years ago