Steam Fort 0.5
|
Functions | |
bool | valid_pos (int x, int y, bool walkable=true) |
Check if selected position is valid. | |
bool | save_exists () |
Check if file of saved game exists. | |
void | find_near_land (int *x, int *y, int radius, int type) |
Find nearest land of selected type. |
void find_near_land | ( | int * | x, |
int * | y, | ||
int | radius, | ||
int | type | ||
) |
Find nearest land of selected type.
x | X-axis position to start. Return X-axis position of land or -1. |
y | Y-axis position to start. Return Y-axis position of land or -1. |
radius | Size of radius to search. |
type | Type of land to search. |
bool save_exists | ( | ) |
Check if file of saved game exists.
bool valid_pos | ( | int | x, |
int | y, | ||
bool | walkable = true |
||
) |
Check if selected position is valid.
x | X-axis position |
y | Y-axis position |
walkable | Did position is walkable? Default true. |