( $torqueRoot )
| 62 | private static $module_cur; |
| 63 | |
| 64 | static function init( $torqueRoot ) |
| 65 | { |
| 66 | // If the torque root is absolute then store and use it. |
| 67 | if ( realpath( $torqueRoot ) == $torqueRoot || |
| 68 | realpath( $torqueRoot ) == str_replace("/", "\\", $torqueRoot) ) |
| 69 | { |
| 70 | self::$absPath = str_replace( "\\", "/", $torqueRoot ); |
| 71 | $torqueRoot = self::$absPath; |
| 72 | } |
| 73 | |
| 74 | if ( self::$absPath ) |
| 75 | { |
| 76 | self::$paths[ 'engineLib' ] = '../../../Engine/lib/'; |
| 77 | self::$paths[ 'engineSrc' ] = '../../../Engine/source/'; |
| 78 | self::$paths[ 'engineBin' ] = '../../../Engine/bin/'; |
| 79 | } |
| 80 | else |
| 81 | { |
| 82 | self::$paths[ 'engineLib' ] = $torqueRoot . '/../Engine/lib/'; |
| 83 | self::$paths[ 'engineSrc' ] = $torqueRoot . '/../Engine/source/'; |
| 84 | self::$paths[ 'engineBin' ] = $torqueRoot . '/../Engine/bin/'; |
| 85 | } |
| 86 | |
| 87 | self::$paths[ 'modules' ] = $torqueRoot . '/Tools/projectGenerator/modules/'; |
| 88 | self::$paths[ 'libs' ] = $torqueRoot . '/Tools/projectGenerator/libs/'; |
| 89 | self::$platform = 'win32'; |
| 90 | } |
| 91 | |
| 92 | static function setGameProjectName($name) |
| 93 | { |
no outgoing calls
no test coverage detected