summaryrefslogtreecommitdiff
path: root/settings_gui.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_gui.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_gui.c')
-rw-r--r--settings_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 476a7f01f..052296c1b 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -621,6 +621,7 @@ static const PatchEntry _patches_vehicles[] = {
static const PatchEntry _patches_stations[] = {
{PE_BOOL, 0, STR_CONFIG_PATCHES_JOINSTATIONS, &_patches.join_stations, 0, 0, 0, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_FULLLOADANY, &_patches.full_load_any, 0, 0, 0, NULL},
+ {PE_BOOL, 0, STR_CONFIG_PATCHES_IMPROVEDLOAD, &_patches.improved_load, 0, 0, 0, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_SELECTGOODS, &_patches.selectgoods, 0, 0, 0, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_NEW_NONSTOP, &_patches.new_nonstop, 0, 0, 0, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_NONUNIFORM_STATIONS, &_patches.nonuniform_stations, 0, 0, 0, NULL},