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
Jonathan G Rennison
ee2d77ecab
Move train speed adaptation structs to separate header file
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
84f973880b
Add signal speed restriction to vehicle debug info
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
3bba9ef37a
Fix setting name
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
879a23811f
Clear state when setting changed
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
e15acd3af8
Avoid train speed adaption overhead when setting not enabled
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
1819a4218b
Clear signal speed restriction at game shutdown
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
4d0cda12bd
Fix saving one byte at a time in Save_SPRG
2021-06-27 04:12:27 +01:00
Jonathan G Rennison
be9b18df59
Fix wrong string code in lang text in 6c07758c
2021-06-27 04:11:09 +01:00
Jonathan G Rennison
28e39c9045
Fix trailing whitespace
2021-06-27 03:09:24 +01:00
Jonathan G Rennison
fdf9257649
Merge pull request #285 from VacuumBreather/drag_drop_group_name
2021-06-27 02:57:38 +01:00
Jonathan G Rennison
d246ba1dd1
Lower create group button when vehicle dragged over it
2021-06-27 02:55:21 +01:00
Jonathan G Rennison
6c07758cc3
Do name generation at client, fix localisation
...
Use existing group creation command
2021-06-27 02:28:52 +01:00
translators
da7621cc55
Update: Translations from eints
...
swedish: 1 change by joeax910
2021-06-26 18:50:34 +00:00