mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-13 23:18:16 +00:00
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);
|
||||
}
|
||||
#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() {
|
||||
|
@ -11,6 +11,7 @@ namespace hr {
|
||||
EX int steplimit = 0;
|
||||
EX int cstep;
|
||||
EX bool buggyGeneration = false;
|
||||
EX bool debug_cellnames = false;
|
||||
|
||||
EX vector<cell*> buggycells;
|
||||
|
||||
@ -848,6 +849,9 @@ int read_cheat_args() {
|
||||
PHASE(1);
|
||||
fixseed = true; autocheat = true;
|
||||
}
|
||||
else if(argis("-cellnames")) {
|
||||
cheat(); debug_cellnames = true;
|
||||
}
|
||||
else if(argis("-fixx")) {
|
||||
PHASE(1);
|
||||
fixseed = true; autocheat = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user