# pricebase.h

Go to the documentation of this file.

    00001 /* $Id: pricebase.h 18945 2010-01-29 00:11:30Z yexo $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 extern const PriceBaseSpec _price_base_specs[] = {
    00013   {    100, PCAT_NONE,         GSF_END,        INVALID_PRICE         },
    00014   {    100, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00015   {     95, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00016   {     65, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00017   {    275, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00018   {    600, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00019   {    500, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00020   {    700, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00021   {    450, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00022   {    200, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00023   {    180, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00024   {    600, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00025   {    200, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00026   {    200, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00027   {    350, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00028   { 400000, PCAT_CONSTRUCTION, GSF_TRAIN,      INVALID_PRICE         },
    00029   {   2000, PCAT_CONSTRUCTION, GSF_TRAIN,      INVALID_PRICE         },
    00030   { 700000, PCAT_CONSTRUCTION, GSF_AIRCRAFT,   INVALID_PRICE         },
    00031   {  14000, PCAT_CONSTRUCTION, GSF_ROAD,       INVALID_PRICE         },
    00032   {  65000, PCAT_CONSTRUCTION, GSF_SHIP,       INVALID_PRICE         },
    00033   {     20, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00034   {    250, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00035   {     20, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00036   {     40, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00037   {    200, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00038   {    500, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00039   {     20, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00040   {    -70, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00041   {     10, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00042   {     50, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00043   {     80, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00044   {     80, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00045   {     90, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00046   {     30, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00047   {  10000, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00048   {     50, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00049   {     30, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00050   {     50, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00051   {     50, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00052   {     55, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00053   {   1600, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00054   {     40, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00055   {   5600, PCAT_RUNNING,      GSF_TRAIN,      INVALID_PRICE         },
    00056   {   5200, PCAT_RUNNING,      GSF_TRAIN,      INVALID_PRICE         },
    00057   {   4800, PCAT_RUNNING,      GSF_TRAIN,      INVALID_PRICE         },
    00058   {   9600, PCAT_RUNNING,      GSF_AIRCRAFT,   INVALID_PRICE         },
    00059   {   1600, PCAT_RUNNING,      GSF_ROAD,       INVALID_PRICE         },
    00060   {   5600, PCAT_RUNNING,      GSF_SHIP,       INVALID_PRICE         },
    00061   {1000000, PCAT_CONSTRUCTION, GSF_END,        INVALID_PRICE         },
    00062   {   1600, PCAT_CONSTRUCTION, GSF_END,        PR_CLEAR_HOUSE        },
    00063   {     40, PCAT_CONSTRUCTION, GSF_END,        PR_CLEAR_ROUGH        },
    00064   {     40, PCAT_CONSTRUCTION, GSF_END,        PR_CLEAR_ROUGH        },
    00065   {    600, PCAT_CONSTRUCTION, GSF_END,        PR_BUILD_DEPOT_TRAIN  },
    00066   {     80, PCAT_CONSTRUCTION, GSF_END,        PR_CLEAR_DEPOT_TRAIN  },
    00067   {    350, PCAT_CONSTRUCTION, GSF_END,        PR_BUILD_STATION_DOCK },
    00068   {     50, PCAT_CONSTRUCTION, GSF_END,        PR_CLEAR_STATION_TRUCK},
    00069   {1000000, PCAT_CONSTRUCTION, GSF_END,        PR_BUILD_INDUSTRY     },
    00070   {    250, PCAT_CONSTRUCTION, GSF_END,        PR_TERRAFORM          },
    00071   {8000000, PCAT_CONSTRUCTION, GSF_END,        PR_BUILD_INDUSTRY     },
    00072   {1000000, PCAT_CONSTRUCTION, GSF_END,        PR_BUILD_INDUSTRY     },
    00073 };
    00074 assert_compile(lengthof(_price_base_specs) == PR_END);