home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / monstertruck.swf / scripts / __Packages / Pirrest / PhisicsEngine / Graphics.as < prev    next >
Encoding:
Text File  |  2007-03-13  |  1.5 KB  |  57 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.    }[┬º┬ºconstant(5)];
  35.    _loc2_[┬º┬ºconstant(6)] = function($target_mc, $x0, $y0, $x1, $y1)
  36.    {
  37.       $target_mc[┬º┬ºconstant(7)]($x0,$y0);
  38.       $target_mc[┬º┬ºconstant(8)]($x1,$y1);
  39.    };
  40.    _loc2_[┬º┬ºconstant(9)] = function($target_mc, $x, $y, $r)
  41.    {
  42.       var _loc4_ = 0.41421356237309503 * $r;
  43.       var _loc5_ = 0.7071067811865475 * $r;
  44.       $target_mc[┬º┬ºconstant(7)]($x + $r,$y);
  45.       $target_mc[┬º┬ºconstant(10)]($r + $x,_loc4_ + $y,_loc5_ + $x,_loc5_ + $y);
  46.       $target_mc[┬º┬ºconstant(10)](_loc4_ + $x,$r + $y,$x,$r + $y);
  47.       $target_mc[┬º┬ºconstant(10)](- _loc4_ + $x,$r + $y,- _loc5_ + $x,_loc5_ + $y);
  48.       $target_mc[┬º┬ºconstant(10)](- $r + $x,_loc4_ + $y,- $r + $x,$y);
  49.       $target_mc[┬º┬ºconstant(10)](- $r + $x,- _loc4_ + $y,- _loc5_ + $x,- _loc5_ + $y);
  50.       $target_mc[┬º┬ºconstant(10)](- _loc4_ + $x,- $r + $y,$x,- $r + $y);
  51.       $target_mc[┬º┬ºconstant(10)](_loc4_ + $x,- $r + $y,_loc5_ + $x,- _loc5_ + $y);
  52.       $target_mc[┬º┬ºconstant(10)]($r + $x,- _loc4_ + $y,$r + $x,$y);
  53.    };
  54.    ┬º┬ºpush(┬º┬ºconstant(11)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)],null,1));
  55. }
  56. §§pop();
  57.