home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / monstertruck.swf / scripts / __Packages / Pirrest / PhisicsEngine / ParticleSystem.as < prev    next >
Encoding:
Text File  |  2007-03-13  |  5.5 KB  |  199 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function()
  33.    {
  34.       this[┬º┬ºconstant(5)]();
  35.    }[┬º┬ºconstant(6)];
  36.    _loc2_[┬º┬ºconstant(5)] = function()
  37.    {
  38.       this[┬º┬ºconstant(7)] = [];
  39.       this[┬º┬ºconstant(8)] = [];
  40.       this[┬º┬ºconstant(9)] = [];
  41.       this[┬º┬ºconstant(10)] = [];
  42.       this[┬º┬ºconstant(11)] = new f.h[┬º┬ºconstant(12)](0,1);
  43.       this[┬º┬ºconstant(13)] = 1.5;
  44.       this[┬º┬ºconstant(14)] = 0.1;
  45.       this[┬º┬ºconstant(15)] = 0;
  46.    };
  47.    _loc2_[┬º┬ºconstant(16)] = function($px, $py, $mass)
  48.    {
  49.       var _loc2_ = new f.h[┬º┬ºconstant(17)]($px,$py,$mass);
  50.       this[┬º┬ºconstant(7)][┬º┬ºconstant(18)](_loc2_);
  51.       this[┬º┬ºconstant(19)] = this[┬º┬ºconstant(7)][┬º┬ºconstant(20)];
  52.       return _loc2_;
  53.    };
  54.    _loc2_[┬º┬ºconstant(21)] = function($wheel)
  55.    {
  56.       this[┬º┬ºconstant(10)][┬º┬ºconstant(18)]($wheel);
  57.       this[┬º┬ºconstant(22)] = this[┬º┬ºconstant(10)][┬º┬ºconstant(20)];
  58.    };
  59.    _loc2_[┬º┬ºconstant(23)] = function($s)
  60.    {
  61.       this[┬º┬ºconstant(8)][┬º┬ºconstant(18)]($s);
  62.       this[┬º┬ºconstant(24)] = this[┬º┬ºconstant(8)][┬º┬ºconstant(20)];
  63.    };
  64.    _loc2_[┬º┬ºconstant(25)] = function($s)
  65.    {
  66.       this[┬º┬ºconstant(8)][┬º┬ºconstant(18)]($s);
  67.       this[┬º┬ºconstant(24)] = this[┬º┬ºconstant(8)][┬º┬ºconstant(20)];
  68.    };
  69.    _loc2_[┬º┬ºconstant(26)] = function($p1, $p2)
  70.    {
  71.       var _loc2_ = new f.h[┬º┬ºconstant(27)]($p1,$p2);
  72.       trace(┬º┬ºconstant(28) + $p1 + ┬º┬ºconstant(29) + $p2);
  73.       this[┬º┬ºconstant(9)][┬º┬ºconstant(18)](_loc2_);
  74.       this[┬º┬ºconstant(30)] = this[┬º┬ºconstant(9)][┬º┬ºconstant(20)];
  75.       return _loc2_;
  76.    };
  77.    _loc2_[┬º┬ºconstant(31)] = function($center, $rWidth, $rHeight)
  78.    {
  79.       return new f.h[┬º┬ºconstant(32)](this,$center,$rWidth,$rHeight);
  80.    };
  81.    _loc2_[┬º┬ºconstant(33)] = function($p1, $p2, $p3)
  82.    {
  83.       var _loc2_ = new f.h[┬º┬ºconstant(34)]($p1,$p2,$p3);
  84.       this[┬º┬ºconstant(9)][┬º┬ºconstant(18)](_loc2_);
  85.       this[┬º┬ºconstant(30)] = this[┬º┬ºconstant(9)][┬º┬ºconstant(20)];
  86.       return _loc2_;
  87.    };
  88.    _loc2_[┬º┬ºconstant(35)] = function($kfr)
  89.    {
  90.       this[┬º┬ºconstant(13)] = 1 + $kfr;
  91.    };
  92.    _loc2_[┬º┬ºconstant(36)] = function($f)
  93.    {
  94.       this[┬º┬ºconstant(14)] = $f;
  95.    };
  96.    _loc2_[┬º┬ºconstant(37)] = function($d)
  97.    {
  98.       this[┬º┬ºconstant(15)] = $d;
  99.    };
  100.    _loc2_[┬º┬ºconstant(38)] = function($gx, $gy)
  101.    {
  102.       this[┬º┬ºconstant(11)][┬º┬ºconstant(39)] = $gx;
  103.       this[┬º┬ºconstant(11)][┬º┬ºconstant(40)] = $gy;
  104.    };
  105.    _loc2_[┬º┬ºconstant(41)] = function()
  106.    {
  107.       var _loc2_ = undefined;
  108.       _loc2_ = 0;
  109.       while(_loc2_ < this[┬º┬ºconstant(19)])
  110.       {
  111.          this[┬º┬ºconstant(7)][_loc2_][┬º┬ºconstant(41)](this);
  112.          _loc2_ = _loc2_ + 1;
  113.       }
  114.       _loc2_ = 0;
  115.       while(_loc2_ < this[┬º┬ºconstant(22)])
  116.       {
  117.          this[┬º┬ºconstant(10)][_loc2_][┬º┬ºconstant(41)](this);
  118.          _loc2_ = _loc2_ + 1;
  119.       }
  120.    };
  121.    _loc2_[┬º┬ºconstant(42)] = function()
  122.    {
  123.       var _loc2_ = undefined;
  124.       _loc2_ = 0;
  125.       while(_loc2_ < this[┬º┬ºconstant(30)])
  126.       {
  127.          this[┬º┬ºconstant(9)][_loc2_][┬º┬ºconstant(43)]();
  128.          _loc2_ = _loc2_ + 1;
  129.       }
  130.    };
  131.    _loc2_[┬º┬ºconstant(44)] = function()
  132.    {
  133.       var _loc4_ = undefined;
  134.       var _loc3_ = undefined;
  135.       var _loc2_ = undefined;
  136.       _loc4_ = 0;
  137.       while(_loc4_ < this[┬º┬ºconstant(24)])
  138.       {
  139.          _loc3_ = 0;
  140.          while(_loc3_ < this[┬º┬ºconstant(19)])
  141.          {
  142.             this[┬º┬ºconstant(7)][_loc3_][┬º┬ºconstant(45)](this[┬º┬ºconstant(8)][_loc4_],this);
  143.             _loc3_ = _loc3_ + 1;
  144.          }
  145.          _loc2_ = 0;
  146.          while(_loc2_ < this[┬º┬ºconstant(22)])
  147.          {
  148.             this[┬º┬ºconstant(10)][_loc2_][┬º┬ºconstant(45)](this[┬º┬ºconstant(8)][_loc4_],this);
  149.             _loc2_ = _loc2_ + 1;
  150.          }
  151.          _loc4_ = _loc4_ + 1;
  152.       }
  153.    };
  154.    _loc2_[┬º┬ºconstant(46)] = function()
  155.    {
  156.       var _loc2_ = 0;
  157.       while(_loc2_ < this[┬º┬ºconstant(8)][┬º┬ºconstant(20)])
  158.       {
  159.          this[┬º┬ºconstant(8)][_loc2_][┬º┬ºconstant(47)]();
  160.          _loc2_ = _loc2_ + 1;
  161.       }
  162.    };
  163.    _loc2_[┬º┬ºconstant(48)] = function()
  164.    {
  165.       var _loc2_ = 0;
  166.       while(_loc2_ < this[┬º┬ºconstant(7)][┬º┬ºconstant(20)])
  167.       {
  168.          this[┬º┬ºconstant(7)][_loc2_][┬º┬ºconstant(47)]();
  169.          _loc2_ = _loc2_ + 1;
  170.       }
  171.    };
  172.    _loc2_[┬º┬ºconstant(49)] = function()
  173.    {
  174.       var _loc2_ = 0;
  175.       while(_loc2_ < this[┬º┬ºconstant(9)][┬º┬ºconstant(20)])
  176.       {
  177.          this[┬º┬ºconstant(9)][_loc2_][┬º┬ºconstant(47)]();
  178.          _loc2_ = _loc2_ + 1;
  179.       }
  180.    };
  181.    _loc2_[┬º┬ºconstant(50)] = function()
  182.    {
  183.       var _loc2_ = 0;
  184.       while(_loc2_ < this[┬º┬ºconstant(10)][┬º┬ºconstant(20)])
  185.       {
  186.          this[┬º┬ºconstant(10)][_loc2_][┬º┬ºconstant(47)]();
  187.          _loc2_ = _loc2_ + 1;
  188.       }
  189.    };
  190.    _loc2_[┬º┬ºconstant(51)] = function()
  191.    {
  192.       this[┬º┬ºconstant(41)]();
  193.       this[┬º┬ºconstant(42)]();
  194.       this[┬º┬ºconstant(44)]();
  195.    };
  196.    ┬º┬ºpush(┬º┬ºconstant(52)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(6)],null,1));
  197. }
  198. §§pop();
  199.