Commit Graph

40114 Commits (18efab1dbb4efb98c26f72c5ea0e800cee5dc9ec)

Author SHA1 Message Date
Jonathan G Rennison d83f0d0cda Crashlog: Use a temp file instead of a pipe to read from gdb/lldb 2 years ago
Jonathan G Rennison 4a0fa0cc75 Crashlog: Do not try to read from other executables if /dev/null is missing 2 years ago
Jonathan G Rennison 9d0e3e22b7 Fix being able to add/remove/modify tunnel/bridge signals when occupied 2 years ago
translators 9fca8af586 Update: Translations from eints
spanish (mexican): 7 changes by absay
2 years ago
Jonathan G Rennison 304f88dc40 VarAction2: Fix callback result detection in AnalyseEngineCallbacks 2 years ago
Jonathan G Rennison e0581db2a1 VarAction2: Remove dead stores and redundant adjusts in more cases 2 years ago
Jonathan G Rennison 541294e845 Debug: Add misc debug bit for animated tile zoning overlay 2 years ago
Jonathan G Rennison 8eb86fa6c7 GRF: Use access mask when evaluating get nearby tile information variable 2 years ago
Jonathan G Rennison 7207c9330c Tile loop: Add snow line check fast path for tiles well above snow line 2 years ago
Jonathan G Rennison d71e38446e Improve performance of string lookup in AddGRFString 2 years ago
translators a59c19c6c2 Update: Translations from eints
chinese (traditional): 24 changes by Tetrapod1206
italian: 6 changes by Rivarossi
2 years ago
Jonathan G Rennison 9a131a90ca Debug: Fix crash when inspecting train with realistic braking disabled
When realistic braking is otherwise enabled
2 years ago
Jonathan G Rennison 994dc683a2 VarAction2: Fix calculated result groups being incorrectly pruned 2 years ago
Jonathan G Rennison d6015194c1 Allow ctrl-clicking other company trains on own track to start/stop
See: #392
2 years ago
Jonathan G Rennison 74eaa77538 Debug: Add sprite dump button to industry/station tile debug windows 2 years ago
Jonathan G Rennison b102e912b3 VarAction2: Allow temp store dead store elmination with industries 2 years ago
Jonathan G Rennison b74873a2fb Debug: Show industry production sprite group registers/values 2 years ago
Jonathan G Rennison 4687a8c2a4 VarAction2: Prune group ranges for constant values
Add chicken bit to control pruning
2 years ago
Jonathan G Rennison c894d5a86d VarAction2: Add temp store dead store elimination 2 years ago
Jonathan G Rennison d9358efc3d VarAction2: Handle zero adjusts simple case in callback analyser 2 years ago
Jonathan G Rennison c38d0d0458 Debug: Show tile layout sprite group register flags/values 2 years ago
Jonathan G Rennison 4a8b2df108 Util: Add a non-dynamic arena allocator based on DynUniformArenaAllocator 2 years ago
Niels Martin Hansen 5587e439a9 Fix: Industry layouts with zero regular tiles should be invalid 2 years ago
Jonathan G Rennison a8eb52f061 VarAction2: Simplify handling of first adjustment 2 years ago
Jonathan G Rennison a5f5be2dff VarAction2: Detect ops on previous constants which become loads 2 years ago
Jonathan G Rennison 1fec7d6ddb VarAction2: Detect and replace reversed commutative op via temp storage 2 years ago
Jonathan G Rennison 762cfb3df7 VarAction2: Track temp store loads with respect to stores 2 years ago
Jonathan G Rennison 862d955320 Debug: Include var 7E procedures in sprite dump output 2 years ago
Jonathan G Rennison 6953150898 VarAction2: Move optimisation pass to separate function
Simplify logic slightly
2 years ago
Jonathan G Rennison 57c0ce1270 Fix public roads when traversing level crossings and other non-normal road 2 years ago
translators 578bb6638f Update: Translations from eints
chinese (traditional): 120 changes by wpi3
vietnamese: 2 changes by KhoiCanDev
2 years ago
translators e3a4524133 Update: Translations from eints
chinese (traditional): 130 changes by Tetrapod1206, 10 changes by wpi3
italian: 6 changes by Rivarossi
2 years ago
glx22 ed1457dca3 Fix 55170ae: [Script] Building two-way signals could end up one-way 2 years ago
Jonathan G Rennison 145536e1fd VarAction2: Detect and replace reverse subtract via temp storage 2 years ago
Jonathan G Rennison 381aa04660 Debug: Add sprite dump button to industry debug window 2 years ago
Jonathan G Rennison dd2e1fe956 Add chicken bit to disable varact2 optimisation 2 years ago
Jonathan G Rennison 72e2ee882e Fix 1a38cbde7: Ship viewport hash not updated on rotation 2 years ago
Jonathan G Rennison f0a0b2e200 VarAction2: Flatten constant operations on constants in more cases 2 years ago
Jonathan G Rennison 2360b3e93e VarAction2: Detect and replace scaled reads of train/RV/ship current speed 2 years ago
translators 992c72c0cb Update: Translations from eints
chinese (traditional): 365 changes by wpi3
2 years ago
Jonathan G Rennison 730b84e262 Fix load check of a savegame with realistic braking enabled triggering signal checks on current game 2 years ago
Jonathan G Rennison 13cdef2a2d VarAction2: Remove redundant and with 1 when value is already bool 2 years ago
Jonathan G Rennison 2f09eff404 VarAction2: Convert boolean, invert sequence to ternary 2 years ago
Jonathan G Rennison 90a2aa57fc VarAction2: Detect and replace signed relational comparisons 2 years ago
Jonathan G Rennison e732042785 VarAction2: Remove redundant constant loads 2 years ago
Jonathan G Rennison 74e1a40f7c VarAction2: Remove trivially resolvable deterministic sprite groups 2 years ago
Jonathan G Rennison 3b5eede3fc VarAction2: Detect and replace operations which always produce 0 2 years ago
translators 57230c559b Update: Translations from eints
swedish: 18 changes by joeax910
vietnamese: 26 changes by KhoiCanDev
2 years ago
Jonathan G Rennison a21ae12c90 VarAction2: Remove redundant temp store loads after stores 2 years ago
Jonathan G Rennison db5be4f92e VarAction2: Remove constant parameter redirection via variable 7B 2 years ago
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