HotIce: Collect scenario settings for statistics

alut-include-path
Lukas Werling 2017-02-18 23:13:05 +01:00
parent 16591ffe53
commit 6999dc39e1
1 changed files with 12 additions and 0 deletions

View File

@ -467,3 +467,15 @@ func IsFirestoneSpot(int x, int y)
// Very thorough ice surrounding check so they don't explode right away or when the first layer of ice melts
return GBackSolid(x,y-1) && GBackSolid(x,y+4) && GBackSolid(x-2,y) && GBackSolid(x+2,y);
}
// Send scenario settings to the masterserver.
func CollectStats()
{
return
{
MapType = SCENPAR_MapType,
Weapons = SCENPAR_Weapons,
SpawnType = SCENPAR_SpawnType,
Rounds = SCENPAR_Rounds,
};
}