43 coord operator * (integer fac);
44 coord operator / (integer fac);
57 string href(
string text);
85 coord3d operator * (integer fac);
86 coord3d operator / (integer fac);
99 string href(
string text);
114 static const dir none;
115 static const dir north;
116 static const dir east;
117 static const dir northeast;
118 static const dir south;
119 static const dir northsouth;
120 static const dir southeast;
121 static const dir northsoutheast;
122 static const dir west;
123 static const dir northwest;
124 static const dir eastwest;
125 static const dir northeastwest;
126 static const dir southwest;
127 static const dir northsouthwest;
128 static const dir southeastwest;
129 static const dir all;
184 static const slope flat;
integer raw
raw integer value of date
static bool is_curve(dir d)
integer ticks
current time in ticks
static slope to_slope(dir d)
integer month
month in 0..11
static const slope east
East slope.
static const slope northwest
NW corner.
static bool is_twoway(dir d)
integer next_month_ticks
new month will start at this time
static const slope southwest
SW corner.
static bool is_threeway(dir d)
static const slope north
North slope.
static const slope raised
special meaning: used as slope of bridgeheads
static bool is_straight(dir d)
static const slope all_down_slope
used for terraforming tools
static const slope west
West slope.
static bool is_single(dir d)
static const slope all_up_slope
used for terraforming tools
static dir backward(dir d)
static dir to_dir(slope s)
static const slope south
South slope.
dir coord_to_dir(coord dir)
static const slope southeast
SE corner.
integer z
z-coordinate - height
integer ticks_per_month
length of one in-game month in ticks
static const slope northeast
NE corner.