mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 14:56:00 +00:00
'no_darken' mode
This commit is contained in:
@@ -4095,8 +4095,11 @@ EX color_t transcolor(cell *c, cell *c2, color_t wcol) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
EX bool no_darken = false;
|
||||
|
||||
// how much should be the d-th wall darkened in 3D
|
||||
EX int get_darkval(cell *c, int d) {
|
||||
if(no_darken) return 0;
|
||||
if(mhybrid) {
|
||||
return d >= c->type - 2 ? 4 : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user