|
OpenTTD Source 20251104-master-g3befbdd52f
|
Tables with default industry layouts and behaviours. More...
#include "table/strings.h"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 1130 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 | |||
| ) |
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 stage |
Definition at line 1536 of file build_industry.h.
| enum IndustryTypes : uint8_t |
Definition at line 1048 of file build_industry.h.
|
static |
Array with whistle sound, for factory.
Definition at line 1040 of file build_industry.h.
|
static |
Array with 3 animal sounds, for farms.
Definition at line 1043 of file build_industry.h.
|
static |
Definition at line 1150 of file build_industry.h.
|
static |
Definition at line 1540 of file build_industry.h.
|
static |
Array with... hem... a sound of toyland.
Definition at line 1046 of file build_industry.h.
|
static |
Array with saw sound, for sawmill.
Definition at line 1037 of file build_industry.h.
|
static |
Definition at line 506 of file build_industry.h.
|
static |
Definition at line 594 of file build_industry.h.
|
static |
Definition at line 589 of file build_industry.h.
|
static |
Definition at line 501 of file build_industry.h.
|
static |
Definition at line 906 of file build_industry.h.
|
static |
Definition at line 883 of file build_industry.h.
|
static |
Definition at line 1005 of file build_industry.h.
|
static |
|
static |
Definition at line 878 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 68 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 931 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 475 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 843 of file build_industry.h.
|
static |
Definition at line 796 of file build_industry.h.
|
static |
Definition at line 817 of file build_industry.h.
|
static |
Definition at line 610 of file build_industry.h.
|
static |
|
static |
Definition at line 327 of file build_industry.h.
|
static |
Definition at line 732 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 446 of file build_industry.h.
|
static |
Definition at line 779 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 986 of file build_industry.h.
|
static |
|
static |
Definition at line 542 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 186 of file build_industry.h.
|
static |
Definition at line 139 of file build_industry.h.
|
static |
Definition at line 160 of file build_industry.h.
|
static |
Definition at line 660 of file build_industry.h.
|
static |
Definition at line 637 of file build_industry.h.
|
static |
Definition at line 585 of file build_industry.h.
|
static |
|
static |
Definition at line 633 of file build_industry.h.
|
static |
Definition at line 614 of file build_industry.h.
|
static |
Definition at line 792 of file build_industry.h.
|
static |
|
static |
Definition at line 227 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 293 of file build_industry.h.
|
static |
Definition at line 232 of file build_industry.h.
|
static |
Definition at line 496 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 562 of file build_industry.h.
|
static |
|
static |
Definition at line 974 of file build_industry.h.
|
static |
Definition at line 962 of file build_industry.h.
|
static |
Definition at line 968 of file build_industry.h.
|
static |
Definition at line 106 of file build_industry.h.
|
static |
|
static |
|
static |
|
static |
Definition at line 362 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 687 of file build_industry.h.
|
static |
Definition at line 664 of file build_industry.h.
|
static |
Definition at line 134 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 399 of file build_industry.h.
|
static |
|
static |
|
static |
Definition at line 1030 of file build_industry.h.
|
static |
|
static |
Definition at line 1015 of file build_industry.h.
|
static |
Definition at line 1009 of file build_industry.h.
|
static |
Definition at line 958 of file build_industry.h.
|
static |
|
static |
Definition at line 943 of file build_industry.h.
|
static |
|
static |
Definition at line 698 of file build_industry.h.
|
static |
|
static |
Definition at line 706 of file build_industry.h.
|
static |
Definition at line 702 of file build_industry.h.