Commit Graph

40248 Commits

Author SHA1 Message Date
Tyler Trahan
7f0efbe00e Feature: Remember the last-used signal between games (#9792) 2022-02-02 21:26:46 +00:00
Dave Shifflett
25ae42ae8a Feature: Add/extend console commands to enable screenshot automation (#9771)
* Add: `zoomto` console command for main viewport

Similar in spirit to `scrollto`, `zoomto` takes an absolute zoom level
from the user and sets the main viewport to that level while respecting
both the absolute minimum and maximum zoom levels supported by the game
and any limitations imposed by the local client settings.

* Add: optional `instant` flag for `scrollto` command

Using this flag has two effects:

- if the user has smooth scrolling enabled, the scroll action will take
  place as if it were not enabled
- the viewport is redrawn immediately, so any successive `screenshot`
  command will actually work correctly

The original positional arguments are processed like same before.
2022-02-02 21:24:29 +00:00
glx22
b6c5f49379 Change: add a timestamp in name of crash files 2022-02-02 21:32:01 +01:00
J0anJosep
d9a37c915f Cleanup #9725: Replace cmd_helper related functions and remove cmd_helper.h. 2022-02-02 21:30:15 +01:00
translators
09b71c97aa Update: Translations from eints
belarusian: 35 changes by KorneySan
2022-02-02 18:47:18 +00:00
Jonathan G Rennison
fedc0889ac Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/korean.txt
#	src/lang/thai.txt
2022-02-01 21:58:13 +00:00
translators
b59acc7e2c Update: Translations from eints
thai: 122 changes by phetoffux
2022-02-01 18:45:41 +00:00
TELK
1c7263a736 Update: Korean translation up to a7bcb7e 2022-02-01 18:53:13 +09:00
translators
4ad6b1e58d Update: Translations from eints
thai: 8 changes by phetoffux
2022-01-31 18:45:33 +00:00
Jonathan G Rennison
a7bcb7e62d Implement ottd_rdtsc for AARCH64 on GCC/clang 2022-01-31 02:50:27 +00:00
Jonathan G Rennison
ed80a39b30 MacOSX: Mark CrashLogOSX::context as maybe_unused 2022-01-31 02:38:10 +00:00
Jonathan G Rennison
ceb4f7fb82 Fix #365: Unused function warning on Mac OSX 2022-01-31 02:22:09 +00:00
Jonathan G Rennison
47f219d66d Settings GUI: Label sprite_zoom_min as should be left at default 2022-01-31 01:31:13 +00:00
Jonathan G Rennison
e5c99b3601 Settings GUI: Add flag to mark a setting as should be left at default 2022-01-31 01:30:23 +00:00
Jonathan G Rennison
0a7a7ebcf0 Add build vehicle window sort mode: cargo capacity / running cost 2022-01-30 22:09:16 +00:00
translators
30da75941b Update: Translations from eints
swedish: 15 changes by joeax910
slovak: 5 changes by FuryPapaya
thai: 15 changes by phetoffux
2022-01-30 18:44:28 +00:00
Jonathan G Rennison
5a6a2400a5 Merge branch 'pr-364' into jgrpp 2022-01-30 16:50:14 +00:00
TELK
680344719b Fix: Korean translation 2022-01-30 22:07:32 +09:00
Jonathan G Rennison
6ccf020dc2 Fix #9802: Assertion failure in BuildRailWaypointWindow constructor 2022-01-30 11:20:00 +01:00
translators
61abfc9050 Update: Translations from eints
korean: 2 changes by telk5093
slovak: 14 changes by FuryPapaya
thai: 107 changes by phetoffux
2022-01-29 18:54:25 +00:00
Jonathan G Rennison
ab823ad808 Fix b0f9cc38: Assertion failure still occurs via different path 2022-01-29 14:27:50 +00:00
Jonathan G Rennison
b0f9cc389f Fix assertion failure in BuildRailWaypointWindow constructor 2022-01-29 13:31:15 +00:00
Jonathan G Rennison
70a65ac1c0 Road waypoints no longer block road inferred one-way state interpolation 2022-01-29 13:31:15 +00:00
Jonathan G Rennison
ad9c85ad3c Fix crash when changing one-way state of road waypoints 2022-01-29 13:31:15 +00:00
Jonathan G Rennison
b74de5ff2b Fix crash in road vehicle overtaking checks with road waypoints 2022-01-29 13:31:15 +00:00
Jonathan G Rennison
786f80e878 Fix removal of road waypoints during bankruptcy 2022-01-29 13:31:15 +00:00
TELK
6d9921ef72 Update: Korean translation up to 0.46-rc1 2022-01-29 14:40:20 +09:00
Jonathan G Rennison
f5ef81f5ac Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/italian.txt
#	src/lang/tamil.txt
2022-01-29 00:05:07 +00:00
Jonathan G Rennison
a03453da49 Add properties to set lighthouse and transmitter generation amounts 2022-01-28 23:35:31 +00:00
Jonathan G Rennison
eeef6c485a Initial implementation of NewGRF feature ID mapping 2022-01-28 22:39:46 +00:00
Jonathan G Rennison
ef3916928c Initial abstraction around NewGRF feature ID bytes 2022-01-27 21:09:45 +00:00
Jonathan G Rennison
c69ed1711d Allow road vehicle go to station/waypoint orders to have a direction 2022-01-27 01:30:22 +00:00
Jonathan G Rennison
afccf04188 Report road waypoint tiles as road to GRFs 2022-01-26 22:33:07 +00:00
Jonathan G Rennison
c3c55db02b Implement road ground types for road waypoints 2022-01-26 22:15:17 +00:00
Jonathan G Rennison
7ff885fc96 Add replacement sprites for road waypoint buildings
Add action 5 sprite replacement support
2022-01-26 21:46:36 +00:00
Jonathan G Rennison
b4fc0b4dc5 Initial implementation of road waypoints 2022-01-26 21:46:36 +00:00
Jonathan G Rennison
ace75f6864 Widen station type field in map array 2022-01-26 21:46:35 +00:00
Jonathan G Rennison
fcc581fba9 Add static assert that number of commands does not exceed limit 2022-01-26 21:46:35 +00:00
Jonathan G Rennison
812933ffd4 Debug: Show names of remapped action 2 variables in sprite group dumper 2022-01-26 18:43:13 +00:00
Jonathan G Rennison
eddc6ddcdb Debug: Add sprite dumping to house inspect window 2022-01-26 18:10:49 +00:00
Jonathan G Rennison
08b6540c84 Fix wrong error message building bridge over obstructing station
When some bridge types are too long for the requested span
2022-01-26 02:54:44 +00:00
Jonathan G Rennison
bb848331b6 Fix narrowing conversion warning 2022-01-24 21:57:44 +00:00
Jonathan G Rennison
afa75ded1c Zoning: Fix unserved industry mode with passenger-handling industries 2022-01-24 18:30:18 +00:00
Jonathan G Rennison
acc9dffab7 Add object mapped variables for slope after foundation applied 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
33dc6c9688 Add NewGRF VarAction2 variable remapping infrastructure 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
e56fee612c Zoning: Fix unserved industries mode with partially overlapping catchment 2022-01-24 00:39:24 +00:00
Jonathan G Rennison
96d789dfbf Fix window preference save/load of build vehicle windows 2022-01-23 13:58:34 +00:00
Jonathan G Rennison
2e7f8d2e1e Add inclined foundation option to object edge foundation mode
Bump feature version
2022-01-23 13:17:13 +00:00
Jonathan G Rennison
e7c12f2ad4 Fix terraforming not resetting ground type for use land ground objects 2022-01-23 01:18:49 +00:00
translators
9e47df298f Update: Translations from eints
italian: 61 changes by denialmac
2022-01-22 18:44:46 +00:00