debug_cellnames option
This commit is contained in:
parent
f900ec7443
commit
3c8d5979f1
|
@ -1922,6 +1922,12 @@ void celldrawer::draw_cellstat() {
|
||||||
queuestr(V, .5, label, 0xFF000000 + col);
|
queuestr(V, .5, label, 0xFF000000 + col);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if(debug_cellnames && pointer_indices.count(c)) {
|
||||||
|
shstream ss; print(ss, c);
|
||||||
|
queuestr(V, .5, ss.s, 0xFFFFFFFF);
|
||||||
|
queuepoly(V * ddspin(c, 0), cgi.shAsymmetric, darkena(0x000000, 0, 0xC0));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void celldrawer::draw_wall_full() {
|
void celldrawer::draw_wall_full() {
|
||||||
|
|
|
@ -11,6 +11,7 @@ namespace hr {
|
||||||
EX int steplimit = 0;
|
EX int steplimit = 0;
|
||||||
EX int cstep;
|
EX int cstep;
|
||||||
EX bool buggyGeneration = false;
|
EX bool buggyGeneration = false;
|
||||||
|
EX bool debug_cellnames = false;
|
||||||
|
|
||||||
EX vector<cell*> buggycells;
|
EX vector<cell*> buggycells;
|
||||||
|
|
||||||
|
@ -848,6 +849,9 @@ int read_cheat_args() {
|
||||||
PHASE(1);
|
PHASE(1);
|
||||||
fixseed = true; autocheat = true;
|
fixseed = true; autocheat = true;
|
||||||
}
|
}
|
||||||
|
else if(argis("-cellnames")) {
|
||||||
|
cheat(); debug_cellnames = true;
|
||||||
|
}
|
||||||
else if(argis("-fixx")) {
|
else if(argis("-fixx")) {
|
||||||
PHASE(1);
|
PHASE(1);
|
||||||
fixseed = true; autocheat = true;
|
fixseed = true; autocheat = true;
|
||||||
|
|
Loading…
Reference in New Issue