add stalactites to hot ice as decoration (#1564)

install-platforms
Maikel de Vries 2018-02-05 16:54:02 +01:00
parent 42310548d8
commit 3ad91ee02b
1 changed files with 20 additions and 7 deletions

View File

@ -468,14 +468,14 @@ func IsFirestoneSpot(int x, int y)
} }
// ============= Themes ============= // ============= Themes =============
static const HotIce = new Global { static const DefaultTheme = new Global
{
InitializeRound = func() { }, InitializeRound = func() { },
LavaMat = "^DuroLava", LavaMat = "^DuroLava",
IceMats = ["^Ice-ice", "^Ice-ice2"], IceMats = ["^Ice-ice", "^Ice-ice2"],
AltMatRatio = 50, AltMatRatio = 50,
BackgroundMat = nil, BackgroundMat = nil,
Sky = "Default", Sky = "Default",
PlayList = nil, PlayList = nil,
InitializeMusic = func() InitializeMusic = func()
{ {
@ -489,17 +489,31 @@ static const HotIce = new Global {
SetPlayList(this.PlayList, NO_OWNER, true); SetPlayList(this.PlayList, NO_OWNER, true);
SetGlobalSoundModifier(nil); SetGlobalSoundModifier(nil);
} }
}, }
}; };
static const EciToh = new HotIce { static const HotIce = new DefaultTheme
{
InitializeRound = func()
{
Stalactite->Place(10 + Random(3));
}
};
static const EciToh = new DefaultTheme
{
LavaMat = "DuroLava", LavaMat = "DuroLava",
IceMats = ["Coal", "Rock-rock"], IceMats = ["Coal", "Rock-rock"],
AltMatRatio = 8, AltMatRatio = 8,
BackgroundMat = "Tunnel", BackgroundMat = "Tunnel",
InitializeRound = func()
{
Stalactite->Place(10 + Random(3));
}
}; };
static const MiamiIce = new HotIce { static const MiamiIce = new DefaultTheme
{
IceMats = ["^BlackIce-black", "^BlackIce-black"], IceMats = ["^BlackIce-black", "^BlackIce-black"],
Sky = "SkyMiami", Sky = "SkyMiami",
PlayList = PlayList =
@ -526,6 +540,5 @@ static const MiamiIce = new HotIce {
o->SetClrModulation(HSL(time, 255, 100)); o->SetClrModulation(HSL(time, 255, 100));
} }
}, },
}, }
}; };