1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-10 07:09:43 +00:00

'-bright' option

This commit is contained in:
Zeno Rogue
2018-03-25 18:33:21 +02:00
parent 36775cb45c
commit 76ba4bb70c
2 changed files with 6 additions and 0 deletions

View File

@@ -3320,8 +3320,11 @@ void qfloor_eswap(cell *c, const transmatrix& V, const hpcshape& sh, int col) {
qfloor(c, V, sh, col);
};
bool bright;
// how much to darken
int getfd(cell *c) {
if(bright) return 0;
switch(c->land) {
case laRedRock:
case laReptile: