1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

removed BUILDZEBRA from drawcell

This commit is contained in:
Zeno Rogue 2019-10-25 09:22:19 +02:00
parent fd8f363b8f
commit 4d5fb13b32
2 changed files with 12 additions and 10 deletions

View File

@ -444,5 +444,17 @@ void buildAutomatonRule(cell *c) {
} }
} }
/*
to drawcell:
if(c->type == 6 && c->tmp > 0) {
int i = c->tmp;
zebra(cellwalker(c, i&15), 1, i>>4, "", 0);
}
c->item = eItem(c->heat / 4);
buildAutomatonRule(c);
#endif
*/
// #define BUILDZEBRA // #define BUILDZEBRA
} }

View File

@ -5172,16 +5172,6 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
else if(dist0 < vid.middetail) detaillevel = 1; else if(dist0 < vid.middetail) detaillevel = 1;
else detaillevel = 0; else detaillevel = 0;
#ifdef BUILDZEBRA
if(c->type == 6 && c->tmp > 0) {
int i = c->tmp;
zebra(cellwalker(c, i&15), 1, i>>4, "", 0);
}
c->item = eItem(c->heat / 4);
buildAutomatonRule(c);
#endif
#if CAP_SHAPES #if CAP_SHAPES
viewBuggyCells(c,V); viewBuggyCells(c,V);
#endif #endif