1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 03:58:04 +00:00

further cleanup

This commit is contained in:
Zeno Rogue
2019-08-09 23:24:33 +02:00
parent 05bd7a905c
commit 65c4e6a31c
12 changed files with 88 additions and 236 deletions

View File

@@ -5,6 +5,7 @@ namespace hr {
EX int steplimit = 0;
EX int cstep;
EX bool buggyGeneration = false;
EX vector<cell*> buggycells;
@@ -34,8 +35,6 @@ cell *pathTowards(cell *pf, cell *pt) {
return NULL;
}
bool buggyGeneration = false;
bool errorReported = false;
void describeCell(cell *c) {
@@ -575,7 +574,7 @@ void test_distances(int max) {
println(hlog, "ok=", ok, " bad=", bad);
}
void raiseBuggyGeneration(cell *c, const char *s) {
EX void raiseBuggyGeneration(cell *c, const char *s) {
printf("procgen error (%p): %s\n", c, s);