Commit Graph

51316 Commits

Author SHA1 Message Date
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
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
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
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
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