Commit Graph

52823 Commits

Author SHA1 Message Date
Jonathan G Rennison
e7abf9efb1 Remove unnecessary recursion in GetNextRealStation 2022-01-19 00:20:03 +00:00
Jonathan G Rennison
beb6d01fe8 Improve handling of conditional order waiting loops
Do not leave station/depot/waypoint at all if conditional order
loop would result in re-starting waiting/loading

Only actually leave and update timetable at end of loop

Rate-limit loop checks regardless of timetabled wait time
2022-01-19 00:10:49 +00:00
Jonathan G Rennison
904ff6757d Add slot support to road vehicles, ships and aircraft 2022-01-19 00:10:49 +00:00
Jonathan G Rennison
0513961b2a Duplicate STR_SMALLMAP_LEGENDA_... veh type strings with format codes removed 2022-01-18 18:57:12 +00:00
Jonathan G Rennison
ce61f6439c Allow non-train vehicles to test counter values in conditional orders 2022-01-18 18:17:28 +00:00
Jonathan G Rennison
7d86909a90 Ensure that sprite data is cleared when loading over an existing sprite
Fixes crash when looking at recolour sprite in sprite viewer window
which has been overriden by a non-recolour sprite by a faulty GRF
2022-01-17 18:29:04 +00:00
Jonathan G Rennison
1a4b0d6ecf Prevent NewGRFs from using Action A to replace internal sprites 2022-01-17 18:23:15 +00:00
Jonathan G Rennison
027a792cbd Crash log: On OSX allocate crash log buffer using mmap if possible
Otherwise use conservatively sized stack buffer
2022-01-17 01:21:20 +00:00
Jonathan G Rennison
79db533abb Fix nullptr deref evaluating train in slot conditional order with no slot
See: #360
2022-01-17 00:59:15 +00:00
translators
5239018878 Update: Translations from eints
tamil: 24 changes by Aswn
2022-01-16 18:48:47 +00:00
Jonathan G Rennison
6197baee9c Fix unused function warning on OSX 2022-01-15 22:33:51 +00:00
Jonathan G Rennison
29126619a3 Disable OSX touchbar support, fixes #358 2022-01-15 18:56:59 +00:00
translators
15c9191568 Update: Translations from eints
tamil: 19 changes by Aswn
2022-01-15 18:48:55 +00:00
Jonathan G Rennison
dd5438fe75 Merge branch 'multi-sd' into jgrpp 2022-01-15 18:18:49 +00:00
Jonathan G Rennison
c40f4e0abc Handle predictable conditional orders in departure boards 2022-01-15 15:57:33 +00:00
Jonathan G Rennison
b23d394f0b Handle predictable conditional orders in timetable window 2022-01-15 15:57:09 +00:00
Jonathan G Rennison
91ed26415e Fix manual setting of conditional order jump taken travel times 2022-01-15 15:33:34 +00:00
Jonathan G Rennison
1ac6326306 Departure boards: Fix departure slot cache with multiple schedules 2022-01-15 12:25:09 +00:00
Jonathan G Rennison
543433218c Ensure that timetable and scheduled dispatch windows redrawn as required
Reduce inefficient window and shared order list iteration
2022-01-15 00:21:31 +00:00
Jonathan G Rennison
fe522f193b Show confirmation window before clearing/removing dispatch schedule 2022-01-14 23:24:41 +00:00
Jonathan G Rennison
21ef4902c6 Show predicted scheduled dispatch arr/dep times in timetable window 2022-01-14 22:53:55 +00:00
Jonathan G Rennison
8754e1c5d0 Show scheduled dispatch marker in yellow in timetable window 2022-01-14 22:49:49 +00:00
Jonathan G Rennison
8b2a6248e7 List static NewGRFs in crash logs 2022-01-14 21:05:39 +00:00
translators
8ac3f9a6e1 Update: Translations from eints
vietnamese: 28 changes by chupper100
2022-01-14 18:50:22 +00:00
Jonathan G Rennison
3892a1e201 Log client ID/name in server desync logs 2022-01-14 18:44:29 +00:00
Jonathan G Rennison
65cb4ccedf Limit number of warnings whon in timetable window 2022-01-14 18:11:59 +00:00
Jonathan G Rennison
4f7f8c5b63 Show which order schedule assigned to in scheduled dispatch window 2022-01-13 23:04:38 +00:00
Jonathan G Rennison
ff3473fe6a Add support for multiple scheduled dispatch schedules per order list 2022-01-13 19:46:43 +00:00
Jonathan G Rennison
29521ef883 Fix SB function when using sizes greater than 32 bits 2022-01-13 01:06:31 +00:00
Jonathan G Rennison
9e1a78c86e Clear order wait times when changing to a non-stopping order 2022-01-12 19:43:51 +00:00
Jonathan G Rennison
dd312ef9a4 Remove asserts on input from CmdChangeTimetable 2022-01-12 19:43:51 +00:00
Jonathan G Rennison
644bd0a325 Fix input/display of speeds in tracerestrict window in tiles/day mode 2022-01-11 21:38:19 +00:00
Jonathan G Rennison
a64a6aeeb8 Fix text input of velocity setting values
See: #357
2022-01-11 21:17:19 +00:00
Jonathan G Rennison
eab98e4808 Industry::this_month_production should saturate instead of overflowing 2022-01-11 20:56:09 +00:00
Jonathan G Rennison
a4ea155d33 Merge PR #357 into jgrpp 2022-01-11 20:44:47 +00:00
Jonathan G Rennison
350c9ee616 Version: Committing version data for tag: jgrpp-0.45.1 2022-01-10 00:02:32 +00:00
Jonathan G Rennison
309f5974e8 Merge PR #353 into jgrpp 2022-01-09 23:53:05 +00:00
Jonathan G Rennison
b2c6c3b07a Merge branch 'master' into jgrpp
# Conflicts:
#	media/baseset/CMakeLists.txt
#	src/lang/croatian.txt
2022-01-09 23:52:08 +00:00
Jonathan G Rennison
579c71dd44 Script: Add ScriptRoad methods related to road types 2022-01-09 23:49:11 +00:00
Jonathan G Rennison
dfc6e309d0 Fix ground/tree tile vegetation changes not updating map mode viewports
(In vegetation mode)
2022-01-09 21:00:11 +00:00
translators
93e8d4871d Update: Translations from eints
croatian: 67 changes by srekoslav
2022-01-09 18:49:57 +00:00
Yourself
7823c81597 Add: Through load speed limit setting 2022-01-08 22:27:43 -07:00
Jonathan G Rennison
d56f7e7060 Fix wrong signal aspects when track built up to rear of tunnel/bridge entrance 2022-01-08 21:35:26 +00:00
translators
ad54d08abd Update: Translations from eints
croatian: 6 changes by srekoslav
thai: 2 changes by sanotti
2022-01-08 18:50:03 +00:00
Jonathan G Rennison
b9db85048f
Merge pull request #354 from internet-trains/screenshot-numbering
Change: Automatic screenshot numbering
2022-01-07 21:43:19 +00:00
Jonathan G Rennison
985c6ad7db Merge PR #356 into jgrpp 2022-01-07 17:40:03 +00:00
Jonathan G Rennison
f54e19083e Fix crash which could occur when removing invalidated link graph flow. 2022-01-07 17:38:26 +00:00
Yourself
aa7413a89f Fix: Require non-zero capacity for refit cargo type 2022-01-06 15:42:22 -07:00
translators
32a4212ef1 Update: Translations from eints
norwegian (bokmal): 2 changes by tmn
2022-01-06 18:49:39 +00:00
Larry Fenn
33ae34f25d
Change: Automatic screenshot numbering
Invoking the `screenshot` console command with a filename ending in %d
will cause it to be numbered automatically.
2022-01-05 23:39:41 -05:00