Commit Graph

40111 Commits (c1b54f1c319f2095509ebb18e36ae6c79145a5ee)

Author SHA1 Message Date
Jonathan G Rennison fcc581fba9 Add static assert that number of commands does not exceed limit 3 years ago
Jonathan G Rennison 812933ffd4 Debug: Show names of remapped action 2 variables in sprite group dumper 3 years ago
Jonathan G Rennison eddc6ddcdb Debug: Add sprite dumping to house inspect window 3 years ago
Jonathan G Rennison 08b6540c84 Fix wrong error message building bridge over obstructing station
When some bridge types are too long for the requested span
3 years ago
Jonathan G Rennison bb848331b6 Fix narrowing conversion warning 3 years ago
Jonathan G Rennison afa75ded1c Zoning: Fix unserved industry mode with passenger-handling industries 3 years ago
Jonathan G Rennison acc9dffab7 Add object mapped variables for slope after foundation applied 3 years ago
Jonathan G Rennison 33dc6c9688 Add NewGRF VarAction2 variable remapping infrastructure 3 years ago
Jonathan G Rennison e56fee612c Zoning: Fix unserved industries mode with partially overlapping catchment 3 years ago
Jonathan G Rennison 96d789dfbf Fix window preference save/load of build vehicle windows 3 years ago
Jonathan G Rennison 2e7f8d2e1e Add inclined foundation option to object edge foundation mode
Bump feature version
3 years ago
Jonathan G Rennison e7c12f2ad4 Fix terraforming not resetting ground type for use land ground objects 3 years ago
translators 9e47df298f Update: Translations from eints
italian: 61 changes by denialmac
3 years ago
Andy b8a8891a86 Add: [Script] IndustryType::ResolveNewGRFID to resolve industry id from grfid and grf_local_id 3 years ago
Andy 26ac0c48f0 Add: [Script] ObjectType::ResolveNewGRFID to resolve object id from grfid and grf_local_id 3 years ago
Jonathan G Rennison d69657846c Add Action 5 remappable type for misc GUI sprites 3 years ago
Jonathan G Rennison d81cbc25b8 Add setting to allow hiding viewport labels of inidivudal waypoints 3 years ago
Jonathan G Rennison c65901fef2 Add a baseset GRF for misc GUI sprites 3 years ago
translators f6775a2d55 Update: Translations from eints
irish: 2 changes by temuchie
3 years ago
Jonathan G Rennison 8ffe519179 Debug: Fix title of waypoint inspector window 3 years ago
Jonathan G Rennison 26fb0940c6 Add client setting for whether to sync locale settings with server in multiplayer 3 years ago
TELK f0da66961a Update: Korean translation for conditional orders 3 years ago
Jonathan G Rennison 7015c92680 Check station coverage highlight in ZoningMarkDirtyStationCoverageArea 3 years ago
Tyler Trahan bec218069c Feature: Remember the last-used signal between games
(cherry picked from commit a9de36ad23f30d125ed495f0bd84342b594d19df)

See: https://github.com/OpenTTD/OpenTTD/pull/9792
3 years ago
Jonathan G Rennison e5110bd7f6 Handle service at depot orders in cond order loops 3 years ago
Jonathan G Rennison e7abf9efb1 Remove unnecessary recursion in GetNextRealStation 3 years ago
Jonathan G Rennison beb6d01fe8 Improve handling of conditional order waiting loops
Do not leave station/depot/waypoint at all if conditional order
loop would result in re-starting waiting/loading

Only actually leave and update timetable at end of loop

Rate-limit loop checks regardless of timetabled wait time
3 years ago
Jonathan G Rennison 904ff6757d Add slot support to road vehicles, ships and aircraft 3 years ago
Jonathan G Rennison 0513961b2a Duplicate STR_SMALLMAP_LEGENDA_... veh type strings with format codes removed 3 years ago
Jonathan G Rennison ce61f6439c Allow non-train vehicles to test counter values in conditional orders 3 years ago
Jonathan G Rennison 7d86909a90 Ensure that sprite data is cleared when loading over an existing sprite
Fixes crash when looking at recolour sprite in sprite viewer window
which has been overriden by a non-recolour sprite by a faulty GRF
3 years ago
Jonathan G Rennison 1a4b0d6ecf Prevent NewGRFs from using Action A to replace internal sprites 3 years ago
Jonathan G Rennison 027a792cbd Crash log: On OSX allocate crash log buffer using mmap if possible
Otherwise use conservatively sized stack buffer
3 years ago
Jonathan G Rennison 79db533abb Fix nullptr deref evaluating train in slot conditional order with no slot
See: #360
3 years ago
translators 5239018878 Update: Translations from eints
tamil: 24 changes by Aswn
3 years ago
Jonathan G Rennison 6197baee9c Fix unused function warning on OSX 3 years ago
Jonathan G Rennison 29126619a3 Disable OSX touchbar support, fixes #358 3 years ago
translators 15c9191568 Update: Translations from eints
tamil: 19 changes by Aswn
3 years ago
Jonathan G Rennison dd5438fe75 Merge branch 'multi-sd' into jgrpp 3 years ago
Jonathan G Rennison c40f4e0abc Handle predictable conditional orders in departure boards 3 years ago
Jonathan G Rennison b23d394f0b Handle predictable conditional orders in timetable window 3 years ago
Jonathan G Rennison 91ed26415e Fix manual setting of conditional order jump taken travel times 3 years ago
Jonathan G Rennison 1ac6326306 Departure boards: Fix departure slot cache with multiple schedules 3 years ago
Jonathan G Rennison 543433218c Ensure that timetable and scheduled dispatch windows redrawn as required
Reduce inefficient window and shared order list iteration
3 years ago
Jonathan G Rennison fe522f193b Show confirmation window before clearing/removing dispatch schedule 3 years ago
Jonathan G Rennison 21ef4902c6 Show predicted scheduled dispatch arr/dep times in timetable window 3 years ago
Jonathan G Rennison 8754e1c5d0 Show scheduled dispatch marker in yellow in timetable window 3 years ago
Jonathan G Rennison 8b2a6248e7 List static NewGRFs in crash logs 3 years ago
translators 8ac3f9a6e1 Update: Translations from eints
vietnamese: 28 changes by chupper100
3 years ago
Jonathan G Rennison 3892a1e201 Log client ID/name in server desync logs 3 years ago
Jonathan G Rennison 65cb4ccedf Limit number of warnings whon in timetable window 3 years ago
Jonathan G Rennison 4f7f8c5b63 Show which order schedule assigned to in scheduled dispatch window 3 years ago
Jonathan G Rennison ff3473fe6a Add support for multiple scheduled dispatch schedules per order list 3 years ago
Jonathan G Rennison 29521ef883 Fix SB function when using sizes greater than 32 bits 3 years ago
Jonathan G Rennison 9e1a78c86e Clear order wait times when changing to a non-stopping order 3 years ago
Jonathan G Rennison dd312ef9a4 Remove asserts on input from CmdChangeTimetable 3 years ago
Jonathan G Rennison 644bd0a325 Fix input/display of speeds in tracerestrict window in tiles/day mode 3 years ago
Jonathan G Rennison a64a6aeeb8 Fix text input of velocity setting values
See: #357
3 years ago
Jonathan G Rennison eab98e4808 Industry::this_month_production should saturate instead of overflowing 3 years ago
Jonathan G Rennison a4ea155d33 Merge PR #357 into jgrpp 3 years ago
Jonathan G Rennison 309f5974e8 Merge PR #353 into jgrpp 3 years ago
Jonathan G Rennison b2c6c3b07a Merge branch 'master' into jgrpp
# Conflicts:
#	media/baseset/CMakeLists.txt
#	src/lang/croatian.txt
3 years ago
Jonathan G Rennison 579c71dd44 Script: Add ScriptRoad methods related to road types 3 years ago
Jonathan G Rennison dfc6e309d0 Fix ground/tree tile vegetation changes not updating map mode viewports
(In vegetation mode)
3 years ago
translators 93e8d4871d Update: Translations from eints
croatian: 67 changes by srekoslav
3 years ago
Yourself 7823c81597 Add: Through load speed limit setting 3 years ago
Jonathan G Rennison d56f7e7060 Fix wrong signal aspects when track built up to rear of tunnel/bridge entrance 3 years ago
translators ad54d08abd Update: Translations from eints
croatian: 6 changes by srekoslav
thai: 2 changes by sanotti
3 years ago
Jonathan G Rennison b9db85048f
Merge pull request #354 from internet-trains/screenshot-numbering
Change: Automatic screenshot numbering
3 years ago
Jonathan G Rennison 985c6ad7db Merge PR #356 into jgrpp 3 years ago
Jonathan G Rennison f54e19083e Fix crash which could occur when removing invalidated link graph flow. 3 years ago
Yourself aa7413a89f Fix: Require non-zero capacity for refit cargo type 3 years ago
translators 32a4212ef1 Update: Translations from eints
norwegian (bokmal): 2 changes by tmn
3 years ago
Larry Fenn 33ae34f25d
Change: Automatic screenshot numbering
Invoking the `screenshot` console command with a filename ending in %d
will cause it to be numbered automatically.
3 years ago
TELK fc8ab829f6 Update: Korean translation up to 0.45.0 3 years ago
Jonathan G Rennison 0ffa1b1db6 Scale cargo movement cap in TransportIndustryGoods by industry cargo factor 3 years ago
translators 8032423bf1 Update: Translations from eints
romanian: 18 changes by Gisterecis
3 years ago
Joan Josep 54ce5b28a4
Codechange: Make RoadScopeResolver constructor inlineable (#9780) 3 years ago
Loïc Guilloux d62c5667cf
Fix #9766: Don't write uninitialised data in config file (#9767) 3 years ago
Jonathan G Rennison 2f8e63e954 Merge branch 'master' into jgrpp
# Conflicts:
#	src/gfx.cpp
#	src/lang/traditional_chinese.txt
#	src/station_cmd.cpp
3 years ago
Jonathan G Rennison ba824f08c3 Fix re-routing of unrelated cargo when removing invalidated link graph flow 3 years ago
Jonathan G Rennison de41a54f94 Departure boards: Fix excessive window width when using GUI zoom 3 years ago
Jonathan G Rennison 55b7e2178a Departure boards: Fix vehicle name column width with group vehicle names 3 years ago
Jonathan G Rennison dd160a4e74 Support cond order to continue loading at station without moving for ships 3 years ago
Jonathan G Rennison e92b1004cc Merge PR #352 into jgrpp 3 years ago
Jonathan G Rennison 7e313d120c Fix narrowing conversion warnings 3 years ago
Jonathan G Rennison 51a37ecf2a Monocypher: Fix narrowing conversion warning 3 years ago
Jonathan G Rennison ab17deae3a Random bytes: Fix minor compilation warnings 3 years ago
Yourself 65b90f966b Fix: station raiting tooltip showed incorrect time 3 years ago
Jonathan G Rennison a14df8dfe2 Merge PR #351 into jgrpp 3 years ago
Yourself e4fa9f8465 Add: Cargo delivery distribution modes 3 years ago
Jonathan G Rennison 30817c3915 Fix VRF_BEYOND_PLATFORM_END not being cleared when switching order 3 years ago
Jonathan G Rennison e993afcd99 Store encrypted company password hashes in server saves
Restore when loading back into the server if server has required secret
3 years ago
Jonathan G Rennison 1f50106466 Saveload: Add functions to save/load to arbitrary buffers 3 years ago
Jonathan G Rennison 87f0c20bc0 Add setting flag to run string setting change callbacks on config load 3 years ago
Jonathan G Rennison 26eca815d3 Add separate network salt string for company passwords 3 years ago
Jonathan G Rennison 00cfb00537 Fix auto-generated network.network_id setting value not being saved in config 3 years ago
Jonathan G Rennison eb22b49758 Add randombytes lib to src/3rdparty 3 years ago
Jonathan G Rennison 91f6c6941a Add monocypher lib to src/3rdparty 3 years ago
Jonathan G Rennison 89181ea9fd Add setting to increase cost/distance of aircraft linkgraph links 3 years ago
Jonathan G Rennison ba97d0a827 Allow building waypoints with spec IDs >= 256
See: #349
3 years ago
Michael Lutz 57b992717b Codechange: Extend DrawSpriteToRgbaBuffer to work with 8bpp blitters. 3 years ago
Michael Lutz 69c8ed9965 Codechange: [OSX] Simplify touchbar button data definition. 3 years ago
Michael Lutz b351cbe490 Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the main loop. 3 years ago
Michael Lutz f40e82a19d Fix #9743: [OSX] Don't try to render touchbar sprites with invalid zoom level. 3 years ago
Michael Lutz 80fc5fb46c Change: [OSX] Allow touchbar usage on all supported OS versions.
Touchbar support was introduced in 10.12.2. There's no need to limit
support to 10.15+, as the convenience class NSButtonTouchBarItem is
easily replicated.
3 years ago
Jonathan G Rennison ee7fbfc410 Merge pull request #350 into jgrpp 3 years ago
Jonathan G Rennison f658d9f1fc Fix rail drag remove removing track even with an unremovable signal
This occurred when a removing a signal was blocked due to realistic
braking moving train restrictions.
This resulted in incorrect signal infrastructure totals and MP desyncs.
3 years ago
Yourself 3f391a74af fix: error when removing tunnelbridge signal w/ tracerestruct 3 years ago
Jonathan G Rennison 4844268d1c Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode 3 years ago
Jonathan G Rennison 42b223a288 Fix CmdBuildRoadStop updating station acceptance in estimate mode 3 years ago
translators 21f85cac87 Update: Translations from eints
chinese (traditional): 25 changes by Tetrapod1206
italian: 12 changes by federico1564S
3 years ago
translators 3ed7910cfe Update: Translations from eints
portuguese (brazilian): 2 changes by Vimerum
3 years ago
Yourself 3caef277c8 fix: Give money message showed incorrect value 3 years ago
Jonathan G Rennison f65a166308 Add client setting to show all signals using the default sprites 3 years ago
Jonathan G Rennison 621677343f Fix wrong sprite count for duplicated prog signal sprites 3 years ago
Jonathan G Rennison f40191b3c0 Add hysteresis to depot search max penalty in missing depot order mode
See: #345
3 years ago
Jonathan G Rennison 2c7ec68b76 Enable news warning for missing depot order in order list by default 3 years ago
Jonathan G Rennison 4871071dcb Show vehicle destination when mousing over vehicle breakdown in status bar 3 years ago
glx22 3069f805e2 Fix #9766: Don't write uninitialised data in config file
(cherry picked from commit 50304f7164d5c88a42dcc1d09648c3ec8b2faab5)

Fixes: #344
3 years ago
Jonathan G Rennison dda4167edc Change debug level of network received packet logging 3 years ago
translators a97bce51c2 Update: Translations from eints
czech: 6 changes by vladoschreiner
hungarian: 5 changes by pnpBrumi
3 years ago
translators afb817fe19 Update: Translations from eints
norwegian (bokmal): 4 changes by Anolitt
3 years ago
Michael Lutz b11bd185e3 Fix #9756: Network command unpack proc was not generated in all cases.
The case where the callback proc takes all command results but not any of
the command parameters was not handled properly.
3 years ago
Tyler Trahan 9c18236f2c Fix: Suppress vehicle age warnings for stopped vehicles 3 years ago
Michael Lutz e67124e174 Change: [Admin] Bump admin port protocol due to command changes.
docs/admin_network.md promised that information in an admin packet
is never removed. It does allow the possibility of using a new packet type
for changed data in combination with a bump of the admin port version.

As the recent command handling changes modified the contents of
ADMIN_PACKET_SERVER_CMD_LOGGING, do exactly that.
3 years ago
Michael Lutz 3fede15940 Codechange: [Script] Prettify squirrel call helpers by using C++17. 3 years ago
Jonathan G Rennison e08a6e2014 Fix #9735: Fix OrderBackup::Reset in non-GUI case 3 years ago
Joan Josep e890e7db76
Cleanup #9725: Clean up Doxygen docs and fix typo. (#9753) 3 years ago
Jonathan G Rennison 66ce6c5090 Scheduled dispatch: Add clear schedule GUI function
Add management dropdown box to window
3 years ago
Jonathan G Rennison 7b0c083c11 Debug: Add vehicle cargo type, refit mask and age period to debug window 3 years ago
Michael Lutz afc3d71fd0 Codechange: Don't generate CommandPacket unpack functions for invalid cmd/callback combinations.
If the arguments of the callback proc don't match with the command parameters,
we can't do the proper command execution anyway. As such, don't even generate
an unpack function in the first place, saving a bit of unnecessary code bloat.

Validate on receive that the cmd/callback combination is supported, rejecting
clients that try to send invalid values.
3 years ago
Michael Lutz c521b965bd Codechange: Don't use a global for the terrforming error tile. 3 years ago
Michael Lutz 2e39637db2 Codechange: Don't use a global for the 'not enough cash' message. 3 years ago
Michael Lutz 41fa16f325 Codechange: Don't use globals for return values from vehicle command procs. 3 years ago
Michael Lutz 57b82e2e99 Codechange: Don't use globals for story/goal/sign/group command proc return values. 3 years ago
Michael Lutz 3e85e833a7 Codechange: Add support for additional command result values. 3 years ago
Michael Lutz 8503854655 Codechange: Pass unpacked command arguments to command callbacks (except Script). 3 years ago
Michael Lutz d85348b1d1 Codechange: Template the command callback function type to allow unpacked arguments. 3 years ago
Michael Lutz 13528bfcd0 Codechange: Un-bitstuff all remaining commands. 3 years ago
Michael Lutz 58cff7b081 Codechange: Un-bitstuff the remaining on-map commands. 3 years ago
Michael Lutz c6d7b98808 Codechange: Un-bitstuff landscape commands. 3 years ago
Michael Lutz e6e69d5289 Codechange: Un-bitstuff goal and story page commands. 3 years ago
Michael Lutz 1a42a8a5d5 Codechange: Un-bitstuff town-related commands. 3 years ago
Michael Lutz e08b3abe7f Codechange: Un-bitstuff group and autoreplace commands. 3 years ago
Michael Lutz 46bd2f1ced Codechange: Un-bitstuff remaining transport infrastructure commands. 3 years ago
Michael Lutz 55170ae703 Codechange: Un-bitstuff rail commands. 3 years ago
Michael Lutz 6fe445e6c0 Codechange: Un-bitstuff station/depot/waypoint commands. 3 years ago
Michael Lutz 21675ec7e2 Codechange: Un-bitstuff vehicle/engine commands. 3 years ago
Michael Lutz 2637c06f88 Codechange: Un-bitstuff timetable commands. 3 years ago
Michael Lutz 211c630cbe Codechange: Un-bitstuff order commands. 3 years ago
Michael Lutz de45a8729c Codechange: Add DoCommand::Post specialization for commands that take no TileIndex.
This adds a new Post overloads that still take a TileIndex which
is used to place any error windows or text effects.
3 years ago
Michael Lutz 4f3ea3907e Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID). 3 years ago
Michael Lutz ccefa76a46 Codechange: Template DoCommandPInternal. 3 years ago
Michael Lutz 6691ee3b96 Codechange: Template script command calls. 3 years ago
Michael Lutz eab18f06a4 Codechange: Pass additional data as byte stream to command callbacks. 3 years ago
Michael Lutz 0f64ee5ce1 Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
3 years ago
Michael Lutz e740c24eb7 Codechange: Template DoCommand to automagically reflect the parameters of the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
3 years ago
Michael Lutz c88b104ec6 Codechange: Use wrapper struct to automatically manage command depth tracking. 3 years ago
Michael Lutz 996b16de70 Codechange: Use lambdas instead of CommandContainer to manage station picker commands. 3 years ago
Michael Lutz a05fd7aa50 Change: [Network] Transfer command data as serialized byte stream without fixed structure.
The data will be transmitted as the length followed by the serialized data. This allows the command
data to be different for every command type in the future.
3 years ago
Michael Lutz b0990fcff7 Codechange: Make TileIndex a "strong" typedef to give it a distinct type.
This is accomplished by changing it to a single member struct with the
appropriate operator overloads to make it all work with not too much
source modifications.
3 years ago
Michael Lutz 4fc055d6e9 Codechange: Align parameter order of command callbacks to command handlers. 3 years ago
Michael Lutz 123c7f99c3 Codechange: Move command callback declarations to the cmd header files. 3 years ago
Michael Lutz 7048e1522f Codechange: Move flags in CommandProc in front of the command arguments. 3 years ago
Michael Lutz 33ca4f2b99 Codechange: Let the compile generate the master command table out of templated command traits.
This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up.
3 years ago
Michael Lutz 5ddfdc8516 Codechange: Declare our custom enum operators as constexpr. 3 years ago
Michael Lutz a38bbefe1b Codechange: Untangle command code, flags and error string for DoCommand*. 3 years ago
Michael Lutz 549caca39c Codechange: Move command arguments to the back of the networked command function calls. 3 years ago
Michael Lutz b6933a2ebd Codechange: Move command arguments to the back of the DoCommand function call. 3 years ago
Michael Lutz 39e8783f4b Fix: Template syntax error when using 'span' with a container type. 3 years ago
Jonathan G Rennison 17d949980f Fix assert fail when building virtual train from engine with invalid cargo 3 years ago
translators 0c90326ada Update: Translations from eints
swedish: 1 change by joeax910
chinese (traditional): 160 changes by Tetrapod1206
galician: 21 changes by pvillaverde
irish: 5 changes by temuchie
polish: 2 changes by pAter-exe
3 years ago
Jonathan G Rennison 7953a1f8d1 Allow setting autosave interval to a custom number of real-time minutes 3 years ago
Jonathan G Rennison 583663bca1 Allow setting autosave interval to a custom number of days 3 years ago
frosch bc22e9333e
Fix: if vehicles only refit to cargo-slots >= 32, the default cargo was wrong. (#9744) 3 years ago
geby 1854dc87cc
Fix some statement to make sense. 3 years ago
Jonathan G Rennison 762b656b53 Fix #9740: Fix loading of gamelog change items from savegame ver >= 294 3 years ago
Jonathan G Rennison 15b0231821 Debug: Add object intro and end of life dates to debug window 3 years ago
Jonathan G Rennison 77d3be3d3b Fix loading of gamelog revision text in upstream savegame loader 3 years ago
Jonathan G Rennison 3d0b1a3b12 Fix loading of gamelog change items from savegame ver >= 294
See: https://github.com/OpenTTD/OpenTTD/issues/9740
3 years ago
Jonathan G Rennison 70ca147fa4 Merge PR #341 into jgrpp 3 years ago
pvillaverde ebe0aec89a [Feat] Galician Translation 3 years ago
Jonathan G Rennison 69b6b388d6 On dedicated servers, save copy of last autosave on crash
This is to avoid all autosaves being overwritten when the server
is auto-restarted with a new map
3 years ago
Jonathan G Rennison 585c3fe9ca Add town and industry counts to dump_map_stats command 3 years ago
Jonathan G Rennison b69521ea87 Allow specifying a custom number of industries in map generation window 3 years ago
Jonathan G Rennison b807f0d50e Fix setting of object spec ctrl flags from GRF properties 3 years ago
Jonathan G Rennison 5349003ec4 Add assert checks to road type infra total changes 3 years ago
Jonathan G Rennison 0b45103eed Merge branch 'master' into jgrpp
# Conflicts:
#	src/network/core/tcp_connect.cpp
3 years ago
Jonathan G Rennison 4543803823 Crash log: Increase crash log length limit on Unix
Allocate buffer using mmap if possible
3 years ago
Jonathan G Rennison 90c672fc6d Crash log: Increase length limit for desync/inconsistency logs
Allocate buffer instead of using stack
3 years ago
Jonathan G Rennison 117eb6637d Fix OrderBackup::Reset in non-GUI case
See: https://github.com/OpenTTD/OpenTTD/issues/9735
3 years ago
Jonathan G Rennison b75a633dc6 Add command log flag for whether order backups changed
See also: https://github.com/OpenTTD/OpenTTD/issues/9735
3 years ago
Jonathan G Rennison 54b7aa3d1b Add chicken bit for periodic signal infra total check
Set automatically if server detects signal infra mismatch
3 years ago
Jonathan G Rennison 2d71ec1c5a Bump savegame for object ground types 3 years ago
Jonathan G Rennison de6cf4de24 Check blocking train reservation before removing signals in CmdRemoveSingleRail 3 years ago
Jonathan G Rennison 24fb390e9f Add NewGRF object property for flood-resistance
Does not imply being able to be built on water
3 years ago
Jonathan G Rennison 06fa1ae332 Add object shore/flooding support, adjust handling of foundations
Add info to debug window
3 years ago
Jonathan G Rennison d9116106ca Add NewGRF object property for new edge foundation mode 3 years ago
Rubidium ad89601c49 Codechange: do not use all upper case enumerators in a scoped enum 3 years ago
Jonathan G Rennison 2c8b462708 Debug: Add object view and colour to debug window 3 years ago
Jonathan G Rennison c6bd01b2f2 Add an IsOddParity bitmath function 3 years ago
Jonathan G Rennison ff714b7648 Add setting to disable "big GUI" NewGRFs 3 years ago
Jonathan G Rennison 924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
3 years ago
Patric Stout ea4f6bb8b2
Fix #9730: [Network] connections can use an invalid socket due to a race condition
A race condition happens when an IPv6 connection takes more than
250ms to report an error, but does return before the IPv4 connection
is established.
In result, an invalid socket might be used for that connection.
3 years ago
Patric Stout 9c36c12c85
Codechange: ensure OnConnect() always gets called with a valid socket (#9729)
This should already be the case, but now assert()s will tell us
if this isn't.
3 years ago
Jonathan G Rennison 906fde15c7 Move NewGRF extension feature/property lists to separate file 3 years ago
Jonathan G Rennison aaf5cd1091 Debug: Fix dumping of randomised sprite groups 3 years ago
Jonathan G Rennison 76fcfd3efd Debug: Add sprite dump support to NewGRF objects 3 years ago
Jonathan G Rennison 5d56d12bf3 Debug: Show object class/type IDs in object debug window 3 years ago
Jonathan G Rennison 4e25fa199c Add a "default" mode to TT autofill rounding setting, set as default
Use game ticks per minute or day ticks
3 years ago
Jonathan G Rennison bc75c3af6f Debug: Show ObjectSpec flags and more fields in debug window 3 years ago
Jonathan G Rennison 431d33f149 Allow per-house town cargo generation to be truncated to 0
This effectively applies the town cargo scaling setting more strictly
3 years ago
Jonathan G Rennison a8f879251b Debug: Allow inspecting non-GRF houses 3 years ago
Jonathan G Rennison 7c1a332f84
Merge pull request #340 from telk5093/jgrpp
Update: Korean translation
3 years ago
Jonathan G Rennison 0642af2e99 Explictly suppress unsigned unary minus warning on MSVC in IntFromChars 3 years ago
TELK 6046852310 Update: Korean translation up to 8258289 3 years ago
Jonathan G Rennison 3ef6b29f4a Avoid unsigned unary minux warning on MSVC in IntFromChars 3 years ago
Jonathan G Rennison 0cdaa8ef55 Remove use of std::from_chars and <charconv>
Replace it with another implementation to avoid compilation issues
on some platforms
3 years ago
Tyler Trahan 802ca4e722
Fix: Don't try to rename OWNER_DEITY signs in-game (#9716) 3 years ago
Jonathan G Rennison cff3000358 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/galician.txt
3 years ago
Jonathan G Rennison 0aeafeaf3a Allow adding multiple scheduled dispatch departure slots at once 3 years ago
Jonathan G Rennison 6f38769b73 Rename incorrectly named set time/date window strings 3 years ago
Jonathan G Rennison 10f3641d9f Adjust road vehicle quantum tunneling setting text
See: #338
3 years ago
Jonathan G Rennison 70fdb9091b Merge PR #338 into jgrpp 3 years ago
translators 6953df7b5e Update: Translations from eints
galician: 265 changes by pvillaverde
indonesian: 8 changes by indrabagus
spanish: 7 changes by MontyMontana
3 years ago
Jonathan G Rennison ba65a5bab5 Run most "daily" vehicle tasks at a fixed frequency at day lengths >= 8
This includes: running costs, track sharing costs, breakdown checks,
servicing checks, order checks
3 years ago
Jonathan G Rennison 1ff03f8ee9 De-virtualise calls to Vehicle::OnNewDay 3 years ago
Jonathan G Rennison 0794825187 Reduce unnecessary diffs with upstream in lang/english.txt 3 years ago
Jonathan G Rennison 8bc15c10cd Fix station/waypoint vehicle tooltip showing incorrect ctrl-click text
Split ctrl-click text from original tooltip strings

See: #36
3 years ago
Jonathan G Rennison e6fbf797ff Split timetable clear/set speed/wait time tooltip strings
This is to separate the original strings from added suffixes
3 years ago
translators e0a91d7325 Update: Translations from eints
galician: 17 changes by pvillaverde
3 years ago
Jonathan G Rennison b02b154218 Also show hours and minutes for schdispatch duration in minutes mode 3 years ago
Jonathan G Rennison a7094fec3b Add a STRING8 format code 3 years ago
Jonathan G Rennison dd5d4c795b Fix entering schdispatch delay/duration when not in minutes mode 3 years ago
Jonathan G Rennison 2308345803 Improve labels of non-text scheduled dispatch date/time entry window 3 years ago
Jonathan G Rennison 766fbacd57 Debug: Click toggle between long and short vehicle flag dump in window 3 years ago
Jonathan G Rennison 5d6533e258 Debug: Add a multiline long form of DumpVehicleFlags 3 years ago
Jonathan G Rennison b5521653e0 Debug: Add general mechanism to make lines in debug window clickable 3 years ago
Jonathan G Rennison 2b56ca2b62 Debug: Create struct type for ExtraInfo output parameter 3 years ago
translators ad7bdeb73a Update: Translations from eints
chinese (simplified): 2 changes by kurax
3 years ago
Jonathan G Rennison ef1b8f159f Fix ctrl-click signal cycling setting 3 years ago
reldred f461f0de08 Introduces a new setting (defaulted off) to allow preventing road vehicles from performing so-called quantum tunelling through other vehicles blocking their path. 3 years ago
Jonathan G Rennison 9ff8643fd9 Split config transparency settings into base and extra fields
This is to avoid incorrect settings when loading in trunk,
as the min/max clamping is not bitwise.
In particular having all options set in trunk when transparent vehicles
in tunnels was set.
3 years ago
Michael Lutz 20a30825a0
Fix: Insufficient input validation for CmdIndustryCtrl. (#9711) 3 years ago
Jonathan G Rennison 5c0c057dda Adjust ConHookServerOrNoNetwork error message 3 years ago
translators 793de48e89 Update: Translations from eints
vietnamese: 2 changes by KhoiCanDev
3 years ago
Jonathan G Rennison 0691b25e17 Merge branch 'master' into jgrpp
# Conflicts:
#	src/saveload/afterload.cpp
3 years ago
Jonathan G Rennison 5723c317f7 Fix trains with non-front parts needing repair not being serviced 3 years ago
Jonathan G Rennison 4db14ccd18 Fix 71c39dc: Incorrect handling of order without non-stop flag
See: #337
3 years ago
Jonathan G Rennison 4ccbb11440 Only show level crossing overlay sprites on outsides of multi-track crossings
When using both adjacent crossings and safer crossings
3 years ago
Jonathan G Rennison 551560537f Ensure that adjacent level crossings cannot leave map if there are no void tiles 3 years ago
Jonathan G Rennison 5959e1c0f9 Merge PR #336 into jgrpp 3 years ago
Jonathan G Rennison af2c51e3d4 Merge branch 'running-costs-exploration' into jgrpp 3 years ago
reldred 5a53b4d846 Additional tweaks to allow rivers to spawn in deserts (causing aditional tropic biome to spawn around them). This piggybacks off of the 'allow lakes in deserts' setting, renaming it to cover both. The actual setting name itself internally hasn't changed. 3 years ago
Jonathan G Rennison 71c39dc8c2 If train next order is for same station when leaving, do not leave
Just start loading again without moving instead
3 years ago
dP ad90e88ebd
Change: Make pf.yapf.rail_firstred_twoway_eol on by default (#9544) 3 years ago
dP 54951e39a1
Fix #8797: Use logical rail length when placing signals (#9652) 3 years ago
nchappe 2cb6351af5
Fix: Update last servicing dates when using the date cheat (#9694) 3 years ago
Bernard Teo 0533b666b7
Fix #9702: Display order window for vehicle group on ctrl-click only when using shared orders (#9704) 3 years ago
Jonathan G Rennison f22a5685c3 Divide cost instead of cost_factor in running costs division
This is to prevent 0 running costs for cheap vehicles when
cost_factor would be < 1
3 years ago
Jonathan G Rennison bb8e4eb18a Adjust stopped/depot detection for running costs division
Fix v/this use in Train::GetRunningCost
3 years ago
Jonathan G Rennison f16657ec96 Fix running costs divider settings saveload 3 years ago
Jonathan G Rennison 33bedf0061 Allow changing running cost divider settings in game 3 years ago
Jonathan G Rennison fddc9fb975 Increase max value of running cost divider settings 3 years ago
translators f6886754ff Update: Translations from eints
greek: 2 changes by dionisis84
german: 2 changes by danidoedel
3 years ago
reldred 904ff346c2 Initial commit to allow configuring running costs as a fraction (1/1 default thru 1/4) independently for both vehicles stopped in depots (doesn't work for planes, I'm not smart enuff), or vehicles that are stationary. 3 years ago
Jonathan G Rennison fc58ed9987
Codechange: Remove CargoSpec::multipliertowngrowth which is unused (#9701)
This is set by cargo property 19.
This property is only implemented in TTDPatch.
3 years ago
Jonathan G Rennison 782fba3064 Fix windows not being deleted when order changed during deletion 3 years ago
Jonathan G Rennison 25a467730e Fix signals on approach to tunnel/bridge entrance showing wrong aspect
When signal change propagated outward from the tunnel/bridge,
such as in tunnel/bridge signal add/change.
3 years ago
Jonathan G Rennison 6a4d849cba Connect new plan lines to end of previous line when ctrl pressed 3 years ago
Jonathan G Rennison f53b295a58 Fix overuse of _current_plan in struct Plan methods 3 years ago
Jonathan G Rennison 95a60d520e Increase object class ID limit 3 years ago
Charles Pigott cf16f452da
Fix #9680: Recalculating aircraft positions before map array updates caused crashes (#9699) 3 years ago
Jonathan G Rennison 76ad272f3b Fix reservation loop with single-vehicle trains and signalled tunnel/bridges 3 years ago
Jonathan G Rennison b259d04339 Add tunnel/bridge entrance/exit values to entry direction conditional 3 years ago
Jonathan G Rennison 74bfe4e6d2 Allow placing routing restrictions on tunnel/bridge entrance/exit signals
No reserve through support
3 years ago
Jonathan G Rennison 1ee59c8333 Fix pending speed restrictions not being applied on signalled tunnel/bridges
Distance remaining was not decremented
3 years ago
Jonathan G Rennison 3ea4ac98e7 Fix missing VehicleRailFlags in DumpVehicleFlags 3 years ago
Jonathan G Rennison 8c8c0e250a Fix exit signal state when unable to leave signalled custom bridge head
When the exit direction is different to the bridge direction.
3 years ago
frosch 5f6303f985
Fix: don't complain when the sprite font is missing glyphs. (#9692)
Silently auto-pick a suitable font.
3 years ago
Jonathan G Rennison e661a07425 Fix train not stuck action clearing wait counter when in depot/tunnel/bridge 3 years ago
Jonathan G Rennison 48977853a4 Simplify some rail/signalled tunnel/bridge tile checks 3 years ago
Jonathan G Rennison dad007e16a Fix spelling of TRPRF_SPEED_RESTRICTION_SET 3 years ago
translators f8efab4653 Update: Translations from eints
japanese: 1 change by akaregi
dutch: 3 changes by Afoklala
3 years ago
Jonathan G Rennison dca7e7bc58 Merge branch 'master' into jgrpp 3 years ago
Jonathan G Rennison 3308edf792 Try to extend reservation when passing sighting distance of non-end signal 3 years ago
Jonathan G Rennison 2a2b988424 Fix premature reservation end after reversing station found
ChooseTrainTrackLookAheadStateFlags/TrainReservationLookAheadFlags mixup
3 years ago
translators 62795a2e6d Update: Translations from eints
russian: 2 changes by Ln-Wolf
3 years ago
Jonathan G Rennison 2b1993ee4d Fix crash with wrong-way running on multi-aspect signalled tunnel/bridge
When using the ignore signals buttons and updating middle signal states
3 years ago
Jonathan G Rennison 5ac6ea8cd1 Suppress unitialised warning in GenerateTownNameString on some platforms 3 years ago
Jonathan G Rennison 34f8098689 Suppress Wdeprecated-copy warning on clang/emscripten 3 years ago
Jonathan G Rennison c4e3c2cd75 Avoid unknown pragma GCC diagnostic warning on GCC < 9 3 years ago
translators 4bcbcbc58f Update: Translations from eints
tamil: 2 changes by Aswn
3 years ago
Jonathan G Rennison 58d8418f83 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/arabic_egypt.txt
3 years ago
Tyler Trahan 48c1c7f221 Cleanup: Fix typo in overflowsafe_type comment 3 years ago
translators 236f71640c Update: Translations from eints
english (us): 2 changes by 2TallTyler
arabic (egypt): 49 changes by AviationGamerX
korean: 17 changes by telk5093
catalan: 2 changes by J0anJosep
danish: 4 changes by nielsmh
french: 2 changes by glx22
portuguese: 2 changes by azulcosta
3 years ago
Jonathan G Rennison d35b9719a9 Fix redundant declaration of GetLinkGraphJobDesc 3 years ago
Jonathan G Rennison a731da3956 Suppress Wdeprecated-copy warning in btree_iterator 3 years ago
Jonathan G Rennison 2b8018f5d6 MinGW: Avoid function cast warnings with GetProcAddress 3 years ago
translators 0ad40ee868 Update: Translations from eints
arabic (egypt): 35 changes by AviationGamerX
3 years ago
Jonathan G Rennison f67407d777 Fix missing include in core/overflowsafe_type.hpp
See: #334
3 years ago
Tyler Trahan e9cb9c1135
Fix #9579: Object and HQ construction is Construction cost, not Property Maintenance (#9673) 3 years ago
Jonathan G Rennison 8f6549aed6 Merge branch 'pr-332' into jgrpp 3 years ago
Yourself 3a1e427b0c fix infinite recursion in FindFirstBit64 3 years ago
Jonathan G Rennison fb604ded6b Fix restricted signal bit with semaphores for GRF custom signals 3 years ago
Jonathan G Rennison 3d4261a33a Merge branch 'master' into jgrpp
# Conflicts:
#	src/order_cmd.cpp
#	src/table/settings/news_display_settings.ini
3 years ago
Guillaume Renoult c38af72978
Update: add setting to hide news about competitors vehicle crash (#9653) 3 years ago
Tyler Trahan b4bd7b367e
Feature: Ctrl-click to remove fully autoreplaced vehicles from list (#9639) 3 years ago
Tyler Trahan 08cb5ba2cd
Fix: Don't show screenshot GUI in screenshots (#9674) 3 years ago
J0anJosep d0655a48ba Fix: Do not redraw vehicle lists when skip order command is tested. 3 years ago
Michael Lutz 8c558d74a5 Fix 55a11710: Curly braces need to be double-escaped for (std::)fmt. 3 years ago
translators 73001ae1a9 Update: Translations from eints
english (au): 3 changes by LordAro
3 years ago
Michael Lutz 95c8467670 Fix 65cbde4b: Writing to uninitialized string when loading a currency NewGRF. 3 years ago
Loïc Guilloux 6ff0858b38
Fix #9669, cbe00ec: Only try valid reverse directions (#9672) 3 years ago
Dmitry Erlikh 33ef34189e
Fix #9648: add missing commas in crash message 3 years ago
dP 80e3397f85
Fix 3a1a915: Every 16th client never reconnects after server restart 3 years ago
Jonathan G Rennison 258b81ae7f Fix missing includes in mixer.cpp 3 years ago
Jonathan G Rennison 1174b0c53f Remove OrthogonalTileIteratorStep
Step sizes other than 1 are no longer used
3 years ago
Jonathan G Rennison f9e3c012f6 Fix missing include in bitmap_type.h 3 years ago
Jonathan G Rennison 85d2d0daab Fix 3rd party optional comparison operators 3 years ago
Jonathan G Rennison 486e69f1f8 Fix use of optional from wrong namespace 3 years ago
Jonathan G Rennison 168dc4678d Avoid type alias of forward-declared template class 3 years ago
Jonathan G Rennison 914da4bdb9 Fix 1e0bea5b: Incorrect extern declarations 3 years ago
Jonathan G Rennison 3373be7b0d Fix assertion failure in SyncCompanySettings 3 years ago
Jonathan G Rennison fea9acd687 Do not show signal window toggle size button in realistic braking mode 3 years ago
Jonathan G Rennison 9e946d4c5d Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/command.cpp
#	src/console_cmds.cpp
#	src/group_gui.cpp
#	src/lang/catalan.txt
#	src/lang/czech.txt
#	src/lang/danish.txt
#	src/lang/greek.txt
#	src/lang/hungarian.txt
#	src/lang/irish.txt
#	src/lang/japanese.txt
#	src/lang/luxembourgish.txt
#	src/lang/norwegian_bokmal.txt
#	src/lang/romanian.txt
#	src/lang/russian.txt
#	src/lang/serbian.txt
#	src/lang/simplified_chinese.txt
#	src/lang/slovak.txt
#	src/lang/spanish_MX.txt
#	src/lang/swedish.txt
#	src/lang/tamil.txt
#	src/lang/traditional_chinese.txt
#	src/lang/turkish.txt
#	src/lang/ukrainian.txt
#	src/lang/vietnamese.txt
#	src/network/network.cpp
#	src/network/network_client.cpp
#	src/network/network_func.h
#	src/network/network_internal.h
#	src/network/network_server.cpp
#	src/network/network_server.h
#	src/saveload/afterload.cpp
#	src/saveload/newgrf_sl.cpp
#	src/saveload/saveload.h
#	src/script/script_instance.cpp
#	src/toolbar_gui.cpp
#	src/toolbar_gui.h
#	src/vehicle_gui.cpp
#	src/widgets/rail_widget.h
#	src/widgets/vehicle_widget.h
#	src/window.cpp
3 years ago
Jonathan G Rennison 6611ed5a53 Encode oversize map dimensions in non-extended game info serialisation
Use non power of 2 values for sizes >= 64k
3 years ago
Jonathan G Rennison eaf5908a0b Add a constant for SERVER_GAME_INFO_EXTENDED max version
Set max version correctly in QueryNetworkGameSocketHandler::SendGameInfo
3 years ago
Jonathan G Rennison 3cff5e53e4 Add train cached_curve_speed_mod to VENC, cache checks and debug window 3 years ago
Jonathan G Rennison 3ef1a0943b Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/lang/chuvash.txt
#	src/lang/czech.txt
#	src/lang/english_AU.txt
#	src/lang/english_US.txt
#	src/lang/german.txt
#	src/lang/japanese.txt
#	src/lang/korean.txt
#	src/lang/latvian.txt
#	src/lang/russian.txt
#	src/tree_gui.cpp
#	src/vehicle.cpp
3 years ago
Jonathan G Rennison 324e90e5ac Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/lang/arabic_egypt.txt
#	src/lang/english.txt
#	src/lang/greek.txt
#	src/network/core/tcp_connect.cpp
#	src/network/network_client.cpp
#	src/network/network_client.h
#	src/pathfinder/npf/npf.cpp
#	src/pathfinder/yapf/yapf_ship.cpp
#	src/rail_gui.cpp
#	src/settings_table.cpp
#	src/settings_type.h
#	src/station_cmd.cpp
#	src/table/settings/gui_settings.ini
#	src/town_cmd.cpp
#	src/widgets/rail_widget.h
3 years ago
translators 9edb75ec0b Update: Translations from eints
arabic (egypt): 7 changes by AviationGamerX
3 years ago
Jonathan G Rennison 9e1bb3eea7 Merge tag '12.0-beta2' into jgrpp-beta
# Conflicts:
#	docs/landscape_grid.html
#	src/lang/simplified_chinese.txt
#	src/network/network_server.cpp
#	src/station_cmd.cpp
3 years ago
Jonathan G Rennison faf32200cf Merge tag '12.0-beta1' into jgrpp-beta
# Conflicts:
#	CMakeLists.txt
#	bin/ai/CMakeLists.txt
#	bin/game/CMakeLists.txt
#	src/build_vehicle_gui.cpp
#	src/console_cmds.cpp
#	src/core/overflowsafe_type.hpp
#	src/fios.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/korean.txt
#	src/lang/polish.txt
#	src/network/core/game_info.cpp
#	src/network/core/game_info.h
#	src/network/core/tcp_game.cpp
#	src/network/core/tcp_game.h
#	src/network/network.cpp
#	src/network/network_client.cpp
#	src/network/network_client.h
#	src/network/network_coordinator.cpp
#	src/network/network_gui.cpp
#	src/network/network_server.cpp
#	src/network/network_server.h
#	src/newgrf_engine.cpp
#	src/openttd.cpp
#	src/rev.cpp.in
#	src/settings_type.h
#	src/train.h
#	src/train_cmd.cpp
3 years ago
Jonathan G Rennison f764fcfb1f Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/console_cmds.cpp
#	src/debug.cpp
#	src/lang/vietnamese.txt
#	src/network/core/address.cpp
#	src/network/core/address.h
#	src/network/core/config.h
#	src/network/core/os_abstraction.cpp
#	src/network/core/os_abstraction.h
#	src/network/core/tcp_listen.h
#	src/network/core/udp.cpp
#	src/network/core/udp.h
#	src/network/network.cpp
#	src/network/network_client.cpp
#	src/network/network_gamelist.cpp
#	src/network/network_server.cpp
#	src/network/network_udp.cpp
#	src/newgrf.cpp
#	src/openttd.cpp
#	src/saveload/saveload.h
#	src/settings.cpp
#	src/settings_table.cpp
#	src/settings_type.h
#	src/table/settings/network_settings.ini
3 years ago
Jonathan G Rennison 80236f5c4c Remove a dubious use of FIND_FIRST_BIT 3 years ago
Jonathan G Rennison de5de583e3 Rationalise FIND_FIRST_BIT/FindFirstBit2x64
Use builtins for FindFirstBit2x64.
Apply and masks to prevent undefined behaviour if inputs out of range
3 years ago
Jonathan G Rennison 1e0bea5b8d Replace FindFirstBit/FindFirstBit64 with a single template function 3 years ago
Jonathan G Rennison d585ce75dd Use bitmath builtins for SetBitIterator when available 3 years ago
Jonathan G Rennison e1e7b67270 Fix cargo mask truncation in CargoMaskValueFilter and LinkRefresher::RefreshLinks 3 years ago
Jonathan G Rennison f54d69a60a Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/economy.cpp
#	src/elrail.cpp
#	src/graph_gui.cpp
#	src/linkgraph/linkgraph_gui.cpp
#	src/network/core/game_info.cpp
#	src/newgrf_station.cpp
#	src/saveload/saveload.cpp
#	src/settings.cpp
#	src/station_cmd.cpp
#	src/station_gui.cpp
#	src/strings_func.h
#	src/table/settings/network_settings.ini
#	src/table/settings/settings.ini
3 years ago
Jonathan G Rennison 62afd94b47 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/company_cmd.cpp
#	src/economy.cpp
#	src/lang/swedish.txt
#	src/network/network_command.cpp
#	src/news_gui.cpp
#	src/saveload/saveload.h
#	src/script/api/script_list.cpp
#	src/video/cocoa/cocoa_v.mm
#	src/video/sdl2_v.cpp
3 years ago
translators 00a6287f97 Update: Translations from eints
arabic (egypt): 2 changes by AviationGamerX
3 years ago
Jonathan G Rennison d1f1a6942a Add support for loading trunk savegames versions 293 - 299 (12.0)
Use modified upstream saveload implementation for these versions
Re-arrange headers to support multiple saveload implementations
3 years ago
Jonathan G Rennison c6f0559ad4 Fix const-correctness in script DoCommand string validation
See: 665e3c1f
3 years ago
SamuXarick 0563c0e308 Fix #9591: Update station docking tiles upon placing a water object on a docking tile (#9594)
(cherry picked from commit e404d16929)
3 years ago
Loïc Guilloux a4a7240511 Change: Allow all tiles around docks to be docking tiles (#9578)
(cherry picked from commit 38a64eb2aa)
3 years ago
Loïc Guilloux a84feb3444 Fix 39e90ec: Integers for scripts are 64bit, but saved as 32bit (#9415)
(cherry picked from commit ddafc0de05)
3 years ago
Jonathan G Rennison fb8020916a Add upstream savegame version fields 3 years ago
Jonathan G Rennison 5ec1573ccd Add separate max load savegame version, set savegame version values 3 years ago
Jonathan G Rennison 61cc60099a Merge branch 'jgrpp' into jgrpp-beta
# Conflicts:
#	src/network/core/packet.cpp
#	src/network/core/udp.cpp
3 years ago
Jonathan G Rennison 6bc3481931 Fix MinGW compilation issues 3 years ago
Jonathan G Rennison 5586d1a20a Remove use of deprecated allocator rebind in cpp-btree 3 years ago
Jonathan G Rennison 9540d42427 Fix cast warning in GUIHouseList
See: #307
3 years ago
Jonathan G Rennison 4a57625183 Avoid cast warnings in network packet handling
See: #307
3 years ago
Jonathan G Rennison 6ba53a9a68 Add ifdef around 32 bit length limit check in SlSetLength 3 years ago
Jonathan G Rennison 1d89fe3820 Add casts around engine property checks in GetEngineProperty 3 years ago
Jonathan G Rennison d2e757db9a Set field size for PropertyID enum 3 years ago
Jonathan G Rennison 86e1f58bc0 Avoid unused variable warning when not using threads
See: #307
3 years ago
Jonathan G Rennison 0842621653 Remove unused _network_udp_mutex
See: #307
3 years ago
Jonathan G Rennison 8a7cb10813 Fix incorrect cast/colour operation in screenshot GetIndustryValue
See: #307
3 years ago
translators ccf70fc4b3 Update: Translations from eints
dutch: 2 changes by Afoklala
3 years ago
Jonathan G Rennison 24c6dfe872 Merge branch 'master' into jgrpp-beta 3 years ago
TELK afe7824270 Update: Korean translation up to aff6dbec2d 3 years ago
TELK ed1c0c70ea Update: Korean translation up to 9254be5 3 years ago
TELK 7b12d23e4f Update: Korean translation 3 years ago
Jonathan G Rennison da282c3ecc Merge branch 'master' into jgrpp-beta
# Conflicts:
#	.github/workflows/ci-build.yml
#	CMakeLists.txt
#	src/lang/finnish.txt
#	src/lang/french.txt
#	src/lang/korean.txt
#	src/lang/norwegian_bokmal.txt
#	src/lang/russian.txt
#	src/lang/spanish.txt
#	src/misc_gui.cpp
#	src/newgrf.cpp
3 years ago
translators edf7b02ddb Update: Translations from eints
german: 2 changes by Wuzzy2
3 years ago
Jonathan G Rennison 81290df946 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/lang/spanish.txt
#	src/network/core/tcp_content_type.h
#	src/network/network_content.cpp
#	src/saveload/cheat_sl.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/station_sl.cpp
#	src/saveload/vehicle_sl.cpp
#	src/settings.cpp
#	src/settings_internal.h
#	src/table/settings.h.preamble
#	src/table/settings/company_settings.ini
#	src/table/settings/currency_settings.ini
#	src/table/settings/gameopt_settings.ini
#	src/table/settings/misc_settings.ini
#	src/table/settings/settings.ini
#	src/table/settings/win32_settings.ini
#	src/table/settings/window_settings.ini
3 years ago
translators 488cf26406 Update: Translations from eints
swedish: 44 changes by joeax910
japanese: 1 change by clzls
chinese (simplified): 2 changes by clzls
3 years ago
Jonathan G Rennison aff6dbec2d Show timetabled 0 wait times for stations/depots in timetable window 3 years ago
Jonathan G Rennison 53139c2405 Add current day/month to tracerestrict and conditional order conditionals 3 years ago
translators 4487ad1a5e Update: Translations from eints
korean: 1 change by telk5093
polish: 2 changes by pAter-exe
3 years ago
Jonathan G Rennison ffef1c9e44 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/saveload/cargopacket_sl.cpp
#	src/saveload/cheat_sl.cpp
#	src/saveload/company_sl.cpp
#	src/saveload/engine_sl.cpp
#	src/saveload/map_sl.cpp
#	src/saveload/order_sl.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/station_sl.cpp
#	src/saveload/vehicle_sl.cpp
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/stdafx.h
#	src/table/settings/settings.ini
#	src/town_cmd.cpp
#	src/vehicle.cpp
3 years ago
Jonathan G Rennison 944f090b46 Add settings for minimum contiguous landmass size for town/city placement 3 years ago
Jonathan G Rennison 55620ff162 Add general function for checking size of contiguous tile area 3 years ago
translators a0831cec39 Update: Translations from eints
swedish: 1 change by joeax910
3 years ago
Jonathan G Rennison 8b5b96af77 Fix typos in PostProcessNetworks 3 years ago
Jonathan G Rennison 28fd549808 Decline company takeover offer on company's behalf if company has no client 3 years ago
Jonathan G Rennison 296987153b Add console command to offer a company for sale 3 years ago
Jonathan G Rennison ec8512e2ea When declining to buy a company, ask the next company immediately 3 years ago
translators 279fe11b03 Update: Translations from eints
indonesian: 2 changes by hadyatmo
3 years ago
frosch e8bff0ad03
Change: Suppress panning in intro game, while user is interacting with the GUI. (#9645) 3 years ago
frosch 111a47af0d Codechange: rename 'info_view' to 'rotor_in_gui', because it is only used by helicopters. 3 years ago
frosch bc984d9af5 Codechange: remove redundant 'info_view' parameter, it can be derived from 'image_type'. 3 years ago
translators bf0210229c Update: Translations from eints
english (us): 2 changes by 2TallTyler
vietnamese: 2 changes by KhoiCanDev
catalan: 2 changes by J0anJosep
portuguese (brazilian): 2 changes by Vimerum
3 years ago
Joan Josep b2e83b4da6
Fix: Draw rotor in cursor when dragging helicopters. (#9612) 3 years ago
Loïc Guilloux 08c048e0a1
Fix #9643, 95386dc: Incorrect determination of screenshot format (#9644) 3 years ago
translators ae340f415e Update: Translations from eints
russian: 2 changes by Ln-Wolf
3 years ago
Loïc Guilloux f2c03a77f0
Change: Don't store not to be activated newGRFs in savegames (#9627) 3 years ago
Loïc Guilloux bc1b84cbbb
Fix #9630: intro game could zoom in/out more than allowed by settings (#9633)
Also fixes #9622
3 years ago
translators b043d58b92 Update: Translations from eints
swedish: 4 changes by joeax910
spanish: 1 change by MontyMontana
3 years ago
Loïc Guilloux eed49d7792
Fix #9626, ddafc0d: Incorrect loading of script saved data (#9629) 3 years ago
translators e68a51eced Update: Translations from eints
korean: 3 changes by telk5093
french: 2 changes by glx22
portuguese: 2 changes by azulcosta
3 years ago
glx22 1c0700e0c0 Fix #9624: compilation with RANDOM_DEBUG 3 years ago
Jonathan G Rennison a9c2c7288a Fix compilation when ENABLE_NETWORK_SYNC_EVERY_FRAME is defined
This is set by RANDOM_DEBUG

See also: https://github.com/OpenTTD/OpenTTD/issues/9624
3 years ago
Jonathan G Rennison b58ff65c5c Debug: Fix company money state checksum being logged with wrong company 3 years ago
Jonathan G Rennison 4a1e347f8e Fix desync when using "perfect" tree placement mode in arctic climate 3 years ago
translators 6289b4dd81 Update: Translations from eints
greek: 2 changes by dionisis84
russian: 1 change by Ln-Wolf
finnish: 2 changes by hpiirai
tamil: 88 changes by Aswn
3 years ago
Jonathan G Rennison 544da99102 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/cargopacket.h
#	src/lang/korean.txt
#	src/linkgraph/linkgraph.h
#	src/linkgraph/linkgraphjob.h
#	src/linkgraph/linkgraphschedule.h
#	src/network/network_admin.h
#	src/network/network_func.h
#	src/network/network_server.cpp
#	src/network/network_server.h
#	src/order_base.h
#	src/rail_cmd.cpp
#	src/saveload/company_sl.cpp
#	src/saveload/depot_sl.cpp
#	src/saveload/economy_sl.cpp
#	src/saveload/linkgraph_sl.cpp
#	src/saveload/map_sl.cpp
#	src/saveload/newgrf_sl.cpp
#	src/saveload/order_sl.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/signs_sl.cpp
#	src/saveload/station_sl.cpp
#	src/saveload/subsidy_sl.cpp
#	src/saveload/town_sl.cpp
#	src/saveload/vehicle_sl.cpp
#	src/script/api/script_object.cpp
#	src/settings.cpp
#	src/string.cpp
#	src/string_func.h
#	src/table/CMakeLists.txt
#	src/table/settings/settings.ini
#	src/viewport_sprite_sorter_sse4.cpp
3 years ago
Charles Pigott 53e17d07d2
Fix #9595: Always use plural forms of cargo for subsidy strings (#9619) 3 years ago
Jonathan G Rennison 406b81abb1 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/economy.cpp
#	src/lang/traditional_chinese.txt
#	src/order_gui.cpp
#	src/settings.cpp
#	src/settings_internal.h
#	src/table/company_settings.ini
#	src/table/currency_settings.ini
#	src/table/gameopt_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/table/win32_settings.ini
#	src/table/window_settings.ini
3 years ago
Jonathan G Rennison 784fcbd1e7 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/table/currency_settings.ini
#	src/table/gameopt_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
3 years ago
Charles Pigott 86c295bb3b Change: Ignore refresh_rate setting when vsync is enabled 3 years ago
Charles Pigott e09f251fc6 Fix #9614: Refresh rate dropdown was still active when vsync was enabled 3 years ago
Charles Pigott 0853c1979b
Feature: Button to toggle showing advanced signal types (#9617) 3 years ago
Charles Pigott 3b7daca832
Change: Don't use 'server address' string in server list when displaying an invite code (#9615) 3 years ago
Jonathan G Rennison b00d5e07d2 Fix fb0549ea: Incorrect cherry-pick removed end marker 3 years ago
Jonathan G Rennison 781aaa4fe5 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/table/company_settings.ini
#	src/table/currency_settings.ini
#	src/table/gameopt_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/table/win32_settings.ini
#	src/table/window_settings.ini
3 years ago
Patric Stout 78eece71d9
Codechange: "set but not used" warning when disabling assert() (#9613)
DebugCheckSanity() is unused when asserts are disabled. While at it,
use WITH_ASSERT over NDEBUG, as that means we also run this code
during beta/RC.
3 years ago
Jonathan G Rennison 900b9fdf3b Fix crash with wrong-way running on signalled tunnel/bridge
When using the ignore signals buttons, and exiting the bridge/tunnel
in some cases
3 years ago
translators d66dea5d83 Update: Translations from eints
indonesian: 9 changes by bsuseno
3 years ago
Jonathan G Rennison 9254be5b3c Debug: Show info of all aircraft parts in vehicle debug window 3 years ago
Jonathan G Rennison c64f48f2bd Debug: Add direction and spritenum info to vehicle debug window 3 years ago
Jonathan G Rennison 71a5abd42b Fix aircraft shadows being drawn facing the wrong direction 3 years ago
translators 4b96244b4d Update: Translations from eints
romanian: 6 changes by kneekoo
3 years ago
glx22 cbe00ec651 Fix: Try all possible reverse directions when a ship reaches a dead end 3 years ago
glx22 207cf7bbdd Change: Reverse ship when leaving docks if a better path exists 3 years ago
translators d0092925c9 Update: Translations from eints
romanian: 9 changes by kneekoo
3 years ago
translators 7d831be3ab Update: Translations from eints
indonesian: 6 changes by bsuseno
3 years ago
translators eaeab34e7a Update: Translations from eints
norwegian (bokmal): 10 changes by Anolitt
korean: 9 changes by telk5093
russian: 9 changes by Ln-Wolf
finnish: 10 changes by hpiirai
spanish: 8 changes by MontyMontana
french: 9 changes by glx22

(cherry picked from commit 8dd846bad4)
3 years ago
translators 33a55c5fd4 Update: Translations from eints
hindi: 67 changes by ritwikraghav14

(cherry picked from commit c562b4c527)
3 years ago
translators 9831644112 Update: Translations from eints
spanish (mexican): 2 changes by absay

(cherry picked from commit 37b285ad83)
3 years ago
translators 7119903c94 Update: Translations from eints
german: 1 change by Wuzzy2
spanish: 1 change by ilyabakhlin

(cherry picked from commit 12de256b72)
3 years ago
translators de83640d77 Update: Translations from eints
english (us): 1 change by 2TallTyler
catalan: 5 changes by J0anJosep

(cherry picked from commit d835a42c05)
3 years ago
translators f7ca8bd6ae Update: Translations from eints
spanish (mexican): 1 change by absay
latvian: 2 changes by osprinkis

(cherry picked from commit 3559e55b91)
3 years ago
translators b6e29de951 Update: Translations from eints
korean: 1 change by telk5093
dutch: 1 change by Afoklala
french: 1 change by MalaGaM

(cherry picked from commit ea23a9cdb6)
3 years ago
translators cda901ff04 Update: Translations from eints
korean: 1 change by telk5093

(cherry picked from commit d816ff0361)
3 years ago
translators 7ec6db1808 Update: Translations from eints
swedish: 1 change by joeax910

(cherry picked from commit 48ecc481ee)
3 years ago
translators c26682de02 Update: Translations from eints
japanese: 1 change by scabtert

(cherry picked from commit 956d761e3e)
3 years ago
translators f65ec3b797 Update: Translations from eints
korean: 2 changes by telk5093
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 1 change by azulcosta
portuguese (brazilian): 1 change by Vimerum

(cherry picked from commit 043a544248)
3 years ago
translators b24fba8a94 Update: Translations from eints
norwegian (bokmal): 3 changes by Anolitt
dutch: 3 changes by Afoklala
portuguese (brazilian): 3 changes by Vimerum

(cherry picked from commit ce1c60699a)
3 years ago
translators a702de64c3 Update: Translations from eints
chinese (traditional): 9 changes by benny30111
english (us): 3 changes by 2TallTyler

(cherry picked from commit 7b5c0b4236)
3 years ago
Tyler Trahan fb0549ea59 Feature: Configurable subsidy duration
(cherry picked from commit d09210e1c6)
3 years ago
Jonathan G Rennison 4042480806 Merge branch 'jgrpp' into jgrpp-beta
# Conflicts:
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/table/company_settings.ini
#	src/table/currency_settings.ini
#	src/table/gameopt_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/table/win32_settings.ini
#	src/table/window_settings.ini
3 years ago
PeterN 32571a0ccd Fix: Wrong cargo line position in IndustryCargo window. (#9383)
Resolved by changing calculation to determine the offset based on centring the cargo lines in the available space.

(cherry picked from commit ce7ef4d824)
3 years ago
SamuXarick 48b287a22f Fix #9358: Don't skip empty files in tar (#9367)
(cherry picked from commit 1e6a2163a5)
3 years ago
Patric Stout 0550ca0854 Fix: on startup, NewGRF scan could case race-condition (#9382)
Creating a thread was not thread-safe. The irony.

The video-driver has a function GameLoopPause() which first checks
if the thread is the game-thread or not. For this it needs access
to this->game_thread. This variable is set in StartNewThread().

However, due to timing, it is well possible GameLoopPause() is
called from the thread well before this->game_thread is assigned.

And so we have a race-condition!

Simply solve this by preventing a thread to start till we are
done with our bookkeeping.

(cherry picked from commit b45c006ab9)
3 years ago
Patric Stout 441ff7e436 Fix: thread safety issue during exiting the game (#9380)
_exit_game is read by the draw-thread to know when to exit, but
most of the time written by the game-thread.

(cherry picked from commit c12a152ec9)
3 years ago
Patric Stout 573ab48e9c Fix 81062163: for (really) old games, station bus/truck station cache was not updated (#9366)
(cherry picked from commit 1e432fbd71)
3 years ago
TELK 3e78624965 Fix #9362: Hover in online players window was slightly too big (#9364)
This causes graphical glitches at the bottom of the window.

(cherry picked from commit 2d0abf5a76)
3 years ago
rubidium42 057e858d32 Fix #9353: [Script] Garbage collecting on priority queues could crash the game
(cherry picked from commit 71f3c35288)
3 years ago
Loïc Guilloux d46c764d60 Fix 4079c47: Missed a file when removing generated .sq files from the repo (#9350)
(cherry picked from commit 16ebf7861f)
3 years ago
Loïc Guilloux 0f05fc8573 Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage (#9351)
(cherry picked from commit ee5f23382d)
3 years ago
Patric Stout 0a7a4e06ad Add: adhere the autosave_on_exit setting for Null videodriver (#9343)
This is especially useful for automated-testing, to make a save
when the game quits while using "-vnull:ticks=N".

(cherry picked from commit 37ae6b8ae3)
3 years ago
Patric Stout 364ce76d51 Change: allow pause/unpause console command in single player too (#9342)
(cherry picked from commit 849a10520c)
3 years ago
Patric Stout 563884105f Change: by default, make "unload all" leave stations empty (#9301)
(cherry picked from commit 7648483364)
3 years ago
Patric Stout 3411203e5d Fix: compatible NewGRFs in crash-log reported wrong md5 (#9340)
The text suggests it reports the original md5, but it does in fact
report the replaced md5. Now it reports both.

(cherry picked from commit f997eb6ca4)
3 years ago
rubidium42 9299a29a52 Fix: limit heightmap sizes to something reasonable to prevent crafted heightmaps to OOM-crash the game
(cherry picked from commit 97c461d1e7)
3 years ago
translators 8b157c9bdf Update: Translations from eints
romanian: 1 change by kneekoo
3 years ago
Jonathan G Rennison fe8da3ae3a Fix missing include in header 3 years ago
Loïc Guilloux 07cc7da7fd Revert 7ca1793: Using Trackdir keyed node is not required, Exitdir keyed node still have the correct trackdir (#9576)
(cherry picked from commit 11dece205c)
3 years ago
Jonathan G Rennison ea9a65edcd Increase size of desync log message ring buffer 3 years ago
Jonathan G Rennison 6f16655e6e Add "special events" log. Add console command, include in crash logs. 3 years ago
Jonathan G Rennison 2e022d5194 Move game events to new event_logs header/cpp files 3 years ago
translators d2bc32e94a Update: Translations from eints
korean: 1 change by telk5093
romanian: 15 changes by kneekoo
3 years ago
Jonathan G Rennison 1451aa76ff Add console command to dump vehicle info 3 years ago
Jonathan G Rennison 6b250c203c Add chicken bit to control CheckCaches periodic/post-command flags 3 years ago
Jonathan G Rennison 24fdc8331b Add CheckCaches mode to emit a log/save/screenshot on detected issue 3 years ago
Jonathan G Rennison 1b8bbdaf76 Add chicken bit for CheckCaches call after DoCommandP 3 years ago
Jonathan G Rennison 5ed7aee8d3 Add flags field to CheckCaches for which checks to run
Add header file for CheckCaches
3 years ago
Loïc Guilloux c408007575 Fix #9548, e5fedcd: [Squirrel] Crash during engine cleanup after reaching memory limit on realloc (#9592)
(cherry picked from commit a53cfeef13)
3 years ago
Loïc Guilloux ff67f7b311 Fix #9588, 140a96b: [Squirrel] Reaching memory limit during script registration could prevent further script detections (#9589)
Also the memory allocation triggering the limit was never freed.
And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either.

(cherry picked from commit ccd586a736)
3 years ago
Tyler Trahan cd97ca95f2 Fix: Changing raw industry funding method redraws GUI (#9572)
(cherry picked from commit 4aa63ce8f3)
3 years ago
PeterN f5561ac212 Fix #9562: Handle case of invalid action2 with zero results. (#9564)
(cherry picked from commit 7e70ead396)
3 years ago
translators 340a36bf1f Update: Translations from eints
romanian: 8 changes by kneekoo
irish: 55 changes by temuchie
3 years ago
Jonathan G Rennison c99eaf72b7 Fix #9591: Update station docking tiles upon placing a water object on a docking tile (#9594)
See: https://github.com/OpenTTD/OpenTTD/issues/9591
See: https://github.com/OpenTTD/OpenTTD/pull/9594

Non-extended savegame bump to be applied later

(cherry picked from commit e404d16929)

# Conflicts:
#	src/object_cmd.cpp
#	src/saveload/afterload.cpp
#	src/saveload/saveload.h
3 years ago
SamuXarick e404d16929
Fix #9591: Update station docking tiles upon placing a water object on a docking tile (#9594) 3 years ago
Patric Stout e4ad632989
Add: [Network] Keep the refresh button in lowered state while refreshing (#9600)
This gives user visual feedback that the refresh is still pending, and
prevents people from clicking again and again thinking nothing is
happening. This is especially true for connections that fall back to
TURN, as that takes a few seconds to kick in.

Additionally, prevent clicking on the button again while a refresh
is pending. This is only delaying a successful result.
3 years ago
Loïc Guilloux 2144cd98a3
Fix: Incorrect Romanian own name (#9598) 3 years ago
Jonathan G Rennison 8f2582e0ff Update help text for check_caches console command 3 years ago
Jonathan G Rennison d4d54c9b90 Add a chicken bit setting to enable periodic CheckCaches 3 years ago
Jonathan G Rennison 96ea775b24 Avoid undefined behaviour in saveload chunk handlers
Use data() instead of &[0] to avoid issues with empty vectors
3 years ago
Jonathan G Rennison c47fd30330 Include docking tiles in station debug window 3 years ago
Loïc Guilloux a53cfeef13
Fix #9548, e5fedcd: [Squirrel] Crash during engine cleanup after reaching memory limit on realloc (#9592) 3 years ago
translators a2cf81e722 Update: Translations from eints
romanian: 38 changes by kneekoo
3 years ago
dP 585ad9bcab
Cleanup: Swap comments for IConsoleModes (#9587) 3 years ago
Loïc Guilloux ccd586a736
Fix #9588, 140a96b: [Squirrel] Reaching memory limit during script registration could prevent further script detections (#9589)
Also the memory allocation triggering the limit was never freed.
And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either.
3 years ago
Jonathan G Rennison 2df744db79 OSX: Fix CoreTextFontCache not setting font_height_cache
See: #323
3 years ago
translators 78d66b7732 Update: Translations from eints
romanian: 145 changes by kneekoo
3 years ago
translators 41094b6a4a Update: Translations from eints
spanish: 14 changes by MontyMontana
3 years ago
Jonathan G Rennison 513f6db718 Increase command log ring buffer size to 256 3 years ago
Jonathan G Rennison 65c20edde7 Settings: Merge orderproc into guiproc 3 years ago
translators e89be8d97a Update: Translations from eints
indonesian: 28 changes by bsuseno
romanian: 49 changes by kneekoo
3 years ago
Jonathan G Rennison db11c1d927 Add setting description help text for extra asymmetric linkgraph modes
See also: #321
3 years ago
Jonathan G Rennison 47156122fa Settings: Add a guiproc callback for general settings GUI operations 3 years ago
translators b4bacff4fe Update: Translations from eints
hungarian: 4 changes by pnpBrumi
indonesian: 41 changes by bsuseno
italian: 28 changes by CoderLel
romanian: 46 changes by kneekoo
slovak: 18 changes by ApplePie420
danish: 279 changes by nielsmh
3 years ago
Jonathan G Rennison fd605e3cf3 Merge branch 'master' into jgrpp-beta
# Conflicts:
#	.github/workflows/commit-checker.yml
#	src/company_cmd.cpp
#	src/console_cmds.cpp
#	src/crashlog.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/indonesian.txt
#	src/lang/japanese.txt
#	src/lang/korean.txt
#	src/lang/swedish.txt
#	src/linkgraph/linkgraphjob.cpp
#	src/linkgraph/mcf.cpp
#	src/network/core/tcp.cpp
#	src/network/core/tcp.h
#	src/network/core/tcp_game.h
#	src/network/core/udp.h
#	src/network/network.cpp
#	src/network/network_admin.cpp
#	src/network/network_admin.h
#	src/network/network_chat_gui.cpp
#	src/network/network_client.cpp
#	src/network/network_client.h
#	src/network/network_func.h
#	src/network/network_internal.h
#	src/network/network_server.cpp
#	src/network/network_server.h
#	src/newgrf.cpp
#	src/newgrf_station.cpp
#	src/order_gui.cpp
#	src/rail_cmd.cpp
#	src/saveload/saveload.cpp
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/settings_type.h
#	src/station_cmd.cpp
#	src/stdafx.h
#	src/table/currency_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/terraform_cmd.cpp
#	src/timetable_gui.cpp
#	src/train_cmd.cpp
#	src/tree_cmd.cpp
#	src/water_cmd.cpp
3 years ago
translators 7a48b5597d Update: Translations from eints
czech: 40 changes by LubosKolouch, 27 changes by CzechRepublic98
hungarian: 1 change by pnpBrumi
turkish: 13 changes by ahmetlii
3 years ago
Niels Martin Hansen 5e3ed3a05e Add: Console command to list search directories for various things 3 years ago
translators 7aacb2ed8e Update: Translations from eints
japanese: 18 changes by akaregi, 10 changes by clzls
slovenian: 17 changes by Matej1245
czech: 33 changes by CzechRepublic98
chinese (simplified): 27 changes by clzls
arabic (egypt): 17 changes by AviationGamerX
luxembourgish: 99 changes by phreeze83
hungarian: 24 changes by pnpBrumi, 6 changes by baliball
serbian: 107 changes by nkrs
romanian: 16 changes by kneekoo, 2 changes by ALEX11BR
irish: 229 changes by temuchie
ukrainian: 113 changes by StepanIvasyn
latvian: 8 changes by lexuslatvia
lithuanian: 41 changes by devbotas
polish: 1 change by yazalo
3 years ago
Loïc Guilloux 38a64eb2aa
Change: Allow all tiles around docks to be docking tiles (#9578) 3 years ago
Loïc Guilloux 11dece205c
Revert 7ca1793: Using Trackdir keyed node is not required, Exitdir keyed node still have the correct trackdir (#9576) 3 years ago
Woelfi Von Wolfhausen f047690dc9
Fix typo, ii
Typo, a t was missing (Frach-art to Fracht-art)
3 years ago
Woelfi Von Wolfhausen 06b9881a05
Fix typos
Fix some typos regarding formality and noun-is-written-big-rules
3 years ago
r-a-sattarov 14ad424470
Add: use of Intel Intrinsics & RDTSC on e2k (MCST Elbrus 2000) (#9575)
MCST e2k (Elbrus 2000) architecture has half native / half software support of most Intel/AMD SIMD
e.g. MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/AES/AVX/AVX2 & 3DNow!/SSE4a/XOP/FMA4

E2K - this is VLIW/EPIC architecture, like Intel Itanium (IA-64) architecture.
Ref: https://en.wikipedia.org/wiki/Elbrus_2000

Co-authored-by: Alexander Troosh @troosh, Konstantin Ivlev @sse4 and Dmitry Shcherbakov @crypto-das
3 years ago
translators 9b1651a267 Update: Translations from eints
swedish: 8 changes by Abbin44
norwegian (bokmal): 14 changes by Anolitt
chinese (traditional): 6 changes by SiderealArt
slovenian: 4 changes by Matej1245
vietnamese: 14 changes by KhoiCanDev
luxembourgish: 24 changes by phreeze83
hungarian: 1 change by baliball
serbian: 29 changes by nkrs
german: 1 change by SecretIdetity
russian: 2 changes by SecretIdetity, 1 change by Ln-Wolf
catalan: 1 change by J0anJosep
turkish: 1 change by ahmetlii
french: 1 change by glx22
3 years ago
Patric Stout 394c749b6b
Change: Heading for 13 now (#9573) 3 years ago
dP 39662aabef
Add: allow gamescripts to build neutral objects (#9568) 3 years ago