1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

refactored celldraw

This commit is contained in:
Zeno Rogue
2019-10-25 12:44:41 +02:00
parent 4d5fb13b32
commit 85a08d205d
18 changed files with 3427 additions and 3304 deletions

View File

@@ -1110,6 +1110,11 @@ namespace mapeditor {
#endif
EX void drawGhosts(cell *c, const transmatrix& V, int ct) {
if((cmode & sm::MAP) && lmouseover && darken == 0 &&
(GDIM == 3 || !mouseout()) &&
(patterns::whichPattern ? patterns::getpatterninfo0(c).id == patterns::getpatterninfo0(lmouseover).id : c == lmouseover)) {
queuecircleat(c, .78, 0x00FFFFFF);
}
}
hyperpoint ccenter = C0;