summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-29 11:59:09 +0000
committertron <tron@openttd.org>2004-11-29 11:59:09 +0000
commitd701668f50de51f7cac62fda6911135a7332b515 (patch)
treead22a5d2270d27b4910086a64b63bd6a4c5a2d88 /settings.c
parent5733ad3e3243883b68f7c223bbc5685057e70f16 (diff)
downloadopenttd-d701668f50de51f7cac62fda6911135a7332b515.tar.xz
(svn r853) -Feature: Implement improved vehicle loading algorithm
It's not FIFO loading, but does the right thing in the common case: If a vehicle is empty and another vehicle is already loading the same cargo at this station then the vehicle waits. This is an reworked version of [ 1072211 ] submitted by Hackykid, thanks!
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 4c0e8a083..2081cffb8 100644
--- a/settings.c
+++ b/settings.c
@@ -796,6 +796,7 @@ static const SettingDesc patch_settings[] = {
{"join_stations", SDT_BOOL, (void*)true, (void*)offsetof(Patches, join_stations), NULL},
{"station_spread", SDT_UINT8, (void*)12, (void*)offsetof(Patches, station_spread), NULL},
{"full_load_any", SDT_BOOL, (void*)true, (void*)offsetof(Patches, full_load_any), NULL},
+ {"improved_load", SDT_BOOL, (void*)false, (void*)offsetof(Patches, improved_load), NULL},
{"order_review_system", SDT_UINT8, (void*)2, (void*)offsetof(Patches, order_review_system), NULL},
{"inflation", SDT_BOOL, (void*)true, (void*)offsetof(Patches, inflation), NULL},