home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / alex_trax.swf / scripts / __Packages / com / neodelight / flanix / Kernel.as < prev   
Encoding:
Text File  |  2007-10-01  |  1.1 KB  |  52 lines

  1. class com.neodelight.flanix.Kernel
  2. {
  3.    function Kernel()
  4.    {
  5.    }
  6.    static function init()
  7.    {
  8.       if(_global.$FLANIX_VERSION)
  9.       {
  10.          return undefined;
  11.       }
  12.       _global.$FLANIX_VERSION = "0.2.0";
  13.       if(!_global.lib)
  14.       {
  15.          _global.lib = new Object();
  16.       }
  17.       if(!_global.lib.Blueprints)
  18.       {
  19.          _global.lib.Blueprints = com.neodelight.std.Blueprint.lib;
  20.       }
  21.       if(!_global["var"])
  22.       {
  23.          _global["var"] = new Object();
  24.       }
  25.       if(!_global["var"].log)
  26.       {
  27.          _global["var"].log = new Object();
  28.       }
  29.       if(!_global.mnt)
  30.       {
  31.          _global.mnt = new Object();
  32.       }
  33.       if(!_global.etc)
  34.       {
  35.          _global.etc = new Object();
  36.       }
  37.       _global.etc.host = com.neodelight.std.XSystem.getDomain();
  38.       if(!_global.dev)
  39.       {
  40.          _global.dev = new Object();
  41.       }
  42.       if(!_global.dev["null"])
  43.       {
  44.          _global.dev["null"] = function()
  45.          {
  46.          };
  47.       }
  48.       _global._root = _level0;
  49.       var _loc2_ = new com.neodelight.flanix.Bin();
  50.    }
  51. }
  52.