mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-18 02:59:42 +00:00
wall optimization option (-wallopt): do not draw things behind walls
This commit is contained in:
@@ -12,6 +12,9 @@ int last_firelimit, firelimit;
|
||||
|
||||
EX int inmirrorcount = 0;
|
||||
|
||||
/** wall optimization: do not draw things beyond walls */
|
||||
EX bool wallopt;
|
||||
|
||||
EX bool spatial_graphics;
|
||||
EX bool wmspatial, wmescher, wmplain, wmblack, wmascii;
|
||||
EX bool mmspatial, mmhigh, mmmon, mmitem;
|
||||
@@ -4429,6 +4432,8 @@ EX bool isWall3(cell *c, color_t& wcol) {
|
||||
return false;
|
||||
}
|
||||
|
||||
EX bool isWall3(cell *c) { color_t dummy; return isWall3(c, dummy); }
|
||||
|
||||
bool isSulphuric(eWall w) { return among(w, waSulphur, waSulphurC); }
|
||||
|
||||
// 'land color', but a bit twisted for Alchemist Lab
|
||||
|
||||
Reference in New Issue
Block a user