Modified Flat detection options

develop
PatrikLundell 2019-06-23 18:35:11 +02:00
parent aee7e2e481
commit b5e38451de
1 changed files with 15 additions and 2 deletions

@ -23,6 +23,12 @@ namespace embark_assist {
Major Major
}; };
enum class flatnesses {
Flat_Verified,
Mostly_Flat,
Uneven
};
struct mid_level_tile { struct mid_level_tile {
bool aquifer = false; bool aquifer = false;
bool clay = false; bool clay = false;
@ -111,7 +117,7 @@ namespace embark_assist {
bool aquifer_full; bool aquifer_full;
uint8_t min_soil; uint8_t min_soil;
uint8_t max_soil; uint8_t max_soil;
bool flat; flatnesses flatness;
bool waterfall; bool waterfall;
bool clay; bool clay;
bool sand; bool sand;
@ -174,6 +180,13 @@ namespace embark_assist {
Major Major
}; };
enum class flatness_ranges : int8_t {
NA = -1,
Flat_Verified,
Mostly_Flat,
Uneven
};
// For possible future use. That's the level of data actually collected. // For possible future use. That's the level of data actually collected.
// enum class adamantine_ranges : int8_t { // enum class adamantine_ranges : int8_t {
// NA = -1, // NA = -1,
@ -253,7 +266,7 @@ namespace embark_assist {
river_ranges min_river; river_ranges min_river;
river_ranges max_river; river_ranges max_river;
yes_no_ranges waterfall; yes_no_ranges waterfall;
yes_no_ranges flat; flatness_ranges flatness;
present_absent_ranges clay; present_absent_ranges clay;
present_absent_ranges sand; present_absent_ranges sand;
present_absent_ranges flux; present_absent_ranges flux;