1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00

Cherenkov radiation

This commit is contained in:
Zeno Rogue 2019-01-11 02:25:54 +01:00
parent df73ccb4c2
commit 6d720f157f

View File

@ -2805,6 +2805,8 @@ void setcolors(cell *c, color_t& wcol, color_t& fcol) {
0x1010C0 + int(32 * sintick(500, (chaosmode ? c->CHAOSPARAM : c->landparam)*.75/M_PI));
else if(c->land == laOceanWall)
fcol = 0x2020FF;
else if(c->land == laVariant)
fcol = 0x002090 + 15 * sintick(300, 0);
else if(c->land == laKraken) {
fcol = 0x0000A0;
int mafcol = (kraken_pseudohept(c) ? 64 : 8);
@ -3537,6 +3539,10 @@ int getfd(cell *c) {
case laBrownian:
return 1;
case laVariant:
if(isWateryOrBoat(c)) return 1;
return 2;
case laTrollheim:
default:
return 2;