Commit Graph

52788 Commits

Author SHA1 Message Date
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
Andreas Schmitt
8b66ebd4f0 Add auto named group generated when dropping a vehicle onto new group button 2021-06-20 20:43:25 +02:00
Andreas Schmitt
669770f209 Fix a few issues and reset everything on start of new game 2021-06-20 20:40:33 +02:00
Andreas Schmitt
86cfefba08 Fix signed unsigned overflow 2021-06-20 20:40:33 +02:00
Andreas Schmitt
c1bf236a26 Rewrite the ATC logic
Now signals store speed information with a timeout for this data's validity
2021-06-20 20:40:33 +02:00
Andreas Schmitt
61669868bf Removed change and updated signal count 2021-06-20 20:40:33 +02:00
Andreas Schmitt
5d20b9397c Revert "Try something"
This reverts commit 475a097f36a70383d50ee68dac38b5ce087a1eb1.
2021-06-20 20:40:33 +02:00
Andreas Schmitt
02278f7a6f Try something
This doesn't work but hey... it's broken already in combination with realistic breaking
2021-06-20 20:40:33 +02:00
Andreas Schmitt
debc504e59 Add a setting for train speed adaptation
Prior to this change, without realistic breaking, trains would continuously run into the train in front of them. This makes them adjust their speed based on trains in front of them
2021-06-20 20:40:33 +02:00
Andreas Schmitt
49226eac5d Fix some compiler warnings regarding types 2021-06-20 20:38:04 +02:00
Andreas Schmitt
4c795b44be Adjust text colors 2021-06-20 20:38:04 +02:00
Andreas Schmitt
d954c461b0 Add information about vehicle loads and speeds 2021-06-20 20:38:04 +02:00
Andreas Schmitt
081131c298 Make final adjustments and cleanup 2021-06-20 20:35:49 +02:00
Andreas Schmitt
58c00d169e Adjust OnClick 2021-06-20 20:35:49 +02:00
Andreas Schmitt
790b73ea3d Cleanup some code 2021-06-20 20:35:49 +02:00
Andreas Schmitt
92276518dd Adjust further to new API 2021-06-20 20:35:49 +02:00