OpenTTD
|
Tables with default industry layouts and behaviours. More...
Go to the source code of this file.
Macros | |
#define | MK(x, y, m) {{x, y}, m} |
Definition of an industry tiles layout. | |
#define | MKEND {{-0x80, 0}, 0} |
Terminator of industry tiles layout definition. | |
#define | MI(tbl, sndc, snd, d, pc, ai1, ai2, ai3, ai4, ag1, ag2, ag3, ag4, col, c1, c2, c3, proc, p1, r1, p2, r2, m, a1, im1, a2, im2, a3, im3, pr, clim, bev, in, intx, s1, s2, s3) |
Writes the properties of an industry into the IndustrySpec struct. | |
#define | MT(ca1, c1, ca2, c2, ca3, c3, sl, a1, a2, a3) {{c1, c2, c3}, {ca1, ca2, ca3}, sl, a1, a2, a3, 0, {0, ANIM_STATUS_NO_ANIMATION, 2, 0}, INDTILE_SPECIAL_NONE, true, GRFFileProps(INVALID_INDUSTRYTILE)} |
Writes the properties of an industry tile into the IndustryTileSpec struct. |
Variables | |
static const IndustryTileTable | _tile_table_coal_mine_0 [] |
static const IndustryTileTable | _tile_table_coal_mine_1 [] |
static const IndustryTileTable | _tile_table_coal_mine_2 [] |
static const IndustryTileTable | _tile_table_coal_mine_3 [] |
static const IndustryTileTable *const | _tile_table_coal_mine [] |
static const IndustryTileTable | _tile_table_power_station_0 [] |
static const IndustryTileTable | _tile_table_power_station_1 [] |
static const IndustryTileTable | _tile_table_power_station_2 [] |
static const IndustryTileTable *const | _tile_table_power_station [] |
static const IndustryTileTable | _tile_table_sawmill_0 [] |
static const IndustryTileTable | _tile_table_sawmill_1 [] |
static const IndustryTileTable *const | _tile_table_sawmill [] |
static const IndustryTileTable | _tile_table_forest_0 [] |
static const IndustryTileTable | _tile_table_forest_1 [] |
static const IndustryTileTable *const | _tile_table_forest [] |
static const IndustryTileTable | _tile_table_oil_refinery_0 [] |
static const IndustryTileTable | _tile_table_oil_refinery_1 [] |
static const IndustryTileTable *const | _tile_table_oil_refinery [] |
static const IndustryTileTable | _tile_table_oil_rig_0 [] |
static const IndustryTileTable *const | _tile_table_oil_rig [] |
static const IndustryTileTable | _tile_table_factory_0 [] |
static const IndustryTileTable | _tile_table_factory_1 [] |
static const IndustryTileTable *const | _tile_table_factory [] |
static const IndustryTileTable | _tile_table_printing_works_0 [] |
static const IndustryTileTable | _tile_table_printing_works_1 [] |
static const IndustryTileTable *const | _tile_table_printing_works [] |
static const IndustryTileTable | _tile_table_steel_mill_0 [] |
static const IndustryTileTable | _tile_table_steel_mill_1 [] |
static const IndustryTileTable *const | _tile_table_steel_mill [] |
static const IndustryTileTable | _tile_table_farm_0 [] |
static const IndustryTileTable | _tile_table_farm_1 [] |
static const IndustryTileTable | _tile_table_farm_2 [] |
static const IndustryTileTable *const | _tile_table_farm [] |
static const IndustryTileTable | _tile_table_copper_mine_0 [] |
static const IndustryTileTable | _tile_table_copper_mine_1 [] |
static const IndustryTileTable *const | _tile_table_copper_mine [] |
static const IndustryTileTable | _tile_table_oil_well_0 [] |
static const IndustryTileTable | _tile_table_oil_well_1 [] |
static const IndustryTileTable *const | _tile_table_oil_well [] |
static const IndustryTileTable | _tile_table_bank_0 [] |
static const IndustryTileTable *const | _tile_table_bank [] |
static const IndustryTileTable | _tile_table_food_process_0 [] |
static const IndustryTileTable | _tile_table_food_process_1 [] |
static const IndustryTileTable *const | _tile_table_food_process [] |
static const IndustryTileTable | _tile_table_paper_mill_0 [] |
static const IndustryTileTable *const | _tile_table_paper_mill [] |
static const IndustryTileTable | _tile_table_gold_mine_0 [] |
static const IndustryTileTable *const | _tile_table_gold_mine [] |
static const IndustryTileTable | _tile_table_bank2_0 [] |
static const IndustryTileTable *const | _tile_table_bank2 [] |
static const IndustryTileTable | _tile_table_diamond_mine_0 [] |
static const IndustryTileTable *const | _tile_table_diamond_mine [] |
static const IndustryTileTable | _tile_table_iron_mine_0 [] |
static const IndustryTileTable *const | _tile_table_iron_mine [] |
static const IndustryTileTable | _tile_table_fruit_plantation_0 [] |
static const IndustryTileTable *const | _tile_table_fruit_plantation [] |
static const IndustryTileTable | _tile_table_rubber_plantation_0 [] |
static const IndustryTileTable *const | _tile_table_rubber_plantation [] |
static const IndustryTileTable | _tile_table_water_supply_0 [] |
static const IndustryTileTable *const | _tile_table_water_supply [] |
static const IndustryTileTable | _tile_table_water_tower_0 [] |
static const IndustryTileTable *const | _tile_table_water_tower [] |
static const IndustryTileTable | _tile_table_factory2_0 [] |
static const IndustryTileTable | _tile_table_factory2_1 [] |
static const IndustryTileTable *const | _tile_table_factory2 [] |
static const IndustryTileTable | _tile_table_farm2_0 [] |
static const IndustryTileTable | _tile_table_farm2_1 [] |
static const IndustryTileTable | _tile_table_farm2_2 [] |
static const IndustryTileTable *const | _tile_table_farm2 [] |
static const IndustryTileTable | _tile_table_lumber_mill_0 [] |
static const IndustryTileTable *const | _tile_table_lumber_mill [] |
static const IndustryTileTable | _tile_table_cotton_candy_0 [] |
static const IndustryTileTable | _tile_table_cotton_candy_1 [] |
static const IndustryTileTable *const | _tile_table_cotton_candy [] |
static const IndustryTileTable | _tile_table_candy_factory_0 [] |
static const IndustryTileTable | _tile_table_candy_factory_1 [] |
static const IndustryTileTable *const | _tile_table_candy_factory [] |
static const IndustryTileTable | _tile_table_battery_farm_0 [] |
static const IndustryTileTable *const | _tile_table_battery_farm [] |
static const IndustryTileTable | _tile_table_cola_wells_0 [] |
static const IndustryTileTable | _tile_table_cola_wells_1 [] |
static const IndustryTileTable *const | _tile_table_cola_wells [] |
static const IndustryTileTable | _tile_table_toy_shop_0 [] |
static const IndustryTileTable *const | _tile_table_toy_shop [] |
static const IndustryTileTable | _tile_table_toy_factory_0 [] |
static const IndustryTileTable *const | _tile_table_toy_factory [] |
static const IndustryTileTable | _tile_table_plastic_fountain_0 [] |
static const IndustryTileTable | _tile_table_plastic_fountain_1 [] |
static const IndustryTileTable *const | _tile_table_plastic_fountain [] |
static const IndustryTileTable | _tile_table_fizzy_drink_0 [] |
static const IndustryTileTable *const | _tile_table_fizzy_drink [] |
static const IndustryTileTable | _tile_table_bubble_generator_0 [] |
static const IndustryTileTable *const | _tile_table_bubble_generator [] |
static const IndustryTileTable | _tile_table_toffee_quarry_0 [] |
static const IndustryTileTable *const | _tile_table_toffee_quarry [] |
static const IndustryTileTable | _tile_table_sugar_mine_0 [] |
static const IndustryTileTable *const | _tile_table_sugar_mine [] |
static const uint8 | _sawmill_sounds [] = { SND_28_SAWMILL } |
Array with saw sound, for sawmill. | |
static const uint8 | _factory_sounds [] = { SND_03_FACTORY_WHISTLE } |
Array with whistle sound, for factory. | |
static const uint8 | _farm_sounds [] = { SND_24_SHEEP, SND_25_COW, SND_26_HORSE } |
Array with 3 animal sounds, for farms. | |
static const uint8 | _plastic_mine_sounds [] = { SND_33_PLASTIC_MINE } |
Array with... | |
static const IndustrySpec | _origin_industry_specs [NEW_INDUSTRYOFFSET] |
static const IndustryTileSpec | _origin_industry_tile_specs [NEW_INDUSTRYTILEOFFSET] |
Tables with default industry layouts and behaviours.
Definition in file build_industry.h.
#define MI | ( | tbl, | |
sndc, | |||
snd, | |||
d, | |||
pc, | |||
ai1, | |||
ai2, | |||
ai3, | |||
ai4, | |||
ag1, | |||
ag2, | |||
ag3, | |||
ag4, | |||
col, | |||
c1, | |||
c2, | |||
c3, | |||
proc, | |||
p1, | |||
r1, | |||
p2, | |||
r2, | |||
m, | |||
a1, | |||
im1, | |||
a2, | |||
im2, | |||
a3, | |||
im3, | |||
pr, | |||
clim, | |||
bev, | |||
in, | |||
intx, | |||
s1, | |||
s2, | |||
s3 | |||
) |
Writes the properties of an industry into the IndustrySpec struct.
tbl | tile table |
sndc | number of sounds |
snd | sounds table |
d | cost multiplier |
pc | prospecting chance |
ai1 | appear chance ingame - temperate |
ai2 | appear chance ingame - arctic |
ai3 | appear chance ingame - tropic |
ai4 | appear chance ingame - toyland |
ag1 | appear chance random creation - temperate |
ag2 | appear chance random creation - arctic |
ag3 | appear chance random creation - tropic |
ag4 | appear chance random creation - toyland |
col | map colour |
c1 | industry proximity refusal - 1st |
c2 | industry proximity refusal - 2nd |
c3 | industry proximity refusal - 3th |
proc | check procedure index |
p1 | produce cargo 1 |
r1 | rate of production 1 |
p2 | produce cargo 2 |
r2 | rate of production 1 |
m | minimum cargo moved to station |
a1 | accepted cargo 1 |
im1 | input multiplier for cargo 1 |
a2 | accepted cargo 2 |
im2 | input multiplier for cargo 2 |
a3 | accepted cargo 3 |
im3 | input multiplier for cargo 3 |
pr | industry life (actually, the same as extractive, organic, processing in ttdpatch's specs) |
clim | climate availability |
bev | industry behaviour |
in | name |
intx | text while building |
s1 | text for closure |
s2 | text for production up |
s3 | text for production down |
Definition at line 1183 of file build_industry.h.
#define MK | ( | x, | |
y, | |||
m | |||
) | {{x, y}, m} |
Definition of an industry tiles layout.
x | offset x of this tile |
y | offset y of this tile |
m | index of the tile. |
Definition at line 23 of file build_industry.h.
#define MT | ( | ca1, | |
c1, | |||
ca2, | |||
c2, | |||
ca3, | |||
c3, | |||
sl, | |||
a1, | |||
a2, | |||
a3 | |||
) | {{c1, c2, c3}, {ca1, ca2, ca3}, sl, a1, a2, a3, 0, {0, ANIM_STATUS_NO_ANIMATION, 2, 0}, INDTILE_SPECIAL_NONE, true, GRFFileProps(INVALID_INDUSTRYTILE)} |
Writes the properties of an industry tile into the IndustryTileSpec struct.
ca1 | acceptance of first cargo |
c1 | first type of cargo accepted for this tile |
ca2 | acceptance of second cargo |
c2 | second cargo |
ca3 | acceptance of third cargo |
c3 | and third cargo. Those three are in an array |
sl | slope refused upon choosing a place to build |
a1 | animation frame on production |
a2 | next frame of animation |
a3 | chooses between animation or construction state |
Definition at line 1584 of file build_industry.h.
|
static |
|
static |
Definition at line 526 of file build_industry.h.
|
static |
Definition at line 619 of file build_industry.h.
|
static |
Definition at line 613 of file build_industry.h.
|
static |
Definition at line 520 of file build_industry.h.
|
static |
Definition at line 948 of file build_industry.h.
|
static |
Definition at line 924 of file build_industry.h.
|
static |
Definition at line 1055 of file build_industry.h.
|
static |
|
static |
Definition at line 919 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 77 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 975 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 492 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 882 of file build_industry.h.
|
static |
Definition at line 833 of file build_industry.h.
|
static |
Definition at line 855 of file build_industry.h.
|
static |
Definition at line 636 of file build_industry.h.
|
static |
|
static |
Definition at line 335 of file build_industry.h.
|
static |
Definition at line 765 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 461 of file build_industry.h.
|
static |
Definition at line 815 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1035 of file build_industry.h.
|
static |
|
static |
Definition at line 564 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 202 of file build_industry.h.
|
static |
Definition at line 153 of file build_industry.h.
|
static |
Definition at line 175 of file build_industry.h.
|
static |
Definition at line 688 of file build_industry.h.
|
static |
Definition at line 664 of file build_industry.h.
|
static |
Definition at line 609 of file build_industry.h.
|
static |
|
static |
Definition at line 660 of file build_industry.h.
|
static |
Definition at line 640 of file build_industry.h.
|
static |
Definition at line 829 of file build_industry.h.
|
static |
|
static |
Definition at line 245 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 299 of file build_industry.h.
|
static |
Definition at line 515 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 585 of file build_industry.h.
|
static |
|
static |
Definition at line 1022 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 118 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
Definition at line 372 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 716 of file build_industry.h.
|
static |
Definition at line 692 of file build_industry.h.
|
static |
Definition at line 148 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 411 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 1082 of file build_industry.h.
|
static |
|
static |
Definition at line 1066 of file build_industry.h.
|
static |
|
static |
Definition at line 1004 of file build_industry.h.
|
static |
|
static |
Definition at line 988 of file build_industry.h.
|
static |
|
static |
Definition at line 728 of file build_industry.h.
|
static |
|
static |
Definition at line 737 of file build_industry.h.
|
static |
Definition at line 732 of file build_industry.h.