mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
Cherenkov radiation
This commit is contained in:
parent
df73ccb4c2
commit
6d720f157f
@ -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));
|
0x1010C0 + int(32 * sintick(500, (chaosmode ? c->CHAOSPARAM : c->landparam)*.75/M_PI));
|
||||||
else if(c->land == laOceanWall)
|
else if(c->land == laOceanWall)
|
||||||
fcol = 0x2020FF;
|
fcol = 0x2020FF;
|
||||||
|
else if(c->land == laVariant)
|
||||||
|
fcol = 0x002090 + 15 * sintick(300, 0);
|
||||||
else if(c->land == laKraken) {
|
else if(c->land == laKraken) {
|
||||||
fcol = 0x0000A0;
|
fcol = 0x0000A0;
|
||||||
int mafcol = (kraken_pseudohept(c) ? 64 : 8);
|
int mafcol = (kraken_pseudohept(c) ? 64 : 8);
|
||||||
@ -3537,6 +3539,10 @@ int getfd(cell *c) {
|
|||||||
case laBrownian:
|
case laBrownian:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
case laVariant:
|
||||||
|
if(isWateryOrBoat(c)) return 1;
|
||||||
|
return 2;
|
||||||
|
|
||||||
case laTrollheim:
|
case laTrollheim:
|
||||||
default:
|
default:
|
||||||
return 2;
|
return 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user