Commit Graph

44700 Commits (jgrpp)

Author SHA1 Message Date
Jonathan G Rennison e9c8c36af7 Add missing include to src/sl/saveload.cpp 2 months ago
Rubidium 5d8e40cad4 Codechange: use int32_t instead of uint16_t for scroll bar position/size/capacity
(cherry picked from commit d09b5aaeba)

# Conflicts:
#	src/newgrf_debug_gui.cpp
#	src/newgrf_gui.cpp
#	src/widget_type.h
2 months ago
Peter Nelson 2219b8e378 Fix: Don't let CT_INVALID map to valid cargo type. (#12364)
(cherry picked from commit ff35288ddf)

# Conflicts:
#	src/cargotype.cpp
2 months ago
glx22 5b127ed23e Revert bbdbf9a: ScriptTimeMode was not the best solution for economy/calendar support
(cherry picked from commit 704e871a0e)

# Conflicts:
#	src/script/api/script_date.cpp
#	src/script/script_storage.hpp
2 months ago
frosch 0b6d73fab2 Add: [SDL2] Driver parameter 'no_mouse_capture' to ease interactive debugging (#12336)
(cherry picked from commit 603154899a)
2 months ago
Rubidium a12f166815 Fix: crash to desktop when attempting to join a company while not joined (yet)
(cherry picked from commit 0f25eaa271)

# Conflicts:
#	src/console_cmds.cpp
2 months ago
Tyler Trahan d21369b258 Change: Show unbunching action in timetable window (#12351)
(cherry picked from commit 2732b3d6c6)

# Conflicts:
#	src/order_gui.cpp
2 months ago
Peter Nelson 1c66ac2d81 Fix #12347: Crash attempting to find catchment tiles of a station with no catchment area. (#12348)
(cherry picked from commit ea74ca0a76)
2 months ago
Jonathan G Rennison a11a8d0b29 Allow removing vehicle from slots using vehicle details window dropdown 2 months ago
Jonathan G Rennison 0484ba700f Allow manually removing/setting train speed restriction
From vehicle details window
See: #674
2 months ago
Jonathan G Rennison a0454490ab Fix some command ID comments 2 months ago
Jonathan G Rennison 16577279a1 Saveload: Save to temporary file name and rename to target on success 2 months ago
Jonathan G Rennison 5e87d95013 Return success boolean from FioRenameFile 2 months ago
Jonathan G Rennison 4d0af08aad Saveload: Log number of bytes/blocks serialised during save 2 months ago
Jonathan G Rennison 26cb47935e Saveload: Raise error if fclose fails in FileWriter 2 months ago
Jonathan G Rennison 84c476cea5 Avoid data race in calls to VideoDriver::GetGameInterval 2 months ago
Jonathan G Rennison 2c63a65b87 Don't first increment start order index in AdvanceOrderIndexDeferred
Fixes behaviour of CheckRestartLoadingAtRoadStop
2 months ago
Jonathan G Rennison 4a767b279c Crashlog: Windows: Use VirtualAlloc for crash log object and text buffer 2 months ago
Jonathan G Rennison 3064523f46 Use different text tag for viewport route step go via station orders 2 months ago
Peter Nelson 64bc95722b Codechange: Cache train curve speed limit can be stored in 16 bits.
Cache curve speed modifier and max curve speed are both 16 bit values so can be stored in 16 bit types instead of 32 bit types.

(cherry picked from commit 3fc7b3b9a0)
2 months ago
Peter Nelson a1b7ca979b Fix #12302: Allow empty train engines to use an invalid cargo type. (#12325)
The cargo type will be forced to the first available type (usually passengers) instead of the engine being disabled.

(cherry picked from commit 88cf99017a)
2 months ago
Jonathan G Rennison 29496772a1 Fix removing road from road/tram road stop incorrectly removing one-way state 2 months ago
Jonathan G Rennison 2c8ec1bfaf Increase assert verbosity in RoadStop::Entry::CheckIntegrity 2 months ago
Peter Nelson 88cf99017a
Fix #12302: Allow empty train engines to use an invalid cargo type. (#12325)
The cargo type will be forced to the first available type (usually passengers) instead of the engine being disabled.
2 months ago
Peter Nelson 322ca6ef54 Codechange: Shuffle members of Vehicle to reduce size.
This reduces space wasted due to member alignment.
2 months ago
Peter Nelson 3fc7b3b9a0 Codechange: Cache train curve speed limit can be stored in 16 bits.
Cache curve speed modifier and max curve speed are both 16 bit values so can be stored in 16 bit types instead of 32 bit types.
2 months ago
Patric Stout f08da1d373
Codechange: the "no revision detected" string is with four zeros (norev0000) (#12328) 2 months ago
Jonathan G Rennison 20b8cb3059 Add setting to use object land ground for purchased land
Default on
2 months ago
Jonathan G Rennison c8709a9623 Add edge flood behaviour for land ground objects with no foundations 2 months ago
Peter Nelson ab94c8b511
Codechange: Iterate order lists instead of vehicles to find if any vehicle visits a station. (#12315)
This reduces the search time as shared orders are only searched once and non-front vehicles are skipped.
2 months ago
translators 6c5a8f55df Update: Translations from eints
norwegian (bokmal): 58 changes by eriksorngard
vietnamese: 45 changes by KhoiCanDev
greek: 21 changes by Xertoveizer
ukrainian: 5 changes by StepanIvasyn
tamil: 24 changes by merni-ns
lithuanian: 7 changes by dziugas1959
portuguese (brazilian): 61 changes by pasantoro
polish: 21 changes by aefoes
2 months ago
Jonathan G Rennison 109d31a350 VarAction2: Fix jump insertion moving past special stores which could affect the jump variable
See: #672
2 months ago
frosch a886bd9666
Fix #12319, 3a676a5: Some SSE blitters were broken due to ODR violations (#12322) 2 months ago
Jonathan G Rennison 57db9a41f1 Fix vehicles leaving dots behind in viewport map mode 2 months ago
Patric Stout a3cfd23cf9
Codechange: rename byte to uint8_t (#12308) 2 months ago
Peter Nelson 0058ebe472
Codechange: Check cheap station-facility-filter before expensive in-use-filter. (#12317) 2 months ago
Jonathan G Rennison 041e71ec05 Merge branch 'master' into jgrpp
# Conflicts:
#	src/crashlog.cpp
#	src/gfx.cpp
#	src/network/network_client.cpp
#	src/openttd.cpp
#	src/openttd.h
#	src/saveload/saveload.cpp
#	src/survey.cpp
2 months ago
Jonathan G Rennison 8066309074 Fix crash with large positive sprite x offset in engine preview window 2 months ago
Jonathan G Rennison 1532c96ca7 Add ctrl-click scroll to for non-destination orders
Conditional orders on station cargo and show as via orders
2 months ago
Jonathan G Rennison 3284bd68e3 Debug: Show engine company and climate availability in debug info 2 months ago
Jonathan G Rennison 1a279a844c Console: Prefer command names with underscores in auto-completion 2 months ago
Loïc Guilloux 818a57c9af
Codechange: Actually use LIT_NONE (#12314) 2 months ago
SamuXarick d7c5e9e8ab Codechange: Where the ship comes from is already known
This simplifies the handling of variables.

`ChooseShipTrack` is called upon entering `tile`, and looking further back to the caller, it can be deduced that `v->tile` matches `src_tile`. With that said, `enterdir` can also be removed, as it's not used anywhere else.

`CreateRandomPath` and `GetRandomFollowUpTrackdir` is being fed `src_tile` as it's 2nd parameter. This could be eliminated, as `v` is also being passed to it. Just use `v->tile` in those functions.
2 months ago
Patric Stout 5f4f9334ce
Codefix f1e999ec: use RandomRange(l) instead of _random.Next(l) (#12274) 2 months ago
Rubidium fe12d38024 Codechange: split initiating of joining and identification of the client 2 months ago
Rubidium 15d02f51ed Codechange: use span to send bytes to Packet and add span recv function 2 months ago
Rubidium b6c75dec3a Codechange: explicitly allow only one state in initial handshake/authorization 2 months ago
Rubidium 26d1d5d6e7 Codechange: move decision whether to check NewGRFs to SendNewGRFCheck, just like for sending game/company passwords 2 months ago
Rubidium 6eff879e49 Codechange: pass the socket handler that is going to send the packet into the packet 2 months ago
Rubidium 3c488e1eb8 Codechange: don't check things outside the lock, that could change while waiting on the lock 2 months ago
Rubidium ec4104ec6c Codechange: do not pass the socket when the receiver already knows it 2 months ago
Patric Stout 3e625b5b1a
Add: track savegame size to report with survey (#12304) 2 months ago
translators b394c20519 Update: Translations from eints
korean: 43 changes by telk5093
persian: 33 changes by CptMcWill
ukrainian: 4 changes by StepanIvasyn
dutch: 26 changes by Afoklala
portuguese (brazilian): 70 changes by pasantoro
2 months ago
SamuXarick a7625b8ae0 Fix #12280: Allow ships 90 degree turns if only choice
If there is no path found, a random path is created which forbids 90 degrees.
Allow 90 degrees if they're the only choice.
2 months ago
translators 9db285a32b Update: Translations from eints
norwegian (bokmal): 6 changes by eriksorngard
ukrainian: 3 changes by StepanIvasyn
dutch: 5 changes by RogierVC
portuguese (brazilian): 76 changes by pasantoro
2 months ago
Jonathan G Rennison 3fcfe5b53e Fix `help dump_version` console command also executing command
See: #668
2 months ago
translators 2d2191fbb3 Update: Translations from eints
norwegian (bokmal): 11 changes by eriksorngard
chinese (simplified): 1 change by WenSimEHRP
finnish: 23 changes by hpiirai
ukrainian: 21 changes by StepanIvasyn
danish: 32 changes by bscargo
spanish: 6 changes by MontyMontana
portuguese (brazilian): 50 changes by pasantoro
2 months ago
Ivan Fefer 23d733be95
Add: Basic autocompletion on tab for console commands (#12163) 2 months ago
Rubidium 24efdf6ac5 Codefix 363e251: incorrect trace debug message 2 months ago
Jonathan G Rennison 4200757db3 Scheduled dispatch: Fix handling of missing last/next dispatch times
In some cases
2 months ago
SamuXarick 14d95ef1c9
Fix #12279: Update random path each step (#12286) 2 months ago
Loïc Guilloux 100c043599
Codechange: [Win32] Disable assert message box when no GUI (#12291) 2 months ago
translators 0cff40dd19 Update: Translations from eints
norwegian (bokmal): 203 changes by eriksorngard
italian: 45 changes by Rivarossi
german: 42 changes by Wuzzy2
ukrainian: 13 changes by StepanIvasyn
turkish: 25 changes by jnmbk
portuguese (brazilian): 25 changes by pasantoro
2 months ago
Jonathan G Rennison f0832fa9b5 Fix debug version of TileAdd 2 months ago
Jonathan G Rennison 8d141b767c Crashlog: Windows: Handle simultaneous crashes in multiple threads 2 months ago
Jonathan G Rennison c4a1436362 Workaround missing std::bit_cast on some compilers 2 months ago
Jonathan G Rennison a887333f00 Crashlog: Unix: Handle simultaneous crash signals in multiple threads
Avoid changing signal handler during crash
Just adjust the signal proc mask and vary response of signal handler
2 months ago
Jonathan G Rennison af867a4b33 Fix crash downscaling sprites from 2x for max sprite resolution setting 2 months ago
Jonathan G Rennison 9f205727bf Extend industry production/transported totals to 32 bits 2 months ago
Jonathan G Rennison cc2521ddf5 Add helper function for unsigned saturating add 2 months ago
Jonathan G Rennison fe730bce31 Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/codeql.yml
#	.github/workflows/release-linux.yml
#	.github/workflows/release-macos.yml
#	.github/workflows/release-windows.yml
#	src/map.cpp
#	src/music/midifile.hpp
#	src/order_cmd.cpp
#	src/order_gui.cpp
#	src/pathfinder/yapf/yapf_rail.cpp
#	src/pbs.cpp
#	src/saveload/afterload.cpp
#	src/saveload/saveload.h
#	src/saveload/vehicle_sl.cpp
#	src/script/api/script_text.cpp
#	src/ship_cmd.cpp
#	src/train_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_func.h
#	src/vehicle_gui.cpp
#	src/vehicle_gui_base.h
#	src/viewport.cpp
#	src/waypoint_cmd.cpp
2 months ago
Jonathan G Rennison c7d3e291d2 Fix divide by zero when autosave uses real time and autosave both disabled
See: #666
2 months ago
translators 1addeddc07 Update: Translations from eints
english (au): 45 changes by krysclarke
norwegian (bokmal): 256 changes by eriksorngard
welsh: 41 changes by Ansbaradigeidfran
english (us): 45 changes by 2TallTyler
russian: 11 changes by Ln-Wolf
finnish: 18 changes by hpiirai
ukrainian: 20 changes by StepanIvasyn
catalan: 167 changes by J0anJosep
danish: 11 changes by bscargo
spanish: 35 changes by lrlopez
french: 41 changes by ottdfevr
portuguese: 44 changes by jcteotonio
portuguese (brazilian): 168 changes by pasantoro
2 months ago
Rubidium a06814c173 Codechange: use std::source_location over __FILE__ and __LINE__ for Random 2 months ago
Koen Bussemaker 984202b101 Codechange: Remove outdated YAPF example code 2 months ago
Peter Nelson b9ca3ead8b
Change: Use (at least) standard toolbar button size for signal selection buttons. (#12265)
Signal selection buttons could be very narrow, with a very wide spacer, depending on loaded signal types and fonts.
2 months ago
Peter Nelson dc6305e8c1
Codechange: Use std::make_unique instead of passing new into a unique_ptr. (#12263)
std::make_unique will also initialise the data so MemSetT is not needed.
2 months ago
translators 95a8fab339 Update: Translations from eints
swedish: 7 changes by joeax910
norwegian (bokmal): 242 changes by eriksorngard
welsh: 609 changes by Ansbaradigeidfran
english (us): 3 changes by 2TallTyler
chinese (simplified): 1 change by WenSimEHRP
ukrainian: 21 changes by StepanIvasyn
latvian: 1 change by lexuslatvia
dutch: 1 change by Jaws3rd
esperanto: 53 changes by legoscia
portuguese (brazilian): 19 changes by pasantoro
2 months ago
Peter Nelson 8b60fc3d35
Codechange: Use vector for waypoint layout. (#12264)
This replaces manual new/delete of byte array, and matches how it is used for station layouts.
2 months ago
Rubidium 2f0fe22d63 Fix #12255: inconsistent punctuation in English 2 months ago
Peter Nelson 649c1cf14c
Fix: Off-by-one in EnsureVisibleCaption. (#12261)
An off-by-one in EnsureVisibleCaption causes the minimum visible caption height to be 13 scaled pixels and 1 unscaled pixel. At 1x interface scale, this 'happens' to be the complete height of a caption, but at other interface scales it is not.

Instead of using a scaled fixed value, correct the off-by-one and just use the window's actual caption height instead.
2 months ago
Rubidium ecf534522c Codechange: replace macro with function for TileAdd(XY) 2 months ago
Rubidium 27eadc13ec Codechange: rename TILE_ADD(XY) to TileAdd(XY) 2 months ago
Rubidium df461b0329 Codechange: simplify TileAdd by using simple asserts 2 months ago
Kuhnovic 005892bfdb
Fix #12250: YAPF Trivial rail pathfinding crashes due to #12217 (#12258) 2 months ago
Jonathan G Rennison f6ba65317c Fix rail pathfinding with YAPF
Partial revert of 30e1a61c04.

See: https://github.com/OpenTTD/OpenTTD/issues/12250
2 months ago
Jonathan G Rennison dd194960f5 Fix handling of title game zoom when changing UI scaling 2 months ago
Jonathan G Rennison 2140e3fc3b Departure boards: Fix handling of invalid/empty dispatch schedules 2 months ago
Jonathan G Rennison fae9df329e Fix drawing of black text with TC_FORCED 2 months ago
Rubidium 86cb184eb4 Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc 2 months ago
Rubidium e4b3f3f495 Codechange: use std::source_location over __FILE__ and __LINE__ for NOT_REACHED 2 months ago
Rubidium bab5a8a787 Codechange: use std::source_location over __FILE__ and __LINE__ for Backup 2 months ago
translators 738624ded4 Update: Translations from eints
english (au): 1 change by krysclarke
norwegian (bokmal): 545 changes by eriksorngard
chinese (traditional): 75 changes by wpi3
galician: 24 changes by pvillaverde
chinese (simplified): 1 change by WenSimEHRP
russian: 1 change by Ln-Wolf
finnish: 4 changes by hpiirai
ukrainian: 16 changes by StepanIvasyn
catalan: 1 change by J0anJosep
danish: 1 change by bscargo
french: 3 changes by ottdfevr
portuguese: 1 change by azulcosta
esperanto: 203 changes by legoscia
portuguese (brazilian): 21 changes by pasantoro
polish: 1 change by pAter-exe
2 months ago
Jonathan G Rennison 7796451b6c Disable MSVC warning 4244 for src/3rdparty/monocypher/monocypher.cpp
See: #664
2 months ago
Jonathan G Rennison 0e76f774eb Merge branch 'master' into jgrpp
# Conflicts:
#	src/landscape.cpp
#	src/landscape.h
#	src/misc_gui.cpp
#	src/newgrf_commons.cpp
#	src/order_cmd.cpp
#	src/pathfinder/yapf/yapf_base.hpp
#	src/station_cmd.cpp
#	src/tunnelbridge_cmd.cpp
#	src/vehicle.cpp
#	src/water_cmd.cpp
#	src/window.cpp
2 months ago
Jonathan G Rennison 5b88ea6857 Revert "Add setting to disable script parameter randomisation"
This reverts commit 2bb5c9ac84.
2 months ago
Jonathan G Rennison ba79f7b2ba Merge branch 'master' into jgrpp
# Conflicts:
#	src/base_station_base.h
#	src/newgrf_roadstop.cpp
#	src/newgrf_station.cpp
#	src/object_gui.cpp
#	src/saveload/settings_sl.cpp
#	src/saveload/station_sl.cpp
#	src/settings.cpp
#	src/settings_internal.h
#	src/timer/timer_game_calendar.cpp
2 months ago
Peter Nelson 55a328c586
Codechange: Replace type-punning with `std::bit_cast` in squirrel. (#12224) 2 months ago
Peter Nelson de8a840db5
Codefix: Fully initialise `MidiFile::DataBlock` to avoid gcc warning. (#12240) 2 months ago
Loïc Guilloux 82430a1086
Fix ab315d0: Don't show "insert order" errors in the console (#12245) 2 months ago
rubidium42 e0e0d5f8fb Revert #11606: Don't auto-build past tunnelbridge ends
This reverts commit 59f6c199bf.
2 months ago
Tyler Trahan 32b0fb9f6e
Fix #12010: Use economy timer for vehicle stats minimum age, not calendar (#12142) 2 months ago
Tyler Trahan ab315d0dc9
Fix #12118: When adding an unbunching order, properly check for unsafe conditions (#12136) 2 months ago
glx22 3a71f36393 Change: [Script] Match FormatString behaviour more closely 2 months ago
glx22 ae27ce12a7 Fix 0858377: [Script] Don't output parameters more than once 2 months ago
translators ce3d0097f6 Update: Translations from eints
chinese (simplified): 27 changes by WenSimEHRP
korean: 2 changes by telk5093
greek: 42 changes by Xertoveizer
indonesian: 32 changes by tsaqibfs
slovak: 184 changes by ApplePie420
danish: 2 changes by bscargo
latvian: 2 changes by lexuslatvia
dutch: 2 changes by Afoklala
portuguese: 16 changes by jcteotonio
portuguese (brazilian): 77 changes by pasantoro
2 months ago
Kuhnovic 08ff1ab93e
Fix #12236: Ship pathfinder causes crash when ship is already at destination (#12238) 2 months ago
Kuhnovic ab353f8ad5
Update: Developer credits (#12235) (#12235) 2 months ago
Michael Lutz 8b9f59d320 Codechange: Use references for non-optional in/out values of slope functions 2 months ago
Michael Lutz 8dda387f82 Codechange: Use std::tuple for slope functions with two return values 2 months ago
Tyler Trahan 5806c2aba4
Fix #12203: When unbunching at a depot, don't overlook implicit orders (#12220) 2 months ago
SamuXarick 0c432bdc4d Fix 3947453: GetNextDecisionNode ignored go to nearest depot when combined with stop at depot 2 months ago
SamuXarick ab52f7eecf Fix ccb4c37: Aircraft could route to hangars outside their range when stopping at them 2 months ago
merni-ns b8b80cb42e
Fix #12134: Use correct error messages if clearing drive-through road stops fails (#12139) 2 months ago
rubidium42 aef8a345b2
Codefix #12162, 3105d0b: Textbuf::Assign read beyond std::string_view (#12177) 2 months ago
jcteotonio 63b9284a7e
Add: Portuguese Escudo currency (#12108) 2 months ago
Peter Nelson a9de766fa6
Fix: Train running sounds should only be produced for engine parts. (#12229) 2 months ago
Kuhnovic 30e1a61c04
Fix: YAPF doesn't check destination for start nodes (#12217) 2 months ago
translators 216905ce1f Update: Translations from eints
chinese (simplified): 2 changes by WenSimEHRP
luxembourgish: 2 changes by phreeze83
hungarian: 2 changes by PstasDev
german: 2 changes by Wuzzy2
ukrainian: 10 changes by StepanIvasyn
slovak: 197 changes by ApplePie420
catalan: 2 changes by J0anJosep
portuguese (brazilian): 35 changes by pasantoro
2 months ago
Peter Nelson 25aeb1c5a5
Change: Use same audio buffer size (and config parameter) for all sound drivers. (#12227)
Windows drivers used a default buffer size of 8192 instead of 1024, which results in a considerable 186ms latency.
2 months ago
translators 8fb26612c0 Update: Translations from eints
english (au): 2 changes by krysclarke
vietnamese: 1 change by KhoiCanDev
estonian: 4 changes by RM87
russian: 8 changes by Ln-Wolf
ukrainian: 27 changes by StepanIvasyn
slovak: 34 changes by palsoft333
tamil: 41 changes by Aswn
spanish: 4 changes by MontyMontana
portuguese (brazilian): 72 changes by pasantoro
polish: 3 changes by pAter-exe
2 months ago
Loïc Guilloux ef40c5e240
Fix #12225, 977aba7: [Script] Missing AI:ResetConfig support for running AI config (#12226) 3 months ago
translators 634b67bf13 Update: Translations from eints
estonian: 66 changes by siimsoni
greek: 41 changes by gh658804
ukrainian: 6 changes by StepanIvasyn
slovak: 30 changes by palsoft333
portuguese (brazilian): 41 changes by pasantoro
3 months ago
Kuhnovic 1a2b54498b
Change: Show tile index as decimal number in land info window (#12104) 3 months ago
Peter Nelson 2d48829999
Codechange: Scan station catchment tiles when removing station from nearby towns/industries. (#12129)
Avoid iterating all towns and industries when updating station catchment, and scan a limited portion of the map instead.

This provides a modest performance benefit when many towns/industries exist.
3 months ago
Peter Nelson 00b442d6f9
Fix: Maximum permitted sound volume from NewGRF is 128. (#12222) 3 months ago
Peter Nelson bc3bd642b9
Fix: Relocate main toolbar and statusbar before other windows. (#12218)
When repositioning all windows, the main toolbar and statusbar need to already be in position to ensure that window captions are visible.
3 months ago
Loïc Guilloux 845b894fd8
Remove: [Script] random_deviation from setting description table (#12221) 3 months ago
translators 0fd576bfbc Update: Translations from eints
chinese (simplified): 2 changes by WenSimEHRP
russian: 1 change by Ln-Wolf
ukrainian: 9 changes by StepanIvasyn
portuguese (brazilian): 66 changes by pasantoro
3 months ago
James103 230eaabb5c
Fix 2bb5c9ac84: typo in disable script parameter randomisation helptext (#663) 3 months ago
Jonathan G Rennison 1c83ea8694 Fix double-leave of crashed road vehicle in drive-through stop
See: #662
3 months ago
translators 626ee4ab41 Update: Translations from eints
chinese (simplified): 6 changes by WenSimEHRP
serbian: 16 changes by nkrs
ukrainian: 1 change by StepanIvasyn
portuguese (brazilian): 234 changes by pasantoro
3 months ago
Peter Nelson 8172e25273
Codechange: Use range-for when iterating station speclists. (#12212)
This replaces indexed access.
3 months ago
Jonathan G Rennison c29a7128c6 Bump upstream content version to 14.0 3 months ago
Jonathan G Rennison 1ba9806002 Add case parameter to FormatArrayAsHex
Use upper case where needed for vanilla compatibility
3 months ago
Peter Nelson b2ca6e1ac8
Codefix: Remove no-longer used ship special-case. (#12192)
This special-case has not been triggered since multi-tile docks were introduced.
3 months ago
Peter Nelson cff48c0f63 Codechange: Templatise SlStationSpecList to reduce duplication.
SlStationSpecList now handles both StationSpec and RoadStopSpec, and replaces indexed array access with range-for and reserve/emplace_back pattern.
3 months ago
Peter Nelson 41b3314d76 Codechange: Replace separate Station/RoadStopSpecList with template struct.
Reduces duplication and simplifies reuse.

Additionally naming an item that is used in a list as a ...List was
pretty weird.
3 months ago
Peter Nelson 278c3a7db1 Codechange: Use reference instead of copy of NewGRF speclist item. 3 months ago
Kuhnovic c5afc9173c
Fix #12176: Ships are circling in one place (#12181) 3 months ago
Jonathan G Rennison f180262aee
Fix #12154: Incorrect calendar day lengths with minutes per year setting (#12158) 3 months ago
Jonathan G Rennison 9d65fd9c2a Adjust handling of vehicles introduced before vehicle expiry stop year
See: #646
3 months ago
translators d7c485d4b9 Update: Translations from eints
estonian: 166 changes by siimsoni, 22 changes by RM87
chinese (simplified): 6 changes by WenSimEHRP
serbian: 172 changes by nkrs
ukrainian: 11 changes by StepanIvasyn
spanish: 1 change by MontyMontana
portuguese (brazilian): 149 changes by pasantoro
3 months ago
Patric Stout 8f22066b9a
Fix #12147: reset all saved settings to their default before loading a game (#12210) 3 months ago
Rubidium aff09306de Fix #12076: Do not allow 'join' command on dedicated servers 3 months ago
Loïc Guilloux 253ba0d354
Fix #12195: Reset cursor when no Object is selected (#12207) 3 months ago
Jonathan G Rennison 2bb5c9ac84 Add setting to disable script parameter randomisation 3 months ago
Jonathan G Rennison e730956213 Re-add "path signals only" mode to the signal cycle setting 3 months ago
TELK 7241b28199
Update: Korean translation (#661)
Update: Korean translation
3 months ago
Jonathan G Rennison 3a4398b613 Fix signed/unsigned comparison warning 3 months ago