OpenTTD: src/table/pricebase.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

pricebase.h
Go to the documentation of this file.
1 /* $Id: pricebase.h 23931 2012-02-11 22:43:39Z michi_cc $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 extern const PriceBaseSpec _price_base_specs[] = {
13 { 100, PCAT_NONE, GSF_END, INVALID_PRICE },
14 { 100, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
15 { 95, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
16 { 65, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
17 { 275, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
18 { 600, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
19 { 500, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
20 { 700, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
21 { 450, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
22 { 200, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
23 { 180, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
24 { 600, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
25 { 200, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
26 { 200, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
27 { 350, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
28 { 400000, PCAT_CONSTRUCTION, GSF_TRAINS, INVALID_PRICE },
29 { 2000, PCAT_CONSTRUCTION, GSF_TRAINS, INVALID_PRICE },
30 { 700000, PCAT_CONSTRUCTION, GSF_AIRCRAFT, INVALID_PRICE },
31 { 14000, PCAT_CONSTRUCTION, GSF_ROADVEHICLES, INVALID_PRICE },
32 { 65000, PCAT_CONSTRUCTION, GSF_SHIPS, INVALID_PRICE },
33 { 20, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
34 { 250, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
35 { 20, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
36 { 40, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
37 { 200, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
38 { 500, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
39 { 20, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
40 { -70, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
41 { 10, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
42 { 50, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
43 { 80, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
44 { 80, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
45 { 90, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
46 { 30, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
47 { 10000, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
48 { 50, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
49 { 30, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
50 { 50, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
51 { 50, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
52 { 55, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
53 { 1600, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
54 { 40, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
55 { 5600, PCAT_RUNNING, GSF_TRAINS, INVALID_PRICE },
56 { 5200, PCAT_RUNNING, GSF_TRAINS, INVALID_PRICE },
57 { 4800, PCAT_RUNNING, GSF_TRAINS, INVALID_PRICE },
58 { 9600, PCAT_RUNNING, GSF_AIRCRAFT, INVALID_PRICE },
59 { 1600, PCAT_RUNNING, GSF_ROADVEHICLES, INVALID_PRICE },
60 { 5600, PCAT_RUNNING, GSF_SHIPS, INVALID_PRICE },
61 {1000000, PCAT_CONSTRUCTION, GSF_END, INVALID_PRICE },
62 { 1600, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_HOUSE },
63 { 40, PCAT_CONSTRUCTION, GSF_OBJECTS, PR_CLEAR_ROUGH },
64 { 40, PCAT_CONSTRUCTION, GSF_OBJECTS, PR_CLEAR_ROUGH },
65 { 600, PCAT_CONSTRUCTION, GSF_END, PR_BUILD_DEPOT_TRAIN },
66 { 80, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_DEPOT_TRAIN },
67 { 350, PCAT_CONSTRUCTION, GSF_END, PR_BUILD_STATION_DOCK },
68 { 50, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_STATION_TRUCK},
69 {1000000, PCAT_CONSTRUCTION, GSF_END, PR_BUILD_INDUSTRY },
70 { 250, PCAT_CONSTRUCTION, GSF_END, PR_TERRAFORM },
71 {8000000, PCAT_CONSTRUCTION, GSF_END, PR_BUILD_INDUSTRY },
72 {1000000, PCAT_CONSTRUCTION, GSF_END, PR_BUILD_INDUSTRY },
73 { 5000, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_WATER },
74 { 5000, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_WATER },
75 { 10000, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_WATER },
76 { 2000, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_BRIDGE },
77 { 7500, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_WATER },
78 { 2000, PCAT_CONSTRUCTION, GSF_END, PR_CLEAR_WATER },
79 { 10, PCAT_RUNNING, GSF_END, PR_BUILD_RAIL },
80 { 10, PCAT_RUNNING, GSF_END, PR_BUILD_ROAD },
81 { 8, PCAT_RUNNING, GSF_END, PR_BUILD_CANAL },
82 { 100, PCAT_RUNNING, GSF_END, PR_STATION_VALUE },
83 { 5000, PCAT_RUNNING, GSF_END, PR_BUILD_STATION_AIRPORT},
84 };
85 assert_compile(lengthof(_price_base_specs) == PR_END);