Tools directory for ticket #1

This commit is contained in:
DavidWyand-GG 2012-09-19 11:22:58 -04:00
parent ecfd936095
commit 8337cad7ee
207 changed files with 25761 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
// Written for GarageGames project generator Xcode files
// Map a file path to a unique 23-digit number [unique for the life of the PHP execution]
function smarty_modifier_uid($string)
{
static $uid = 1;
static $map = array();
if ( !array_key_exists( $string, $map ) )
$map[$string] = sprintf( "%023X", $uid++ );
return $map[$string];
}
?>