Commit Graph

40114 Commits (18efab1dbb4efb98c26f72c5ea0e800cee5dc9ec)

Author SHA1 Message Date
Jonathan G Rennison 08b83352bf Fix truncation of variable mapping A2VM->VPRM params wider than 8 bits
And remapped variables via variable 7B
2 years ago
Jonathan G Rennison da629e4cfa VarAction2: Replace divs of powers of 2 with shifts where possible 2 years ago
Jonathan G Rennison fad5973161 VarAction2: Reduce shift right and mask ops into adjust shift/mask 2 years ago
Jonathan G Rennison 012d73ef34 VarAction2: Detect equality comparisons
Remove redundant equality with 0 comparison before ternary
2 years ago
Jonathan G Rennison 7283825638 VarAction2: Detect and replace ternary operator pattern 2 years ago
Jonathan G Rennison e3df522111 VarAction2: Delete provably zero adjustment operations 2 years ago
Jonathan G Rennison 502980ba61 Support railtype-dependant GRF train speed limits with realistic braking
See: #389
2 years ago
Jonathan G Rennison aeac77e012 Fix engine callbacks not being analysed in newly generated games 2 years ago
translators d89e7484c8 Update: Translations from eints
swedish: 15 changes by joeax910
2 years ago
translators 59f16b1a38 Update: Translations from eints
korean: 5 changes by telk5093
russian: 12 changes by Ln-Wolf
2 years ago
Jonathan G Rennison 1a38cbde74 Fix ships not always updating in viewport map mode
Adjust sprite_seq_bounds to plausible value matching current rotation
to fix viewport update region missing vehicle tile
2 years ago
Jonathan G Rennison cf3ea7b6af Debug: Include x_offs/y_offs in vehicle debug window 2 years ago
Jonathan G Rennison 0ac96a0da3 Show vehicle inspect window when ctrl-shift clicking in group list window 2 years ago
TELK 7ec5d7b8de Update: Korean translation up to 6107aa9 2 years ago
translators 8d8f45f0dd Update: Translations from eints
russian: 25 changes by Ln-Wolf
2 years ago
translators 3a2c0531b6 Update: Translations from eints
italian: 1 change by Rivarossi
polish: 2 changes by pAter-exe
2 years ago
translators b1e24a0ae3 Update: Translations from eints
italian: 22 changes by Rivarossi
2 years ago
Jonathan G Rennison 6107aa9e5c Render an overlay of the measurement tool area in viewport map mode
See: #388
2 years ago
Jonathan G Rennison 981104e308 Add a functor fill mode to GfxFillPolygon 2 years ago
Jonathan G Rennison 9fddfdeccf Fix viewport map scrolling box blend over vehicles on animated blitters 2 years ago
Jonathan G Rennison a9caeaa7f1 Fix viewport map scrolling box blend on emscripten 2 years ago
Jonathan G Rennison b92ae644c4 Add a Blitter::SetPixel32 function 2 years ago
Jonathan G Rennison b464c589af Reduce blitter MoveTo calls when drawing viewport map scrolling box blend 2 years ago
translators 9d979a6d23 Update: Translations from eints
spanish (mexican): 1 change by absay
german: 25 changes by SecretIdetity
2 years ago
Jonathan G Rennison 16259e9619 Allow measurement tool in viewport map mode
See: #388
2 years ago
Jonathan G Rennison 4991309018 Fix timetable autofill activation when scheduled dispatch is active 2 years ago
translators 9842e8b762 Update: Translations from eints
spanish (mexican): 8 changes by absay
czech: 18 changes by adamek0202
russian: 1 change by Ln-Wolf
catalan: 5 changes by J0anJosep
2 years ago
Jonathan G Rennison ad47275d53 Disabling timetable automation without ctrl no longer clears timetable 2 years ago
translators f8c6034b93 Update: Translations from eints
spanish (mexican): 21 changes by absay
italian: 1 change by Rivarossi
russian: 12 changes by Ln-Wolf
2 years ago
translators fd1aa154f4 Update: Translations from eints
italian: 1 change by Rivarossi
russian: 16 changes by Ln-Wolf
2 years ago
Jonathan G Rennison 5b7db9d849 Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/commit-checker.yml
#	src/command.cpp
#	src/company_cmd.cpp
#	src/company_gui.cpp
#	src/crashlog.cpp
#	src/economy.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/korean.txt
#	src/misc_gui.cpp
#	src/newgrf_config.cpp
#	src/openttd.cpp
#	src/settings_gui.cpp
#	src/ship_cmd.cpp
#	src/table/settings/gui_settings.ini
2 years ago
translators adc76cca54 Update: Translations from eints
catalan: 2 changes by J0anJosep
2 years ago
benda 6540948ace
Fix: Company values do not properly account for shares (#9770)
Co-authored-by: Charles Pigott <charlespigott@googlemail.com>
2 years ago
Tyler Trahan fa562ba041
Fix #9712: Cap town bridge length at original 11-tile limit (#9890) 2 years ago
Tyler Trahan 37d318c410 Fix #9870: Don't update infrastructure totals when overbuilding object on canal 2 years ago
translators 24d7697acc Update: Translations from eints
spanish: 1 change by frosch123
2 years ago
translators 1eed52f294 Update: Translations from eints
swedish: 7 changes by translators
norwegian (bokmal): 1 change by translators
spanish (mexican): 41 changes by translators
japanese: 28 changes by translators
english (us): 4 changes by translators
vietnamese: 7 changes by translators
estonian: 60 changes by translators
korean: 9 changes by translators
greek: 4 changes by translators
hungarian: 2 changes by translators
indonesian: 5 changes by translators
italian: 12 changes by translators, 1 change by Rivarossi
german: 33 changes by translators
romanian: 11 changes by translators
russian: 4 changes by translators
finnish: 2 changes by translators
ukrainian: 5 changes by translators
slovak: 9 changes by translators
catalan: 14 changes by translators
turkish: 1 change by translators
danish: 1 change by translators
latvian: 5 changes by translators
dutch: 5 changes by translators
spanish: 98 changes by translators
portuguese: 6 changes by translators
portuguese (brazilian): 2 changes by translators, 1 change by marlondantas
polish: 13 changes by translators
2 years ago
translators 84aec4fcb8 Update: Translations from eints
english (us): 2 changes by 2TallTyler
italian: 2 changes by Rivarossi
russian: 5 changes by Ln-Wolf
dutch: 2 changes by Afoklala
french: 25 changes by glx22
portuguese: 2 changes by azulcosta
2 years ago
Tyler Trahan ebc76a4200 Change: Use an indent, not a dash, to list train capacity 2 years ago
Jonathan G Rennison dd40fa32df Fix excessive recursion in link graph refresher with conditional order loops 2 years ago
translators 646d160c38 Update: Translations from eints
italian: 3 changes by Rivarossi
2 years ago
translators 273b33b087 Update: Translations from eints
swedish: 5 changes by joeax910
2 years ago
Blinnikov Pavel c8043f6e00 Update sqbaselib.cpp
(cherry picked from commit 43a4b138a504c0464e6a7bb7b87ac2a90968b0aa)
2 years ago
translators 8d51156150 Update: Translations from eints
spanish (mexican): 20 changes by absay
italian: 7 changes by Rivarossi
2 years ago
Jonathan G Rennison 8eb0609541 Fix industry chain window not always updating map-mode viewports 2 years ago
Jonathan G Rennison 5c2fb5c160 Make tree tile grass ground density update speed independent of growth speed
See #386
2 years ago
Jonathan G Rennison 91f740424b Fix #386: Tree tile grass ground density update when tree growth/spread disabled 2 years ago
translators 867f6a5964 Update: Translations from eints
spanish (mexican): 9 changes by absay
polish: 3 changes by pAter-exe
2 years ago
translators 9c58ea7a37 Update: Translations from eints
swedish: 2 changes by joeax910
spanish (mexican): 62 changes by absay
korean: 25 changes by telk5093
polish: 72 changes by pAter-exe
2 years ago
translators 5e5f864990 Update: Translations from eints
english (us): 1 change by 2TallTyler
italian: 1 change by Rivarossi
2 years ago
Niels Martin Hansen 0dce7bf85d Add: Commandline option to skip NewGRF scanning 2 years ago
Niels Martin Hansen 588fee5473 Codechange: Document the _ship_subcoord table 2 years ago
translators c6e4fa7df1 Update: Translations from eints
italian: 11 changes by Rivarossi
dutch: 24 changes by Afoklala
2 years ago
Charles Pigott 146827c458
Fix #9877: GS could trigger 'Cost: 0' cost message (#9878) 2 years ago
translators 142321da79 Update: Translations from eints
spanish (mexican): 1 change by absay
russian: 4 changes by Ln-Wolf
catalan: 20 changes by J0anJosep
french: 1 change by glx22
portuguese: 1 change by azulcosta
2 years ago
Jonathan G Rennison 1714773457 Adjust baseline for arctic snowline dynamic width setting to lower value 2 years ago
translators 1ed212775c Update: Translations from eints
galician: 27 changes by pvillaverde
2 years ago
Niels Martin Hansen 5b86bce7b2 Change: Log video driver info string instead of just name in crashlog 2 years ago
Niels Martin Hansen 345dcd3c7b Add: Show current video driver info in Options window 2 years ago
translators be72f1e54b Update: Translations from eints
spanish (mexican): 18 changes by absay
italian: 30 changes by Rivarossi
russian: 17 changes by Ln-Wolf
portuguese: 25 changes by azulcosta
2 years ago
translators b8565d8cac Update: Translations from eints
spanish (mexican): 10 changes by absay
english (us): 23 changes by 2TallTyler
russian: 22 changes by Ln-Wolf
french: 24 changes by glx22
2 years ago
translators e5c1865e76 Update: Translations from eints
swedish: 5 changes by joeax910
spanish (mexican): 3 changes by absay
korean: 3 changes by telk5093
italian: 56 changes by Rivarossi
german: 3 changes by danidoedel
romanian: 1 change by ALEX11BR
ukrainian: 8 changes by StepanIvasyn
2 years ago
Jonathan G Rennison 452d22ce37 Add setting for width of dynamic snowline range for arctic tree placement
Default: 75%
2 years ago
Loïc Guilloux 7331149dde
Codechange: [CMake] Pass API files list via a file to minimise command line length (#9874) 2 years ago
Andrew Zhou c183f07c15 Fix: Prevents crash when no industries are present
(cherry picked from commit 5ea55f3948)
2 years ago
glx22 fb1ac307a4 Fix 44f2ef1: [strgen] Allow gender for {CARGO_SHORT} 2 years ago
Tyler Trahan ec90fb4c99 Fix #6544: Don't join AI company when loading network game in singleplayer 2 years ago
Andrew Zhou 5ea55f3948 Fix: Prevents crash when no industries are present 2 years ago
Andy 24c07f1640 Change: increase vehicle sprite stack from 4 layers to 8 (#9863)
(cherry picked from commit 1cfdbb4dea)
2 years ago
Jonathan G Rennison c4e2175cc9 Merge branch 'master' into jgrpp 2 years ago
Jonathan G Rennison 03bdb28c02 Allow pre_cb to transform incoming enum value in ValidateEnumSetting 2 years ago
Jonathan G Rennison e9f6559d36 Merge branch 'pr-384' into jgrpp 2 years ago
Jonathan G Rennison ed30542acf Cache highest snowline value 2 years ago
Jonathan G Rennison 0ec6f659c2 Adjust default height of company infrastructure window 2 years ago
Andreas Schmitt 114bed4549 Fix z-check for flat road foundations 2 years ago
Jonathan G Rennison f37575d170 Make company infrastructure window scrollable 2 years ago
Andy 1cfdbb4dea
Change: increase vehicle sprite stack from 4 layers to 8 (#9863) 2 years ago
Andreas Schmitt c55051a135 Make arctic treeline feature use the dynamic snowline if present 2 years ago
Tyler Trahan 41de69c5b7 Feature: Improved Finance window 2 years ago
Tyler Trahan f4ca94d3f6 Codechange: Revenue is not the same as Income
Income is revenue minus costs. Let's name things correctly (without breaking the script API).
2 years ago
Jonathan G Rennison 76e12c994d Crash log: Write log to file and console as it is being generated on Unix 2 years ago
Jonathan G Rennison 0a31b27a20 Fix water infra total when building water over canal with object
See: https://github.com/OpenTTD/OpenTTD/issues/9870
2 years ago
Jonathan G Rennison ef379b5214 Fix DC_FORCE_CLEAR_TILE water removal not removing docking tiles
See: https://github.com/OpenTTD/OpenTTD/issues/9869
2 years ago
Tyler Trahan e79724ea22
Feature: Alternative linkgraph colour schemes (#9866) 2 years ago
Jonathan G Rennison b3893878bb Fix #9867: Industry::stations_near not filled at industry creation 2 years ago
Jonathan G Rennison e3837e790d Fix new industry next to existing stations not filling industry stations_near 2 years ago
translators ed0b0b80d3 Update: Translations from eints
spanish (mexican): 84 changes by absay
italian: 16 changes by Rivarossi
2 years ago
translators 4e09dbc86e Update: Translations from eints
spanish (mexican): 137 changes by absay
italian: 10 changes by Rivarossi
2 years ago
translators cc4186410b Update: Translations from eints
spanish (mexican): 8 changes by absay
italian: 13 changes by Rivarossi
2 years ago
translators 869b645708 Update: Translations from eints
italian: 33 changes by Rivarossi
polish: 5 changes by pAter-exe
2 years ago
translators 6c161ad18a Update: Translations from eints
italian: 2 changes by Rivarossi
2 years ago
Jonathan G Rennison b6c967aae3 Adjust order of station name assignments 2 years ago
Jonathan G Rennison a54416afbc Add GRF variable to use extra station names even when default names remain 2 years ago
translators 6cb668955e Update: Translations from eints
italian: 7 changes by Rivarossi
2 years ago
Jonathan G Rennison fcc74c1650 Be less strict about distance form centre for town-only station name
For large towns
2 years ago
Jonathan G Rennison 40708c5b47 Fix #380: CcAddNewSchDispatchSchedule missing from network callback table 2 years ago
translators 585e49a597 Update: Translations from eints
italian: 2 changes by Rivarossi
2 years ago
Joan Josep bcf26f8ec0
Doc: Fix some spelling mistakes (to->two, tileindex->TileIndex). (#9857) 2 years ago
translators 98bdf01967 Update: Translations from eints
italian: 5 changes by Rivarossi
romanian: 7 changes by alexban011
2 years ago
TELK 483e2f6a74 Update: Korean translation up to 2bfa53f 2 years ago
Loïc Guilloux ef4b699f40
Fix #9853, 648ee88: incorrect merge of guiflags and flags for osk_activation (#9855) 2 years ago
translators a24ba6c264 Update: Translations from eints
italian: 2 changes by Rivarossi
2 years ago
Jonathan G Rennison 2bfa53fcdd Hide build river button when disabled instead of visually disabling it 2 years ago
Jonathan G Rennison 7ccbc6f296 Use separate tool-tip string for building rivers in game
See: #378
2 years ago
Jonathan G Rennison 8a9afd4621 Add road stops flag for drive-through stops only 2 years ago
Jonathan G Rennison 25dc483de0 Fix duplicate text in tram road stops build window 2 years ago
Jonathan G Rennison ad0dc6dc87 Add road stops flag to disable drawing catenary 2 years ago
translators 3cf0e95f6e Update: Translations from eints
italian: 1 change by Rivarossi
2 years ago
translators 7c40967c1f Update: Translations from eints
polish: 14 changes by pAter-exe
2 years ago
translators 385c2f1381 Update: Translations from eints
polish: 4 changes by pAter-exe
2 years ago
translators 49b8eac2dc Update: Translations from eints
chinese (simplified): 3 changes by HansKaffee
italian: 30 changes by Rivarossi
polish: 14 changes by pAter-exe
2 years ago
translators 1ae34ca62d Update: Translations from eints
catalan: 4 changes by J0anJosep
dutch: 5 changes by Afoklala
polish: 43 changes by pAter-exe
2 years ago
translators bd6531d0d0 Update: Translations from eints
vietnamese: 4 changes by KhoiCanDev
2 years ago
translators 5dd9400fe2 Update: Translations from eints
english (us): 4 changes by 2TallTyler
2 years ago
translators ee105257ff Update: Translations from eints
russian: 4 changes by Ln-Wolf
french: 4 changes by glx22
2 years ago
translators a6ada35259 Update: Translations from eints
portuguese: 4 changes by azulcosta
2 years ago
translators c36fc98137 Update: Translations from eints 2 years ago
Tyler Trahan 1c580d1612 Change: Improve "local authority rating" setting name and helptext 2 years ago
Tyler Trahan f92cf38ab5 Feature: Allow disabling local authority control of company actions 2 years ago
Jonathan G Rennison 34af4844d1 Merge branch 'master' into jgrpp 2 years ago
Jonathan G Rennison a8d99215d7 Fix crash when road vehicle leaves bus/truck stop when it is has no orders 2 years ago
Aaron Katzin 148695c571
Fix #9736: Duplicate multiplayer window opens upon canceling password entry (#9842) 2 years ago
Jonathan G Rennison f86f77b7a5 Fix viewport town/industry tooltips shown on mouseover in right-click mode 2 years ago
Jonathan G Rennison 5f511f8a65 Fix incorrect check preventing ordering road vehicles to incompatible depots 2 years ago
Jonathan G Rennison d3efa2afe0 Show specific reason why vehicle cannot be ordered to a particular station 2 years ago
ALEX11BR 61c6fd3055 Fix: correct some mistaken Romanian real towns 2 years ago
Michael Lutz 8d54f76539 Fix #9837, 46bd2f1c: Road build with wrong half-tile ends. 2 years ago
Jonathan G Rennison 358e41d471 Merge branch 'pr-375' into jgrpp 2 years ago
Jonathan G Rennison 8babbb5fe3 Debug: Add misc debug bit for tropic mode zoning overlay 2 years ago
Jonathan G Rennison c59d78db11 Zoning: Fix restricted signal zoning mode with tunnels/bridges 2 years ago
pvillaverde 05ef9983f2 [Feat] Updated Galician translations up to v0.47.0 2 years ago
Dave Shifflett 0d9fdeda8e
Feature: Allow Shift+Insert as paste in edit box (#9836) 2 years ago
Jonathan G Rennison c4ea3e0335 Fully simulate slot occupancy changes in PBS res end dry-run mode 2 years ago
Michael Lutz 08a5478a93 Add: [NewGRF] Map seed as global variable.
This is useful to provide a feature-agnostic, stable random value that differs between games.
One of the possible uses is to e.g. use it to create pseudo-random regions for towns or industries.
2 years ago
Jonathan G Rennison da88e12990 Fix deny and penalty actions not being applied to no-entry signals 2 years ago
Patric Stout 68ec2a7877
Fix: removing long roads doesn't prioritize refusal of local authority over other errors (#9831) 2 years ago
Tyler Trahan d220debc6c
Change: Don't pay Property Maintenance on stations when Infrastructure Maintenance is disabled (#9828) 2 years ago
Tyler Trahan fbbc80f79e Fix #9020: Update station coverage highlight when adding/removing tiles 2 years ago
Jonathan G Rennison 40cdf7944a Fix 583663bc, 7953a1f8: Loading autosave setting from config file 2 years ago
Rubidium c73f578e8c Codechange: replace magic numbers and C-style arrays with C++-style array for share owners 2 years ago
Jonathan G Rennison 221120090e Fix wrong prefix in trace restrict enum
TRSACF_REMOVE_SPEED_ADAPT_EXEMPT in
TraceRestrictSpeedAdaptationControlField
2 years ago
Jonathan G Rennison 92142e5684 Add routing restriction action to make exempt from speed adaptation 2 years ago
Jonathan G Rennison 60a33feac8 Merge branch 'desert-tweaks' into jgrpp 2 years ago
Jonathan G Rennison 39d39a5c61 Reduce duplication in desert or rainforeset data search arrays 2 years ago
reldred 3bf2e850a5 undo the mess I made of JGR's fixes to my janky code 2 years ago
reldred e3e032518b Merge branch 'desert-tweaks' of https://github.com/reldred/OpenTTD-patches into desert-tweaks 2 years ago
reldred 59022c40f9 adjustments;
added lake tropic width adjustment
added an extra large setting to the coasts (51radius)
set minimum width for rivers and lakes to 2 (setting it to 1 actually CTD'd the game)
made max for rivers and lakes be 51 tiles to match the 51tiles of the coast setting.
2 years ago
Jonathan G Rennison f1b6eb932f Reduce duplication in CreateDesertOrRainForest 2 years ago
reldred 22305e8795 Allows configuring the width of the coast in tropic maps that generates as tropiczone_normal before the desert kicks in, it does this by creating two additional arrays which house the coordinates to create a filled circle of radius of 19 tiles, and 25 tiles. the default creates a radius of 13 tiles.
I'd eventually like to add an Extra Large setting but manually creating the array of coordinates is horrible.

I wedged this setting in beside the setting for tropic width around rivers despite it not fitting into the rivers/lakes category because it still feels the most relevant place for now.
2 years ago
Jonathan G Rennison e5a421b65a Merge branch 'master' into jgrpp
# Conflicts:
#	src/economy.cpp
#	src/linkgraph/refresh.cpp
#	src/order_cmd.cpp
#	src/saveload/vehicle_sl.cpp
#	src/station.cpp
#	src/station_base.h
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp
2 years ago
translators 0d8fbf647b Update: Translations from eints
latvian: 4 changes by lexuslatvia
2 years ago
Jonathan G Rennison 1e1b48323a Remove further obsolete comment about CmdScheduledDispatchSetStartDate 2 years ago
translators acaea776eb Update: Translations from eints
finnish: 2 changes by RedJimi
2 years ago
Jonathan G Rennison 3422915bfa Remove obsolete comments about CmdScheduledDispatchSetStartDate 2 years ago
Jonathan G Rennison e24d7c88bc Add road stop flag to not show one-way road overlays 2 years ago
Jonathan G Rennison 2ce5a93527 Add road stop variables for one-way road info 2 years ago
Jonathan G Rennison cb573a1523 Add road stop property to set cost multipliers 2 years ago
Jonathan G Rennison ff2640c0e3 Add more sub parts to road stop var 68 2 years ago
Rubidium 1c256a4be7 Fix: do not let shares in the company taking over another company disappear 2 years ago
Jonathan G Rennison ad046bdf22 Add a waypoint ground draw flag to NewGRF road stops
Adjust overlay draw conditions
2 years ago
Jonathan G Rennison 5109083564 Fix spec allocation issues when overbuilding a road stop with the same type 2 years ago
Jonathan G Rennison 6b03575dcd Fix road stop ground sprite/overlays in preview window 2 years ago
Jonathan G Rennison 8eddb494c2 Fix tram bus/truck stop windows, fix filter text left padding 2 years ago
Jonathan G Rennison 1dee6d2796 Fix drawing of custom road stop ground sprites on map 2 years ago
Jonathan G Rennison c503bd32c0 Fix road waypoint window not being closed when no longer placing 2 years ago
Jonathan G Rennison 5a2cc24190 Fix initialisation of new road stop specs 2 years ago
Tyler Trahan 89dba56782 Fix e740c24: Use correct command flag, not just DC_EXEC 2 years ago
translators 22f6502b14 Update: Translations from eints
chinese (traditional): 3 changes by benny30111
galician: 9 changes by mgtrad, 1 change by NicoSGF64
indonesian: 14 changes by bsuseno
2 years ago
Jonathan G Rennison 909b20ee68 Implement train speed adaptation on signalled tunnels/bridges
See: #373
2 years ago
Jonathan G Rennison df92b7e449 Merge branch 'road-stops' into jgrpp 2 years ago
dP 36bee83864
Change: Deliver cargo to the closest industry first (#9536) 2 years ago
Jonathan G Rennison 5428492d6b Add hotkeys for building road waypoints to the road/tram toolbars 2 years ago
Jonathan G Rennison 742b42cff6 Remove unused road stop constant 2 years ago
Jonathan G Rennison 50775f8b43 Increase road stop random bits to 8 bits 2 years ago
Jonathan G Rennison 650a359a16 Fix road stop road/tram type variables when not present and in GUI 2 years ago
Jonathan G Rennison a0e6380d7a Fix variable definition for road stop var 6A 2 years ago
Jonathan G Rennison 4a347e73bb Fix drawing road/tram type overlays for drive-through stops in GUI 2 years ago
Jonathan G Rennison 20c5d471be Fix implicit order generation with road vehicle leave stop next order check 2 years ago
Jonathan G Rennison ae3c4f2d6d If road vehicle next order is for same station when leaving, do not leave
Just start loading again without moving instead
2 years ago
Jonathan G Rennison a6190c9deb Fix crash in scheduled dispatch window with nearest depot dispatch order 2 years ago
Jonathan G Rennison 5119d61c82 If aircraft next order is for same station when leaving, do not leave
Just start loading again without moving instead
2 years ago
Niels Martin Hansen e68bf58989 Codechange: Use anonymous union for vehicle orders/old orders list 2 years ago
Jonathan G Rennison 2cbbae16da Add roadstop GRF properties to set bridge heights and disallowed pillars 2 years ago
Jonathan G Rennison 1a64d2a97e Add NewGRF extension names for road stop animation frame variables 2 years ago
Jonathan G Rennison 323810b4e1 Fix town local authority button not being redrawn
See: #372
2 years ago
Jonathan G Rennison 23c472d2a0 Add support for road stop animation, availability callback
Add animation, callback mask, general flags properties
Add animation frame variables
2 years ago
Jonathan G Rennison 0c3988c39b Fix GetAnimatedTileSpeed_Station for airport tiles 2 years ago
Jonathan G Rennison 67d967befb Add road stop support for Action 3 cargo type groups 2 years ago
Jonathan G Rennison 3b8c73acad Add/adjust NewGRF road stop variables 2 years ago
Jonathan G Rennison 64fb6251bf Implement NewGRF road waypoint selection window 2 years ago
Jonathan G Rennison 66db1863f2 Debug: Add NewGRF inspector support for road stops 2 years ago
Jonathan G Rennison a69eba31fe Implement NewGRF road stop root sprite group selection 2 years ago
Jonathan G Rennison 1084bb8566 Initial support for NewGRF road stops (bus and lorry stops) 2 years ago
Jonathan G Rennison a3c003546b Implement extended NewGRF variable parameter support 2 years ago
Jonathan G Rennison ecc4e79337 Fix non-rail bridge construction setting polyrail endpoints
See: #371
2 years ago
Jonathan G Rennison d659ce3189 Fix c040a69f: rail waypoint spec not being allocated for new waypoints 2 years ago
Niels Martin Hansen 41c40f130b Fix: Original music playback rate was slightly too fast
Found a new tempo value experimentally. The new value gives a timing error of less than 0.01 second per minute.
2 years ago
translators 81adc38176 Update: Translations from eints
japanese: 9 changes by Azusa257
2 years ago
Jonathan G Rennison c040a69fec Handle case where rail waypoint runs out of station spec slots 2 years ago
frosch 8028794bee
Fix #9811, 9156d7b: Use the NewGRF-defined vehicle center when dragging ships and aircraft. (#9812)
The alignment using the total-width of the vehicle-chain was meant for articulated trains and road vehicles only.
2 years ago
Jonathan G Rennison 2959221066 Debug: Add support for showing extended variables in object debug window 2 years ago
translators a83cd9b4f5 Update: Translations from eints
turkish: 1 change by AlphenLLC
2 years ago
Jonathan G Rennison bd4cfcee69 Fix d4f11eca: Missing break in switch 2 years ago
Jonathan G Rennison 4fde8d13a7 Merge branch 'master' into jgrpp
# Conflicts:
#	src/console_cmds.cpp
#	src/lang/belarusian.txt
2 years ago
Jonathan G Rennison d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 2 years ago
translators 83b6defbfb Update: Translations from eints
korean: 1 change by telk5093
turkish: 5 changes by AlphenLLC
2 years ago
Jonathan G Rennison 1d885c462f Fix incorrect string parameters for dispatch schedule assigned to depot
See: #368
2 years ago
Jonathan G Rennison acaf20120f Fix text colour in scheduled dispatch management dropdown items
See: #369
2 years ago
Jonathan G Rennison b68226aa07 Add colour flags field to DropDownListStringItem 2 years ago
Jonathan G Rennison 929ee23b34 Fix SetColourRemap when using TC_FORCED | TC_BLACK 2 years ago
Jonathan G Rennison d0d7d97691 Use static extended feature versions for SlIsObjectCurrentlyValid 2 years ago
Jonathan G Rennison fd3ea0dcd5 Fix upstream savegame loader not initialising non-upstream settings
See: #367
2 years ago
Jonathan G Rennison dacdb1137a Add extended feature array with static current version values 2 years ago
Jonathan G Rennison bffff8e357 Add feature array as parameter to SlXvIsFeaturePresent methods 2 years ago
Jonathan G Rennison 3353546966 Adjust linkgraph.aircraft_link_scale feature test 2 years ago
Jonathan G Rennison 29cd07d1c0 Fix aircraft link scale when loading previous savegame versions
See: #367
2 years ago
Tyler Trahan 7f0efbe00e
Feature: Remember the last-used signal between games (#9792) 2 years ago
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.
2 years ago
glx22 b6c5f49379 Change: add a timestamp in name of crash files 2 years ago
J0anJosep d9a37c915f Cleanup #9725: Replace cmd_helper related functions and remove cmd_helper.h. 2 years ago
translators 09b71c97aa Update: Translations from eints
belarusian: 35 changes by KorneySan
2 years ago
Jonathan G Rennison fedc0889ac Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/korean.txt
#	src/lang/thai.txt
2 years ago
translators b59acc7e2c Update: Translations from eints
thai: 122 changes by phetoffux
2 years ago
TELK 1c7263a736 Update: Korean translation up to a7bcb7e 2 years ago
translators 4ad6b1e58d Update: Translations from eints
thai: 8 changes by phetoffux
2 years ago
Jonathan G Rennison a7bcb7e62d Implement ottd_rdtsc for AARCH64 on GCC/clang 2 years ago
Jonathan G Rennison ed80a39b30 MacOSX: Mark CrashLogOSX::context as maybe_unused 2 years ago
Jonathan G Rennison ceb4f7fb82 Fix #365: Unused function warning on Mac OSX 2 years ago
Jonathan G Rennison 47f219d66d Settings GUI: Label sprite_zoom_min as should be left at default 2 years ago
Jonathan G Rennison e5c99b3601 Settings GUI: Add flag to mark a setting as should be left at default 2 years ago
Jonathan G Rennison 0a7a7ebcf0 Add build vehicle window sort mode: cargo capacity / running cost 2 years ago
translators 30da75941b Update: Translations from eints
swedish: 15 changes by joeax910
slovak: 5 changes by FuryPapaya
thai: 15 changes by phetoffux
2 years ago
Jonathan G Rennison 5a6a2400a5 Merge branch 'pr-364' into jgrpp 2 years ago
TELK 680344719b Fix: Korean translation 2 years ago
Jonathan G Rennison 6ccf020dc2 Fix #9802: Assertion failure in BuildRailWaypointWindow constructor 2 years ago
translators 61abfc9050 Update: Translations from eints
korean: 2 changes by telk5093
slovak: 14 changes by FuryPapaya
thai: 107 changes by phetoffux
2 years ago
Jonathan G Rennison ab823ad808 Fix b0f9cc38: Assertion failure still occurs via different path 2 years ago
Jonathan G Rennison b0f9cc389f Fix assertion failure in BuildRailWaypointWindow constructor 2 years ago
Jonathan G Rennison 70a65ac1c0 Road waypoints no longer block road inferred one-way state interpolation 2 years ago
Jonathan G Rennison ad9c85ad3c Fix crash when changing one-way state of road waypoints 2 years ago
Jonathan G Rennison b74de5ff2b Fix crash in road vehicle overtaking checks with road waypoints 2 years ago
Jonathan G Rennison 786f80e878 Fix removal of road waypoints during bankruptcy 2 years ago
TELK 6d9921ef72 Update: Korean translation up to 0.46-rc1 2 years ago
Jonathan G Rennison f5ef81f5ac Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/italian.txt
#	src/lang/tamil.txt
2 years ago
Jonathan G Rennison a03453da49 Add properties to set lighthouse and transmitter generation amounts 2 years ago
Jonathan G Rennison eeef6c485a Initial implementation of NewGRF feature ID mapping 2 years ago
Jonathan G Rennison ef3916928c Initial abstraction around NewGRF feature ID bytes 2 years ago
Jonathan G Rennison c69ed1711d Allow road vehicle go to station/waypoint orders to have a direction 2 years ago
Jonathan G Rennison afccf04188 Report road waypoint tiles as road to GRFs 2 years ago
Jonathan G Rennison c3c55db02b Implement road ground types for road waypoints 2 years ago