|
Simutrans-Squirrel-API
r11919
|
Static Public Member Functions | |
| static dir | to_dir (slope s) |
Static Public Attributes | |
Named slopes. | |
| static const slope | flat |
| static const slope | north |
| North slope. More... | |
| static const slope | west |
| West slope. More... | |
| static const slope | east |
| East slope. More... | |
| static const slope | south |
| South slope. More... | |
| static const slope | northwest |
| NW corner. More... | |
| static const slope | northeast |
| NE corner. More... | |
| static const slope | southeast |
| SE corner. More... | |
| static const slope | southwest |
| SW corner. More... | |
| static const slope | raised |
| special meaning: used as slope of bridgeheads More... | |
| static const slope | all_up_slope = 82 |
| used for terraforming tools More... | |
| static const slope | all_down_slope = 83 |
| used for terraforming tools More... | |
Class holding static methods to work with slopes. Slopes are just integers.
Definition at line 180 of file api_simple.cc.
Converts slope to dir: direction goes upward on slope. If slope cannot be walked on, it returns dir::none.
| s | slope |
|
static |
used for terraforming tools
Definition at line 195 of file api_simple.cc.
|
static |
used for terraforming tools
Definition at line 194 of file api_simple.cc.
|
static |
East slope.
Definition at line 187 of file api_simple.cc.
|
static |
Definition at line 184 of file api_simple.cc.
|
static |
North slope.
Definition at line 185 of file api_simple.cc.
|
static |
NE corner.
Definition at line 190 of file api_simple.cc.
|
static |
NW corner.
Definition at line 189 of file api_simple.cc.
|
static |
special meaning: used as slope of bridgeheads
Definition at line 193 of file api_simple.cc.
|
static |
South slope.
Definition at line 188 of file api_simple.cc.
|
static |
SE corner.
Definition at line 191 of file api_simple.cc.
|
static |
SW corner.
Definition at line 192 of file api_simple.cc.
|
static |
West slope.
Definition at line 186 of file api_simple.cc.
1.8.13