mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-28 01:44:54 +00:00
CLI -land-info to list validity for every land
This commit is contained in:
parent
a0f91faf67
commit
15623fd84d
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user