Commit Graph

26873 Commits (16352559f28c2915e86d8e2bcfc23c278b658164)
 

Author SHA1 Message Date
Patric Stout 16352559f2
Change: release with (much) newer versions of dependencies for Generic Linux (#10484) 1 year ago
Patric Stout ea90fa24f8
Codechange: move curl into a thread so simplify code (#10480)
With a thread, we can just run curl_easy_perform() and let CURL
and threads handle the blocking part.

With async solution there are too many things to keep track of,
and it makes "when to update the GUI" tricky. By using a thread
that all gets a lot simpler, as the game-thread and download-thread
run side-by-side.

This is similar to how the WinHttp backend already works.
1 year ago
translators 228b34c2bf Update: Translations from eints
english (au): 1 change by krysclarke
czech: 2 changes by jachymozo
finnish: 1 change by hpiirai
1 year ago
dP fe2c8a1240
Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475) 1 year ago
frosch d7fcb420c4 Fix: compilation with libcurl from 2013. 1 year ago
frosch 274bcf8d80 Fix 64523709: rpm uses different package names than deb. 1 year ago
translators 04847b1208 Update: Translations from eints
english (us): 1 change by 2TallTyler
portuguese: 2 changes by ppxppy
1 year ago
translators 695ce0ab09 Update: Translations from eints
swedish: 3 changes by joeax910
italian: 1 change by Rivarossi
russian: 1 change by Ln-Wolf
ukrainian: 1 change by serg-bloim
latvian: 7 changes by lexuslatvia
1 year ago
Patric Stout 64523709bf
Add: use https:// for content-service connections (#10448)
This requires the use of WinHTTP (for Windows) or libcurl (for all
others except Emscripten). Emscripten does not support http(s)
calls currently.

On Linux it requires ca-certificates to be installed, so the HTTPS
certificate can be validated. It is really likely this is installed
on any modern machine, as most connections these days are HTTPS.

(On MacOS and Windows the certificate store is filled by default)

Reminder: in case the http(s):// connection cannot be established,
OpenTTD falls back to a custom TCP-based connection to fetch the
content from the content-service. Emscripten will always do this.
1 year ago
translators 09f7f32b8d Update: Translations from eints
ukrainian: 2 changes by serg-bloim
1 year ago
Loïc Guilloux a2c8168924
Fix #10465: Delay closing of network join progress window (#10466) 1 year ago
Bilongozhko, Serhii (Contractor) 35ad964c6b Feature: Ctrl+Click to reset late counter for the entire vehicle group. 1 year ago
SamuXarick 231935fccd Change: Show buy company dialog window even when playing in the AI company 1 year ago
SamuXarick 43ce73db86 Fix: [Script] Use Money instead of int32 for presenting the value of a company to AIs 1 year ago
Loïc Guilloux 6b99b6672e
Fix: [Script] ScriptBase::Rand() return value was between -MIN(int32) and MAX(int32) (#10443)
Also ensure the parameters for ScriptBase::RandRange() and ScriptBase::Chance() are in [0-MAX(uint32)] range
1 year ago
translators 7bd475b86c Update: Translations from eints
english (au): 2 changes by krysclarke
estonian: 107 changes by RM87
romanian: 2 changes by bnegrut
finnish: 8 changes by hpiirai
dutch: 4 changes by Afoklala
portuguese: 2 changes by azulcosta
polish: 2 changes by pAter-exe
1 year ago
glx22 3278f4c7bb Fix #10280, 59645c6: Ignore double-click for unavailable town actions 1 year ago
glx22 d6aa526b69 Fix #10461, 59645c6: Properly check for _local_company validity 1 year ago
translators 59251d3c6b Update: Translations from eints
english (us): 2 changes by 2TallTyler
estonian: 110 changes by RM87
czech: 5 changes by jacobczsk
italian: 11 changes by Rivarossi
russian: 2 changes by Ln-Wolf
1 year ago
translators b083584649 Update: Translations from eints
arabic (egypt): 30 changes by AviationGamerX
portuguese: 1 change by azulcosta
1 year ago
Tyler Trahan f12498b633
Add: Show NewGRF name in NewGRF-created errors (#10457) 1 year ago
translators 0c36e4a771 Update: Translations from eints
english (au): 1 change by krysclarke
english (us): 1 change by 2TallTyler
vietnamese: 2 changes by KhoiCanDev
luxembourgish: 5 changes by phreeze83
catalan: 3 changes by J0anJosep
french: 11 changes by ZarTek-Creole, 5 changes by glx22
1 year ago
dP b5bc001d42
Codechange: Swap comments for CommandHelper::Post overloads (#10454) 1 year ago
Owen Rudge f951ce6931 Fix: Ensure logo for Windows Store common assets package is named correctly 1 year ago
translators cb2944205c Update: Translations from eints
english (au): 4 changes by krysclarke
swedish: 16 changes by joeax910
english (us): 2 changes by 2TallTyler
chinese (simplified): 2 changes by XiaoJi-Game
hebrew: 3 changes by Boltyansky
romanian: 10 changes by kneekoo
russian: 5 changes by Ln-Wolf
portuguese: 2 changes by azulcosta
polish: 4 changes by pAter-exe
1 year ago
translators 7c998d46bd Update: Translations from eints
spanish (mexican): 22 changes by VMMF
chinese (simplified): 2 changes by XiaoJi-Game
turkish: 2 changes by EndChapter
1 year ago
glx22 b080f24bd8 Codechange: move windows common to AI and GS out of ai_gui 1 year ago
glx22 78e3c93a25 Fix: caption for GS settings window opened from debug window 1 year ago
glx22 cef9931e53 Cleanup: GS don't have "start_date" 1 year ago
translators 6aafccfb22 Update: Translations from eints
korean: 2 changes by telk5093
spanish: 2 changes by MontyMontana
portuguese: 2 changes by azulcosta
1 year ago
translators b364b41768 Update: Translations from eints
english (us): 2 changes by 2TallTyler
finnish: 2 changes by hpiirai
catalan: 2 changes by J0anJosep
dutch: 2 changes by Afoklala
1 year ago
translators e41af1f2bb Update: Translations from eints
portuguese (brazilian): 8 changes by ericandradex
1 year ago
SamuXarick 1f194eb94e
Fix: [Script] Incorrect value for GOAL_INVALID (#10436)
* Fix: [Script] Incorrect value for GOAL_INVALID

* Cleanup: Remove unused static variable
1 year ago
Rubidium bf8b32d193 Change: explicitly allow initial loan of 0, however show warning in UI 1 year ago
Rubidium b7b7c11b90 Change #10077: make maximum loan a positive multiple of the loan interval
And set the minimum maximum loan to the value of loan interval, so there is
always an amount of money to lend. Compared to being allowed to set max loan
to 0 and never be allowed to lend any money.
1 year ago
SamuXarick d0639cdc28 Fix: [Script] Incorrect subsidy SourceID value used 1 year ago
SamuXarick 4fc4874a30 Add: [Script] Let random road layout be a choice 1 year ago
SamuXarick 184ff92057
Cleanup: [Script] Pass new_rating directly to CmdTownRating (#10441) 1 year ago
translators 654a77c4f7 Update: Translations from eints
luxembourgish: 21 changes by phreeze83
1 year ago
Byoungchan Lee 12f9fbcf39
Fix: [CMake] remove cpack warning on fedora when lsb_release exists (#10437) 1 year ago
Rubidium 31869501ee Fix: make script goals work with the whole range of ClientIDs 1 year ago
Rubidium 67e1d1ad89 Fix: no need to cast enums down to int32; they will be automatically promoted to int64 1 year ago
translators 1897e98c3d Update: Translations from eints
slovak: 10 changes by legitalk
1 year ago
Michael Lutz 05ed9f56fd Feature: [NewGRF] Engine name callback. 1 year ago
Michael Lutz 2d73076056 Add: [NewGRF] Second vehicle property for additional callback flags. 1 year ago
Michael Lutz f5394ed2ef Change: [NewGRF] Extend the D8xx (DCxx) string area up to FFFF.
This adds the Exxx and Fxxx blocks to the usable range for NewGRF
local strings. TTDPatch uses these ranges for internal strings, but as
we don't support any of them anyway, it is "free" real estate for us.
1 year ago
translators 43657cf65d Update: Translations from eints
chinese (traditional): 9 changes by wpi3
1 year ago
Loïc Guilloux 07b40c02fe
Fix #10361, fe30f66: Don't try to give saved data to a dead script (#10433) 1 year ago
Jonathan G Rennison 9c915f05ec Fix: Water infrastructure accounting when building docks 1 year ago
Jonathan G Rennison b82bcac3cd Fix #10419: Water infrastructure accounting when building ship depots 1 year ago