OpenTTD Source 20241224-master-gf74b0cf984
|
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 | MI(tbl, 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) |
Writes the properties of an industry tile into the IndustryTileSpec struct. | |
Tables with default industry layouts and behaviours.
Definition in file build_industry.h.
#define MI | ( | tbl, | |
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 1128 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 21 of file build_industry.h.
#define MT | ( | ca1, | |
c1, | |||
ca2, | |||
c2, | |||
ca3, | |||
c3, | |||
sl, | |||
a1, | |||
a2, | |||
a3 | |||
) |
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 1534 of file build_industry.h.
enum IndustryTypes |
Definition at line 1046 of file build_industry.h.
|
static |
Array with whistle sound, for factory.
Definition at line 1038 of file build_industry.h.
|
static |
Array with 3 animal sounds, for farms.
Definition at line 1041 of file build_industry.h.
|
static |
Definition at line 1148 of file build_industry.h.
|
static |
Definition at line 1538 of file build_industry.h.
|
static |
Array with... hem... a sound of toyland.
Definition at line 1044 of file build_industry.h.
|
static |
Array with saw sound, for sawmill.
Definition at line 1035 of file build_industry.h.
|
static |
Definition at line 504 of file build_industry.h.
|
static |
Definition at line 592 of file build_industry.h.
|
static |
Definition at line 587 of file build_industry.h.
|
static |
Definition at line 499 of file build_industry.h.
|
static |
Definition at line 904 of file build_industry.h.
|
static |
Definition at line 881 of file build_industry.h.
|
static |
Definition at line 1003 of file build_industry.h.
|
static |
|
static |
Definition at line 876 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 66 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 929 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 473 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 841 of file build_industry.h.
|
static |
Definition at line 794 of file build_industry.h.
|
static |
Definition at line 815 of file build_industry.h.
|
static |
Definition at line 608 of file build_industry.h.
|
static |
|
static |
Definition at line 325 of file build_industry.h.
|
static |
Definition at line 730 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 444 of file build_industry.h.
|
static |
Definition at line 777 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 984 of file build_industry.h.
|
static |
|
static |
Definition at line 540 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 184 of file build_industry.h.
|
static |
Definition at line 137 of file build_industry.h.
|
static |
Definition at line 158 of file build_industry.h.
|
static |
Definition at line 658 of file build_industry.h.
|
static |
Definition at line 635 of file build_industry.h.
|
static |
Definition at line 583 of file build_industry.h.
|
static |
|
static |
Definition at line 631 of file build_industry.h.
|
static |
Definition at line 612 of file build_industry.h.
|
static |
Definition at line 790 of file build_industry.h.
|
static |
|
static |
Definition at line 225 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 291 of file build_industry.h.
|
static |
Definition at line 230 of file build_industry.h.
|
static |
Definition at line 494 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 560 of file build_industry.h.
|
static |
|
static |
Definition at line 972 of file build_industry.h.
|
static |
Definition at line 960 of file build_industry.h.
|
static |
Definition at line 966 of file build_industry.h.
|
static |
Definition at line 104 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
Definition at line 360 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 685 of file build_industry.h.
|
static |
Definition at line 662 of file build_industry.h.
|
static |
Definition at line 132 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 397 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 1028 of file build_industry.h.
|
static |
|
static |
Definition at line 1013 of file build_industry.h.
|
static |
Definition at line 1007 of file build_industry.h.
|
static |
Definition at line 956 of file build_industry.h.
|
static |
|
static |
Definition at line 941 of file build_industry.h.
|
static |
|
static |
Definition at line 696 of file build_industry.h.
|
static |
|
static |
Definition at line 704 of file build_industry.h.
|
static |
Definition at line 700 of file build_industry.h.