diff options
author | peter1138 <peter1138@openttd.org> | 2006-11-03 23:06:54 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-11-03 23:06:54 +0000 |
commit | 8cfe4d6a67ddbde35169adbe2ea0b1c87730ac82 (patch) | |
tree | bbeb158718e6311e12e482d43ddb9114a924372a /table/landscape_const.h | |
parent | ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8 (diff) | |
download | openttd-8cfe4d6a67ddbde35169adbe2ea0b1c87730ac82.tar.xz |
(svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle.
Diffstat (limited to 'table/landscape_const.h')
-rw-r--r-- | table/landscape_const.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/table/landscape_const.h b/table/landscape_const.h index 768a236ca..518a48047 100644 --- a/table/landscape_const.h +++ b/table/landscape_const.h @@ -11,9 +11,6 @@ typedef struct CargoTypesValues { uint16 initial_cargo_payment[NUM_CARGO]; byte transit_days_table_1[NUM_CARGO]; byte transit_days_table_2[NUM_CARGO]; - - byte road_veh_by_cargo_start[NUM_CARGO]; - byte road_veh_by_cargo_count[NUM_CARGO]; } CargoTypesValues; @@ -76,10 +73,6 @@ static const CargoTypesValues _cargo_types_base_values[4] = { { 24, 255, 90, 255, 18, 28, 40, 255, 255, 255, 32, 30, }, - - /* normal road veh by cargo start & count */ - {116, 123, 126, 132, 135, 138, 141, 144, 147, 150, 153, 156}, - {7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} }, { @@ -140,10 +133,6 @@ static const CargoTypesValues _cargo_types_base_values[4] = { { 24, 255, 90, 255, 18, 28, 40, 255, 255, 60, 40, 30 }, - - /* hilly road veh by cargo start & count */ - {116, 123, 126, 132, 135, 138, 141, 144, 147, 159, 153, 156}, - {7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3}, }, { @@ -204,10 +193,6 @@ static const CargoTypesValues _cargo_types_base_values[4] = { { 24, 20, 90, 255, 15, 28, 40, 255, 255, 80, 255, 30 }, - - /* desert road veh by cargo start & count */ - {116, 171, 126, 132, 168, 138, 141, 144, 162, 165, 153, 156}, - {7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} }, { @@ -268,9 +253,5 @@ static const CargoTypesValues _cargo_types_base_values[4] = { { 24, 255, 90, 255, 30, 40, 60, 75, 25, 80, 255, 50 }, - - /* candy road veh by cargo start & count */ - {116, 174, 126, 186, 192, 189, 183, 177, 180, 201, 198, 195}, - {7, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3} } }; |