Reupload after bitbucket wipe

This commit is contained in:
Chris Lynch
2013-12-25 18:43:29 -05:00
commit 965453909e
5942 changed files with 99045 additions and 0 deletions

19
heatmaps/generate.php Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/php
<?php
error_reporting(E_ALL);
ini_set("memory_limit", "32M");
require_once 'config.inc.php';
require_once 'heatmap.class.php';
$heat = new Heatmap;
$heat->init();
foreach (Env::get('mapinfo') as $game => $gameconf) {
foreach ($gameconf as $map => $data) {
$heat->generate($game, $map, "kill");
}
}
show::Event("CREATE", "Heatmap creation done.", 1);
?>