| 1 | /* ---------------------------------------------------------------------- * |
| 2 | * src/lincity/all_buildings.h |
| 3 | * This file is part of Lincity-NG. |
| 4 | * |
| 5 | * Copyright (C) 1995-1997 I J Peters |
| 6 | * Copyright (C) 1997-2005 Greg Sharp |
| 7 | * Copyright (C) 2000-2004 Corey Keasling |
| 8 | * Copyright (C) 2022-2024 David Bears <[email protected]> |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License along |
| 21 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 22 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 23 | ** ---------------------------------------------------------------------- */ |
| 24 | |
| 25 | #ifndef __all_buildings_h__ |
| 26 | #define __all_buildings_h__cxx . . $ `src/lincity/all_buildings.hpp:26:9`! |
| 27 | |
| 28 | #include "lin-city.hpp"cxx . . $ `<file>/src/lincity/lin-city.hpp`/ |
| 29 | |
| 30 | /************* Buildings stuff *********************/ |
| 31 | |
| 32 | #define DAYS_PER_POLLUTIONcxx . . $ `src/lincity/all_buildings.hpp:32:9`! 14 |
| 33 | #define RAIL_POLLUTIONcxx . . $ `src/lincity/all_buildings.hpp:33:9`! 1 |
| 34 | #define DAYS_PER_RAIL_POLLUTIONcxx . . $ `src/lincity/all_buildings.hpp:34:9`! 30 |
| 35 | #define ROAD_POLLUTIONcxx . . $ `src/lincity/all_buildings.hpp:35:9`! 1 |
| 36 | #define DAYS_PER_ROAD_POLLUTIONcxx . . $ `src/lincity/all_buildings.hpp:36:9`! 20 |
| 37 | #define UNNAT_DEATHS_COSTcxx . . $ `src/lincity/all_buildings.hpp:37:9`! 500 |
| 38 | |
| 39 | #define INCOME_TAX_RATEcxx . . $ `src/lincity/all_buildings.hpp:39:9`! 8 |
| 40 | #define COAL_TAX_RATEcxx . . $ `src/lincity/all_buildings.hpp:40:9`! 15 |
| 41 | #define GOODS_TAX_RATEcxx . . $ `src/lincity/all_buildings.hpp:41:9`! 1 |
| 42 | #define DOLE_RATEcxx . . $ `src/lincity/all_buildings.hpp:42:9`! 15 |
| 43 | #define TRANSPORT_COST_RATEcxx . . $ `src/lincity/all_buildings.hpp:43:9`! 14 |
| 44 | #define IM_PORT_COST_RATEcxx . . $ `src/lincity/all_buildings.hpp:44:9`! 1 |
| 45 | |
| 46 | #define DAYS_BETWEEN_COVERcxx . . $ `src/lincity/all_buildings.hpp:46:9`! (NUMOF_DAYS_IN_MONTH*3) |
| 47 | #define COVER_TOLERANCE_DAYScxx . . $ `src/lincity/all_buildings.hpp:47:9`! 5 |
| 48 | |
| 49 | #define ORE_RESERVEcxx . . $ `src/lincity/all_buildings.hpp:49:9`! 1000 |
| 50 | #define COAL_RESERVE_SIZEcxx . . $ `src/lincity/all_buildings.hpp:50:9`! 10000 |
| 51 | #define COAL_PER_RESERVEcxx . . $ `src/lincity/all_buildings.hpp:51:9`! 1000 |
| 52 | |
| 53 | #define LABOR_LOAD_COALcxx . . $ `src/lincity/all_buildings.hpp:53:9`! 18 |
| 54 | #define LABOR_LOAD_OREcxx . . $ `src/lincity/all_buildings.hpp:54:9`! 9 |
| 55 | #define LABOR_LOAD_STEELcxx . . $ `src/lincity/all_buildings.hpp:55:9`! 15 |
| 56 | |
| 57 | //used on markets, transport, shanties when burning waste |
| 58 | #define WASTE_BURN_TIMEcxx . . $ `src/lincity/all_buildings.hpp:58:9`! 350 |
| 59 | #define WASTE_BURN_UNCONTROLLEDcxx . . $ `src/lincity/all_buildings.hpp:59:9`! .001 |
| 60 | |
| 61 | /* interest rate *10 ie 10 is 1% */ |
| 62 | #define INTEREST_RATEcxx . . $ `src/lincity/all_buildings.hpp:62:9`! 15 |
| 63 | |
| 64 | /******* Buildings // GROUPS ************/ |
| 65 | #define redcxx . . $ `src/lincity/all_buildings.hpp:65:9`!(x) (32 + x) |
| 66 | #define greencxx . . $ `src/lincity/all_buildings.hpp:66:9`!(x) (64 + x) |
| 67 | #define yellowcxx . . $ `src/lincity/all_buildings.hpp:67:9`!(x) (96 + x) |
| 68 | #define bluecxx . . $ `src/lincity/all_buildings.hpp:68:9`!(x) (128 + x) |
| 69 | #define magentacxx . . $ `src/lincity/all_buildings.hpp:69:9`!(x) (160 + x) |
| 70 | #define cyancxx . . $ `src/lincity/all_buildings.hpp:70:9`!(x) (192 + x) |
| 71 | #define whitecxx . . $ `src/lincity/all_buildings.hpp:71:9`!(x) (224 + x) |
| 72 | |
| 73 | #define GROUP_NAME_LENcxx . . $ `src/lincity/all_buildings.hpp:73:9`! 20 |
| 74 | |
| 75 | #define GROUP_BARE_COLOURcxx . . $ `src/lincity/all_buildings.hpp:75:9`! (green(12)) |
| 76 | #define GROUP_BARE_COSTcxx . . $ `src/lincity/all_buildings.hpp:76:9`! 0 |
| 77 | #define GROUP_BARE_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:77:9`! 1 |
| 78 | #define GROUP_BARE_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:78:9`! 1 |
| 79 | #define GROUP_BARE_TECHcxx . . $ `src/lincity/all_buildings.hpp:79:9`! (0 * (MAX_TECH_LEVEL / 1000)) |
| 80 | #define GROUP_BARE_FIRECcxx . . $ `src/lincity/all_buildings.hpp:80:9`! 0 |
| 81 | |
| 82 | #define GROUP_WATER_COLOURcxx . . $ `src/lincity/all_buildings.hpp:82:9`! (blue(31)) |
| 83 | #define GROUP_WATER_COSTcxx . . $ `src/lincity/all_buildings.hpp:83:9`! 1000000 |
| 84 | #define GROUP_WATER_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:84:9`! 2 |
| 85 | #define GROUP_WATER_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:85:9`! 1000000 |
| 86 | #define GROUP_WATER_TECHcxx . . $ `src/lincity/all_buildings.hpp:86:9`! (0 * (MAX_TECH_LEVEL / 1000)) |
| 87 | #define GROUP_WATER_FIRECcxx . . $ `src/lincity/all_buildings.hpp:87:9`! 0 |
| 88 | |
| 89 | #define GROUP_BURNT_COLOURcxx . . $ `src/lincity/all_buildings.hpp:89:9`! (red(30)) |
| 90 | #define GROUP_BURNT_COSTcxx . . $ `src/lincity/all_buildings.hpp:90:9`! 0 /* Unused */ |
| 91 | #define GROUP_BURNT_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:91:9`! 1 /* Unused */ |
| 92 | #define GROUP_BURNT_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:92:9`! 1000 |
| 93 | #define GROUP_BURNT_TECHcxx . . $ `src/lincity/all_buildings.hpp:93:9`! 0 /* Unused */ |
| 94 | #define GROUP_BURNT_FIRECcxx . . $ `src/lincity/all_buildings.hpp:94:9`! 0 |
| 95 | |
| 96 | #define GROUP_USED_COLOURcxx . . $ `src/lincity/all_buildings.hpp:96:9`! (green(12)) /* Unused */ |
| 97 | #define GROUP_USED_COSTcxx . . $ `src/lincity/all_buildings.hpp:97:9`! 0 /* Unused */ |
| 98 | #define GROUP_USED_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:98:9`! 1 /* Unused */ |
| 99 | #define GROUP_USED_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:99:9`! 0 /* Unused */ |
| 100 | #define GROUP_USED_TECHcxx . . $ `src/lincity/all_buildings.hpp:100:9`! 0 /* Unused */ |
| 101 | #define GROUP_USED_FIRECcxx . . $ `src/lincity/all_buildings.hpp:101:9`! 0 /* Unused */ |
| 102 | |
| 103 | #define GROUP_DESERT_COLOURcxx . . $ `src/lincity/all_buildings.hpp:103:9`! (yellow(18)) |
| 104 | #define GROUP_DESERT_COSTcxx . . $ `src/lincity/all_buildings.hpp:104:9`! 0 |
| 105 | #define GROUP_DESERT_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:105:9`! 1 |
| 106 | #define GROUP_DESERT_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:106:9`! 1 |
| 107 | #define GROUP_DESERT_TECHcxx . . $ `src/lincity/all_buildings.hpp:107:9`! (0 * (MAX_TECH_LEVEL / 1000)) |
| 108 | #define GROUP_DESERT_FIRECcxx . . $ `src/lincity/all_buildings.hpp:108:9`! 0 |
| 109 | |
| 110 | #define GROUP_TREE_COLOURcxx . . $ `src/lincity/all_buildings.hpp:110:9`! (green(12)) |
| 111 | #define GROUP_TREE_COSTcxx . . $ `src/lincity/all_buildings.hpp:111:9`! 0 |
| 112 | #define GROUP_TREE_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:112:9`! 1 |
| 113 | #define GROUP_TREE_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:113:9`! 1 |
| 114 | #define GROUP_TREE_TECHcxx . . $ `src/lincity/all_buildings.hpp:114:9`! (0 * (MAX_TECH_LEVEL / 1000)) |
| 115 | #define GROUP_TREE_FIRECcxx . . $ `src/lincity/all_buildings.hpp:115:9`! 0 |
| 116 | |
| 117 | #define GROUP_TREE2_COLOURcxx . . $ `src/lincity/all_buildings.hpp:117:9`! (green(12)) |
| 118 | #define GROUP_TREE2_COSTcxx . . $ `src/lincity/all_buildings.hpp:118:9`! 0 |
| 119 | #define GROUP_TREE2_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:119:9`! 1 |
| 120 | #define GROUP_TREE2_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:120:9`! 1 |
| 121 | #define GROUP_TREE2_TECHcxx . . $ `src/lincity/all_buildings.hpp:121:9`! 0 |
| 122 | #define GROUP_TREE2_FIRECcxx . . $ `src/lincity/all_buildings.hpp:122:9`! 0 |
| 123 | |
| 124 | #define GROUP_TREE3_COLOURcxx . . $ `src/lincity/all_buildings.hpp:124:9`! (green(12)) |
| 125 | #define GROUP_TREE3_COSTcxx . . $ `src/lincity/all_buildings.hpp:125:9`! 0 |
| 126 | #define GROUP_TREE3_COST_MULcxx . . $ `src/lincity/all_buildings.hpp:126:9`! 1 |
| 127 | #define GROUP_TREE3_BUL_COSTcxx . . $ `src/lincity/all_buildings.hpp:127:9`! 1 |
| 128 | #define GROUP_TREE3_TECHcxx . . $ `src/lincity/all_buildings.hpp:128:9`! 0 |
| 129 | #define GROUP_TREE3_FIRECcxx . . $ `src/lincity/all_buildings.hpp:129:9`! 0 |
| 130 | |
| 131 | #endif // __all_buildings_h__ |
| 132 | |
| 133 | /** @file lincity/all_buildings.h */ |