translators
513641f9ba
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
german: 1 change by Wuzzy2
dutch: 1 change by Afoklala
2021-07-02 18:50:57 +00:00
Patric Stout
75b6051b7a
Change: move sensitive information to secrets.cfg and private information to private.cfg
...
We often ask people for their openttd.cfg, which now includes their
passwords, usernames, etc. It is easy for people to overlook this,
unwillingly sharing information they shouldn't.
By splitting this information over either private.cfg or secrets.cfg,
we make it more obvious they shouldn't be sharing those files, and
hint to what is inside them.
2021-07-02 14:30:14 +02:00
Patric Stout
4f3bf84af4
Codechange: simplify SaveVersionInConfig()
...
Clearly someone really wanted to generalize the function, but
in reality it makes it a lot longer than needed. Let's keep it
simple.
2021-07-02 14:30:14 +02:00
Patric Stout
66dc0ce196
Codechange: C++-ify the usage of IniFile in settings.cpp
...
Instead of creating the object on heap and use a pointer, create
the object on stack and use a guaranteed-not-null pointer.
The size of IniFile doesn't warrent the forcing to heap.
Additionally, use a subclass instead of a function to do some
initial bookkeeping on an IniFile meant to read a configuration.
2021-07-02 14:30:14 +02:00
Patric Stout
a42251fc72
Codechange: move network-related settings out of settings.ini
...
This to prepare the code to split up network-related settings
into private / secrets / generic.
2021-07-02 14:30:14 +02:00
Rubidium
9c7a7b53a1
Codechange: use a contructor for NewsItem to set the values
...
And use std::unique_ptr to manage the memory of the allocated data
2021-07-01 19:04:38 +02:00
rubidium42
9a7750f14e
Codechange: use the constructor for CompanyNewsItem to fill the data instead of a separate function
2021-07-01 19:04:38 +02:00
rubidium42
aa9818db90
Codechange: create a type for the "free_data" of NewsItems and (de)allocate it with new and delete
2021-07-01 19:04:38 +02:00
translators
df601b8559
Update: Translations from eints
...
finnish: 1 change by hpiirai
2021-06-30 18:53:37 +00:00
Jonathan G Rennison
b23ba0c6c0
Fix founding towns not filling the nearby station cache, causing desyncs
...
See: https://github.com/OpenTTD/OpenTTD/issues/9407
2021-06-30 17:30:08 +01:00
Jonathan G Rennison
587039daba
Use CMD_LOG_AUX for all goal/story related commands
2021-06-30 17:14:27 +01:00
Jonathan G Rennison
232cfee8b5
Fix house placing picking wrong town when placing outside town enabled
2021-06-30 17:14:05 +01:00
Jonathan G Rennison
1ef18caa9a
Show town window debug button in scenario editor
2021-06-30 17:13:29 +01:00
Jonathan G Rennison
98e2cb2e3e
Open routing restriction window on ctrl-click of any non-prog signal
...
See: #294
2021-06-30 17:10:08 +01:00
Patric Stout
d38079d053
Fix f7e390bd
: freeaddrinfo() is not guaranteed to handle a nullptr graceful ( #9404 )
2021-06-29 23:02:25 +02:00
Loïc Guilloux
b6fb020388
Change: [strgen] Change warnings for translations into infos ( #9406 )
...
Unless invoked with -w, --warning ("print a warning for any untranslated strings") or -t, --todo ("replace any untranslated strings with '<TODO>'").
Eints normally fixes the warnings after a Pull Request, so it is not really useful information for the developer to see as a warning.
2021-06-29 22:19:24 +02:00
Jonathan G Rennison
0f73fe765f
Merge pull request #293 from VacuumBreather/station_cargo_history
...
Add station cargo history
2021-06-29 19:53:18 +01:00
translators
8336d21b25
Update: Translations from eints
...
swedish: 27 changes by joeax910
korean: 4 changes by telk5093
russian: 1 change by Ln-Wolf
portuguese: 1 change by azulcosta
2021-06-29 18:52:43 +00:00
Jonathan G Rennison
b438380a1e
Add station cargo history save/load support
2021-06-29 19:37:20 +01:00
Jonathan G Rennison
37c7cf9899
Remove number of days from hard-coded X axis label string
...
To support later day number changes and/or translations
2021-06-29 19:37:20 +01:00
Jonathan G Rennison
5698507d0b
Change station cargo history storage format
...
Use uint16 to avoid truncation issues
Don't reserve memory for unused cargoes
Store history as ring buffer
Update history graph immediately on storage date
Show total waiting cargo
2021-06-29 19:37:20 +01:00
Jonathan G Rennison
f901da344e
Add CargoTypesBit helper method to CargoSpec
2021-06-29 18:06:12 +01:00
Jonathan G Rennison
0b4dc151d5
Rename to BuildVehicleWindowCommon to BuildVehicleWindowBase
...
See: #287
2021-06-29 00:56:11 +01:00
Jonathan G Rennison
0773dde669
Merge pull request #287 from VacuumBreather/advanced_train_purchase_window
...
Advanced train purchase window
2021-06-29 00:43:26 +01:00
Jonathan G Rennison
dd5866c2c2
Fix loco and wagon button rows having different heights
2021-06-29 00:29:19 +01:00
Jonathan G Rennison
5e418128da
Add setting for whether to use dual pane train purchase window
2021-06-29 00:11:07 +01:00
Jonathan G Rennison
70f7509126
Create common base class for build vehicle windows
2021-06-29 00:08:49 +01:00
Jonathan G Rennison
d1114b6b79
Fix build wagon button building locomotives instead
2021-06-28 23:43:37 +01:00
Jonathan G Rennison
ab5cee70ec
Fix whitespace/code style issues
2021-06-28 23:38:12 +01:00
Jonathan G Rennison
42d1987713
Fix crash when building template vehicles
2021-06-28 23:35:00 +01:00
Jonathan G Rennison
1a7ebfd06c
Fix duplication of sorter functions
2021-06-28 23:13:50 +01:00
Jonathan G Rennison
b4856d3164
Trim trailing whitespace
2021-06-28 23:02:16 +01:00
Jonathan G Rennison
dab1501b7c
Merge pull request #292 from VacuumBreather/minor_additions
...
Minor additions
2021-06-28 22:41:26 +01:00
Jonathan G Rennison
906ee568d6
Use a lower resort interval in veh windows when sorting by timetable delay
2021-06-28 22:37:40 +01:00
Jonathan G Rennison
c9c6b4cd92
Make GUIList resort interval variable
2021-06-28 22:37:00 +01:00
Andreas Schmitt
0f07ae839d
Make the sort order toggle button resort a vehicle list
2021-06-28 21:41:35 +01:00
Jonathan G Rennison
b94b6268da
Merge pull request #291 from VacuumBreather/fix_warnings
...
Fix a few compiler warnings
2021-06-28 20:33:46 +01:00
translators
c539343ba9
Update: Translations from eints
...
swedish: 1 change by joeax910
2021-06-28 19:00:24 +00:00
TELK
f9b4a3a5e6
Add: Show the number of clients and companies in the online players window ( #9376 )
2021-06-28 18:42:23 +02:00
embeddedt
883e4ea325
Change: [Emscripten] set default scrolling mode to non-pointer-locking ( #9191 )
2021-06-28 18:39:09 +02:00
Jonathan G Rennison
11e49ef99e
Only apply signal speed restrictions from the front direction
2021-06-28 00:04:12 +01:00
SamuXarick
003b6a0c85
Fix ea9715d
: not all setting values were clamped properly ( #9401 )
2021-06-28 00:58:54 +02:00
Jonathan G Rennison
5fb3eb0bb9
Adjust signal speed restriction timeouts when date or day length changed
2021-06-27 23:07:32 +01:00
Jonathan G Rennison
e16c29ef7d
Use already found iterator for erasing from hash map
2021-06-27 23:06:41 +01:00
Jonathan G Rennison
62075c88de
Apply ATC speed restriction as advisory to prevent instant braking
...
Remove redundant function
2021-06-27 22:26:57 +01:00
Jonathan G Rennison
93be763301
Update ticks per tile constant
2021-06-27 22:12:29 +01:00
translators
59e96cd56a
Update: Translations from eints
...
swedish: 6 changes by joeax910
finnish: 1 change by hpiirai
catalan: 9 changes by J0anJosep
2021-06-27 18:50:30 +00:00
Loïc Guilloux
87eb0e4fce
Fix #9402 , 2e136285
: Crash when founding town using default name ( #9403 )
2021-06-27 17:18:21 +02:00
Jonathan G Rennison
c4a596b756
Fix missing file from fb0403dc
2021-06-27 09:30:09 +01:00
Jonathan G Rennison
fb0403dcee
Add save/load support for train speed adaptation
2021-06-27 04:41:46 +01:00