summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-24Update: Translations from eintstranslators
greek: 17 changes by dionisis84 catalan: 4 changes by J0anJosep portuguese (brazilian): 2 changes by Vimerum
2021-08-23Update: Translations from eintstranslators
swedish: 8 changes by joeax910
2021-08-23Fix: [Network] show query errors in the server listing instead of error ↵Patric Stout
popup (#9506) When you are query several servers at once, it is rather unclear for which server you got a popup. Instead, show any errors on the server itself. This is only true for the query-part. Joining a server still gives an error popup to tell you about any issue.
2021-08-23Fix #9490: [Network] a full server couldn't be queried either (#9508)Patric Stout
You can now still query a full server, as long as the maximum amount of allowed connections isn't reached. This means that as long as there are not 255 clients connected to a server, you can always connect to query.
2021-08-23Fix #9501: [Network] crash when more than one game-info query was pending ↵Patric Stout
(#9502)
2021-08-23Fix c4b700f1: remove left-over debug statement (#9510)Patric Stout
2021-08-23Fix: [Network] don't show GameScript " (v0)" for old servers (#9507)Patric Stout
Old servers don't tell the GameScript they are running, so nothing should be shown. All values in NetworkGameInfo initialize as 0/empty, except for GS version. Someone has to be different from the rest, I guess.
2021-08-21Update: Translations from eintstranslators
indonesian: 32 changes by dimaspaf14 russian: 2 changes by Ln-Wolf
2021-08-21Fix: [Network] crash when last-joined server that is no longer available (#9503)Patric Stout
If you update the server-list while not having last-joined selected and it is no longer available, the game crashed.
2021-08-20Change: [Linkgraph] Delete links only served by vehicles stopped in depotNicolas Chappe
A stale link is not deleted if the link refresher finds a vehicle that still serves it. This commit excludes vehicles stopped in depot for a very long time from the link refresher, so that their stale links can be deleted.
2021-08-20Update: Translations from eintstranslators
korean: 5 changes by telk5093 dutch: 5 changes by Afoklala portuguese (brazilian): 3 changes by AKANexus polish: 5 changes by pAter-exe
2021-08-19Update: Translations from eintstranslators
italian: 13 changes by CoderLel russian: 1 change by Ln-Wolf french: 2 changes by glx22
2021-08-19Fix d9c1d18f2: Wrong format string for console disconnect message.Michael Lutz
2021-08-18Update: Translations from eintstranslators
finnish: 3 changes by hpiirai portuguese: 2 changes by azulcosta
2021-08-18Fix 659989af45: Set appropriate town window dirty when building/removing ↵Joan Josep
airports. (#9497)
2021-08-18Update: Translations from eintstranslators
finnish: 2 changes by hpiirai portuguese: 1 change by azulcosta
2021-08-18Fix #9492: show for what server a relay session is being created (#9494)Patric Stout
Currently it says "the server" which is a bit ambigious. Be more specific.
2021-08-18Fix #9491: reword "no connection" error message (#9495)Patric Stout
2021-08-18Fix: typo in the word "spectator" (tnx Heiki) (#9496)Patric Stout
2021-08-18Fix 977604ef: [Linkgraph] Add a special case for unknown travel times on ↵Nicolas Chappe
link update
2021-08-17Update: Translations from eintstranslators
catalan: 2 changes by J0anJosep french: 1 change by glx22
2021-08-17Fix 6acf204d: crash when showing coordinator-error-messages (#9488)Patric Stout
2021-08-17Update: Translations from eintstranslators
russian: 1 change by Ln-Wolf
2021-08-17Feature: [Linkgraph] Prioritize faster routes for passengers, mail and ↵Nicolas Chappe
express cargo Passengers usually prefer fast paths to short paths. Average travel times of links are updated in real-time for use in Dijkstra's algorithm, and newer travel times weigh more, just like capacities.
2021-08-17Fix: report reuse of invite-code and switch to local game-type (#9487)Patric Stout
This prevents two servers battling for the same invite-code. Now the last one wins.
2021-08-16Update: Translations from eintstranslators
chinese (simplified): 1 change by goodspeed34
2021-08-16Codechange: Improve LineCache queries (#9417)Frédéric Simonis
Adds the support to query the linecache without copying the string. This uses a custom transparent comparator in conjunction with a query type using a std::string_view.
2021-08-16Fix: connecting with the same name thrice hangs the server (#9485)dP
2021-08-15Update: Translations from eintstranslators
chinese (simplified): 82 changes by goodspeed34 french: 2 changes by glx22 portuguese: 1 change by azulcosta portuguese (brazilian): 2 changes by Vimerum
2021-08-15Update: Translations from eintstranslators
portuguese: 1 change by azulcosta
2021-08-15Change: rebrand 1.12.0 to 12.0Patric Stout
One question that keeps popping up: "when do we release 2.0?". NewGRF will force that at least 1.16 will be 2.0, but to not wait for this, let's drop the "1." and be for ever done with that conversation. We are following in the footstep of giants here.
2021-08-15Fix 2183fd4d: [NewGRF] Use divide instead of right shift for signed numbers. ↵Michael Lutz
(#9480) "For negative a, the value of a >> b is implementation-defined (in most implementations, this performs arithmetic right shift, so that the result remains negative)."
2021-08-15Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346)Vít Šefl
2021-08-15Add: open Online Players GUI on starting/joining a server (#9479)Patric Stout
2021-08-14Remove: COMPANY_INFO packets and related code (#9475)Patric Stout
2021-08-14Feature: make "join game" button join the game, instead of first showing a ↵Patric Stout
lobby window (#9467) Nobody really paid attention to the lobby window, and it completely missed its purpose. Most people don't even wait for companies to show up, but just hit "New Company". This in turn means people create a lot of unneeded companies, while they "just want to watch the game" or join another company. Instead, "Join Game" now just joins the game as spectators.
2021-08-14Fix 508e465b: network servers didn't show invite-code / connection-type in ↵Patric Stout
Online Players GUI (#9478) The selector selects the first widget, which by accident was now only the server visibility.
2021-08-14Update: Translations from eintstranslators
2021-08-14Fix: name the Online Players caption the same as in the menu (#9473)Patric Stout
Referring to one window in two ways is a bit annoying.
2021-08-14Add: synchronize server name to clients and display in Online Players GUI ↵Patric Stout
(#9472)
2021-08-14Add: mention you are a spectator in the status bar (if you are, ofc) (#9471)Patric Stout
2021-08-12Add: [AI] Get the number of vehicles in a given group (#9462)SamuXarick
2021-08-11Fix #8316: Make sort industries by production and transported with a cargo ↵SamuXarick
filter possible (#8468)
2021-08-11Fix #9392: Return a valid value with GetBuildWithRefitCapacity when AIs are ↵SamuXarick
maxed out in vehicles (#9393)
2021-08-10Fix 8706dcd9: [Script] Byte-swap grfids to match normal expectations.Michael Lutz
2021-08-10Update: Translations from eintstranslators
2021-08-10Change: remove the ability to control "max spectators" (#9466)Patric Stout
Soon we will make "join game" join the game as spectator first, so limiting the amount of spectators makes no sense anymore in that context. Not sure it ever did make sense.
2021-08-10Fix 68f2213: Don't use GetPoolSize() for end of pool iterator (#9461)Loïc Guilloux
2021-08-10Fix 14f197c: [Script] int64 values don't fit into int (#9465)Loïc Guilloux
2021-08-09Add: [Script] Basic information about loaded NewGRFs for scripts. (#9464)Michael Lutz
Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable. The list of loaded NewGRFs is easily accessible to a human player, and thus giving scripts the same information is consistent with the current approach to not give scripts more information than a human player.