mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-04 16:31:44 +00:00
CLI -land-info to list validity for every land
This commit is contained in:
@@ -1283,6 +1283,13 @@ EX land_validity_t& land_validity(eLand l) {
|
|||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto ar = arg::add3("-land-info",
|
||||||
|
[] {
|
||||||
|
for(int li=0; li<landtypes; li++) {
|
||||||
|
eLand l = eLand(li);
|
||||||
|
println(hlog, dnameof(l), " : ", land_validity(l).msg);
|
||||||
|
}
|
||||||
|
});
|
||||||
/*
|
/*
|
||||||
int checkLands() {
|
int checkLands() {
|
||||||
for(int i=0; i<landtypes; i++) {
|
for(int i=0; i<landtypes; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user