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
rubidium42
98e653dacc
Fix #9386 : compilers failing to compile with LTO by using variants instead of new + unique_ptr
...
With std::variant all memory can be figured out at compile time, so the compiler needs to keep track of fewer elements. It also saves out a unique_ptr and its memory management, over a slight impact for resolving a setting.
2021-06-26 20:28:34 +02:00
rubidium42
f35e6c1c7f
Codechange: use C-style strings instread of std::string in the SettingDesc constructor
...
This as using std::string causes much more variables to be tracked, potentially causing problemes for certain compilers in certain situations
2021-06-26 20:28:34 +02:00
rubidium42
c93fcbcb28
Codechange: introduce helper to convert from the iterated type to the actual SettingDesc
2021-06-26 20:28:34 +02:00
rubidium42
f7f1d530b8
Codechange: instead of "naked" initializer lists, declare the type in the saveload macros
...
This to help variant's constructor to be able to resolve the constructor of the setting
2021-06-26 20:28:34 +02:00
rubidium42
f029fd0f3b
Codechange: remove overloading on UpdateServiceInterval
...
One UpdateServiceInterval has two parameters to update the service interval for a vehicle type, the other for all vehicle types at once. Rename the latter to help with function resolution for the introduction of variants.
2021-06-26 20:28:34 +02:00
rubidium42
cdf9caf8ea
Codechange: [Network] Remove overload on NetworkValidateClientName
...
Rename the zero-parameter NetworkValidateClientName to NetworkValidateOurClientName to make it clearer it is performed on our client name, and to make it a non-overloaded function to aid with the variant being added a few commits later
2021-06-26 20:28:34 +02:00
Patric Stout
0013673faf
Change: prevent palette updates during copying to the video driver
...
ThreadSanitizer rightfully notices that the game-thread could
update the palette while the draw-thread is copying it for local
use. The odds of this are very small, but nevertheless, it does
carry a very good point.
It wouldn't hurt the application in any way, but it might cause
visual glitches on the screen.
2021-06-26 20:28:05 +02:00
Patric Stout
74186998a2
Codechange: use _cur_palette the same in all the drivers
...
It was a bit of a mixed bag. With this change, gfx.cpp is in
control who accesses _cur_palette from the video-drivers.
2021-06-26 20:28:05 +02:00
Patric Stout
1ed7afc0a8
Change: [GitHub] use an issue form to let people fill in bug report / crashes ( #9400 )
2021-06-26 13:51:29 +02:00
translators
95a94dcf90
Update: Translations from eints
...
swedish: 1 change by joeax910
dutch: 9 changes by Afoklala
2021-06-25 18:50:57 +00:00
Andreas Schmitt
9b1783809d
Add station cargo history
2021-06-23 08:48:46 +02:00
Andreas Schmitt
dd0a1ca6c0
Set a maximum size for the left part of the build rail station window
2021-06-23 06:53:24 +02:00
Andreas Schmitt
29b227a3cd
Fix a few compiler warnings
2021-06-23 05:45:10 +02:00
Jonathan G Rennison
9d4d72cd1e
Merge pull request #286 from VacuumBreather/vehicle_more_info
...
Show more details on train max speed when loaded
2021-06-22 23:37:23 +01:00
Jonathan G Rennison
c5ba7bcf7b
Merge pull request #290 from VacuumBreather/fix_some_type_warnings
...
Fix some type conversion warnings
2021-06-22 23:11:22 +01:00
Michael Lutz
37116a7575
Codechange: [OSX] Remove old code that has no effect on current OSX versions.
2021-06-22 21:09:37 +02:00
Michael Lutz
883e21dbb7
Codechange: [OSX] We use OpenGL even if Apple doesn't like it.
2021-06-22 21:09:37 +02:00
Michael Lutz
0d5d3083bd
Codechange: [OSX] Use more exact enum names where introduced with the 10.12 SDK.
...
The enum values still have the exact same numerical values, but the 10.12
SDK introduced more explicit names (e.g. like NSEventTypeApplicationDefined
instead of NSApplicationDefined) for several enum constants.
Use them when available.
2021-06-22 21:09:37 +02:00
translators
8c1b89e107
Update: Translations from eints
...
english (us): 9 changes by 2TallTyler
2021-06-22 18:55:02 +00:00
Jonathan G Rennison
bf0158d8f1
Fix news window viewports not updating vehicle images
2021-06-22 08:46:38 +01:00
Andreas Schmitt
e1214a6d8b
Fix some type conversion warnings
2021-06-21 09:10:40 +02:00
Andreas Schmitt
225e1ca634
Rearrange file to increase diff readability
2021-06-21 08:24:16 +02:00
Andreas Schmitt
2370df82aa
Fix string parameter
2021-06-21 07:56:58 +02:00
Andreas Schmitt
2c9619ba10
Fix string parameter
2021-06-21 07:52:26 +02:00
Andreas Schmitt
837e82f60c
Add German translation
2021-06-21 01:22:50 +02:00
Andreas Schmitt
2b7a96b252
Add German translation
2021-06-21 01:18:38 +02:00
Andreas Schmitt
dee05f520f
Add German translation
2021-06-21 01:15:20 +02:00
Andreas Schmitt
b210a825b1
Add German translations
2021-06-21 01:10:49 +02:00
Andreas Schmitt
5d505f2389
Fix crash and show error message if group creation fails
2021-06-21 00:47:50 +02:00
Andreas Schmitt
64488fdf29
Revert "Make old group creation methods consistent with new one by calling the same command"
...
This reverts commit c2785be685
.
2021-06-21 00:31:36 +02:00
Andreas Schmitt
77e4e13644
Only show information for realistic acceleration model
2021-06-21 00:30:56 +02:00
Andreas Schmitt
9bd79d03d1
Fix speed calculation
2021-06-21 00:17:41 +02:00
Andreas Schmitt
9a72d741ad
Fix weight calculation
2021-06-20 22:29:54 +02:00
Jonathan G Rennison
f3b39b12a8
Merge pull request #284 from reldred/arctic_tree_line_tweaks
...
change the tree line width for arctic tree line patch from 20 to 64
2021-06-20 20:34:51 +01:00
Jonathan G Rennison
ac888a8a92
Merge pull request #288 from WoelfiVW/patch-1
...
Fix typos
2021-06-20 20:34:04 +01:00
Jonathan G Rennison
014da7ad04
Fix unsigned unary minus warning in RemoveVehicleOrdersIf
2021-06-20 20:31:31 +01:00
translators
6a05839d8d
Update: Translations from eints
...
swedish: 1 change by kustridaren
korean: 1 change by telk5093
2021-06-20 18:53:19 +00:00
Andreas Schmitt
c2785be685
Make old group creation methods consistent with new one by calling the same command
2021-06-20 20:43:26 +02:00
Andreas Schmitt
05b76aa3f8
Fix single vehicle not being added and wrong town name being used
2021-06-20 20:43:25 +02:00