section resources {

  // Tracks:
  //
  section tracks {
    directories = "Loops~Zurich~Moon~Downtown~Snake~Rally" (type=string);
  }
  
  // Cars:
  //
  section cars {
    directories = "vw~jeep~z3~flash2" (type=string);
  }

  // Bullets:
  //
  section bullets {
    directories = "rocket" (type=string);
  }

  // Fonts:
  //
  section fonts {
    lcd_13_green = resources/fonts/lcd_13_green.tga
     (type=font,
      trans_limit=0.05,
      x=0, y=0,
      subtract_width=-1,
      spacelen=9,
      letters="!'#$%'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'");

    normal_11_white = resources/fonts/normal_11_white.tga
     (type=font,
      trans_limit=0.05,
      x=0, y=0,
      subtract_width=0,
      spacelen=4,
      letters="!'#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz{|}~");

    normal_14_white = resources/fonts/normal_14_white.tga
     (type=font,
      trans_limit=0.05,
      x=0, y=0,
      subtract_width=-1,
      spacelen=6,
      letters="!'#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz{|}~");

    normal_22_gray = resources/fonts/normal_22_gray.tga
     (type=font,
      trans_limit=0.05,
      x=0, y=0,
      subtract_width=-1,
      spacelen=12,
      letters="!'#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz{|}~");

    normal_22_white = resources/fonts/normal_22_white.tga
     (type=font,
      trans_limit=0.05,
      x=0, y=0,
      subtract_width=-1,
      spacelen=12,
      letters="!'#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz{|}~");
  }


  // Menu:
  //
  section menu {
    bg = resources/menu/bg.tga (type=surface, x=0, y=0, width=320, height=240);
    cursorani = resources/menu/cursorani.tga (type=surface, x=0, y=0, width=40, height=30, array=10x1);
    bar = resources/menu/bar.tga (type=surface, x=0, y=0, width=360, height=6);
  }


  // Panel:
  //
  section panel {
    label = resources/panel/label.tga (type=surface, x=0, y=0, width=120, height=27);
    button = resources/panel/button.tga (type=surface, x=0, y=0, width=120, height=20);
    life = resources/panel/life.tga (type=surface, x=0, y=0, width=120, height=20);
    infoview = resources/panel/infoview.tga (type=surface, x=0, y=0, width=120, height=35);
    speed = resources/panel/speed.tga (type=surface, x=0, y=0, width=120, height=31, array=1x11);
    turbolabel = resources/panel/turbolabel.tga (type=surface, x=0, y=0, width=120, height=12);
    turbo = resources/panel/turbo.tga (type=surface, x=0, y=0, width=120, height=10, array=1x10);
    death = resources/panel/death.tga (type=surface, x=0, y=0, width=120, height=55);
  }

  // Cars:
  //
  section cars {

    dust = resources/cars/dust.tga (type=surface, x=0, y=0, width=64, height=64);
    
    section vw {
      length = 55 (type=integer);         // pixel
      width = 22 (type=integer);          // pixel
      maxSpeed = 45 (type=integer);       // mph
      minSpeed = -30 (type=integer);      // mph
      maxTurbo = 800 (type=integer);     // pixel
      acceleration = 25 (type=integer);   // miles per hour per second
      deceleration = 50 (type=integer);   // miles per hour per second
      steeringPower = 180 (type=integer); // degrees per second
      slidingFactor = 75 (type=integer);  // Sliding factor (80->0.8)
      name = "VW" (type=string);
      price = 1500 (type=integer);        // USD
      surface = resources/cars/vw/surface.tga (type=surface, x=0, y=0, width=64, height=64);
      surface3d = resources/cars/vw/surface3d.tga (type=surface, x=0, y=0, width=95, height=93);
    }

    section jeep {
      length = 60 (type=integer);         // pixel
      width = 28 (type=integer);          // pixel
      maxSpeed = 50 (type=integer);       // mph
      minSpeed = -30 (type=integer);      // mph
      maxTurbo = 1200 (type=integer);     // pixel
      acceleration = 30 (type=integer);   // miles per hour per second
      deceleration = 60 (type=integer);   // miles per hour per second
      steeringPower = 200 (type=integer); // degrees per second
      slidingFactor = 85 (type=integer);  // Sliding factor (80->0.8)
      name = "Ranger" (type=string);
      price = 3500 (type=integer);        // USD
      surface = resources/cars/jeep/surface.tga (type=surface, x=0, y=0, width=64, height=64);
      surface3d = resources/cars/vw/surface3d.tga (type=surface, x=0, y=0, width=95, height=93);
    }
    
    section z3 {
      length = 61 (type=integer);         // pixel
      width = 26 (type=integer);          // pixel
      maxSpeed = 55 (type=integer);       // mph
      minSpeed = -30 (type=integer);      // mph
      maxTurbo = 1600 (type=integer);     // pixel
      acceleration = 30 (type=integer);   // miles per hour per second
      deceleration = 60 (type=integer);   // miles per hour per second
      steeringPower = 200 (type=integer); // degrees per second
      slidingFactor = 85 (type=integer);  // Sliding factor (80->0.8)
      name = "Z3" (type=string);
      price = 5500 (type=integer);        // USD
      surface = resources/cars/z3/surface.tga (type=surface, x=0, y=0, width=64, height=64);
      surface3d = resources/cars/vw/surface3d.tga (type=surface, x=0, y=0, width=95, height=93);
    }
  
    section flash2 {
      length = 60 (type=integer);         // pixel
      width = 25 (type=integer);          // pixel
      maxSpeed = 60 (type=integer);       // mph
      minSpeed = -30 (type=integer);      // mph
      maxTurbo = 2000 (type=integer);     // pixel
      acceleration = 50 (type=integer);   // miles per hour per second
      deceleration = 60 (type=integer);   // miles per hour per second
      steeringPower = 200 (type=integer); // degrees per second
      slidingFactor = 90 (type=integer);  // Sliding factor (80->0.8)
      name = "Flash" (type=string);
      price = 15000 (type=integer);        // USD
      surface = resources/cars/flash2/surface.tga (type=surface, x=0, y=0, width=64, height=64);
      surface3d = resources/cars/vw/surface3d.tga (type=surface, x=0, y=0, width=95, height=93);
    }
  }


  // Bullets:
  //
  section bullets {
    section rocket {
      name = "Rockets" (type=string);
      length = 32 (type=integer);
      width = 4 (type=integer);
      price = 500 (type=integer);
      surface = resources/bullets/rocket/surface.tga (type=surface, x=0, y=0, width=32, height=32);
      surface3d = resources/bullets/rocket/surface3d.tga (type=surface, x=0, y=0, width=32, height=32);
    }
  }


  // Goodies:
  //
  section goody {
    turbo = resources/goody/turbo.tga (type=surface, x=0, y=0, width=32, height=32);
    life = resources/goody/life.tga (type=surface, x=0, y=0, width=32, height=32);
    money = resources/goody/money.tga (type=surface, x=0, y=0, width=32, height=32);
    bullets = resources/goody/bullets.tga (type=surface, x=0, y=0, width=32, height=32);
    fogbomb = resources/goody/fogbomb.tga (type=surface, x=0, y=0, width=32, height=32);
  }


  // Misc:
  //
  section misc {
    cross = resources/misc/cross.tga (type=surface, x=0, y=0, width=16, height=16);
    light = resources/misc/light.tga (type=surface, x=0, y=0, width=150, height=100, array=4x1);
    hitpoint = resources/misc/hitpoint.tga (type=surface, x=0, y=0, width=10, height=10, array=5x1);
    gunfire = resources/misc/gunfire.tga (type=surface, x=0, y=0, width=12, height=12, array=72x1);
    carfire = resources/misc/carfire.tga (type=surface, x=0, y=0, width=46, height=45, array=8x1);
    checkflag = resources/misc/checkflag.tga (type=surface, x=0, y=0, width=150, height=112, array=10x1);
    fog = resources/misc/fog.tga (type=surface, x=0, y=0, width=128, height=128, array=13x1);
    dust = resources/misc/dust.tga (type=surface, x=0, y=0, width=32, height=32, array=3x1);
    picture = resources/misc/picture.tga (type=surface, x=0, y=0, width=102, height=128);
    info = resources/misc/info.tga (type=surface, x=0, y=0, width=48, height=48);
    caution = resources/misc/caution.tga (type=surface, x=0, y=0, width=48, height=48);
  }


  // GUI elements:
  //
  section gui {
    loading = resources/gui/loading.tga (type=surface, x=0, y=0, width=320, height=160);
    progressbar = resources/gui/progressbar.tga (type=surface, x=0, y=0, width=6, height=26);

    edge1 = resources/gui/edge1.tga (type=surface, x=0, y=0, width=16, height=16);
    edge2 = resources/gui/edge2.tga (type=surface, x=0, y=0, width=16, height=16);
    edge3 = resources/gui/edge3.tga (type=surface, x=0, y=0, width=16, height=16);
    edge4 = resources/gui/edge4.tga (type=surface, x=0, y=0, width=16, height=16);

    border1 = resources/gui/border1.tga (type=surface, x=0, y=0, width=16, height=6);
    border2 = resources/gui/border2.tga (type=surface, x=0, y=0, width=6, height=16);
    border3 = resources/gui/border3.tga (type=surface, x=0, y=0, width=16, height=6);
    border4 = resources/gui/border4.tga (type=surface, x=0, y=0, width=6, height=16);

    button = resources/gui/button.tga (type=surface, x=0, y=0, width=64, height=20);

    arrow_l = resources/gui/arrow_l.tga (type=surface, x=0, y=0, width=16, height=16);
    arrow_r = resources/gui/arrow_r.tga (type=surface, x=0, y=0, width=16, height=16);
    arrow_t = resources/gui/arrow_t.tga (type=surface, x=0, y=0, width=16, height=16);
    arrow_b = resources/gui/arrow_b.tga (type=surface, x=0, y=0, width=16, height=16);
  }


  // Sounds:
  //
  section sounds {
    horn = resources/sounds/carhorn.wav (type=sample);
    menu = resources/sounds/menu.wav (type=sample);
    selector = resources/sounds/selector.wav (type=sample);
    slide = resources/sounds/slide.wav (type=sample);
    crash = resources/sounds/crash.wav (type=sample);
    engine = resources/sounds/engine.wav (type=sample);
    light = resources/sounds/light.wav (type=sample);
    goody_money = resources/sounds/goody_money.wav (type=sample);
    goody_bullets = resources/sounds/goody_bullets.wav (type=sample);
    goody_turbo = resources/sounds/goody_turbo.wav (type=sample);
    goody_fogbomb = resources/sounds/goody_fogbomb.wav (type=sample);
    goody_life = resources/sounds/goody_life.wav (type=sample);
    shoot = resources/sounds/shoot.wav (type=sample);
    fogbomb = resources/sounds/fogbomb.wav (type=sample);
    fire = resources/sounds/fire.wav (type=sample);
    
    background01 = resources/sounds/background01.wav (type=sample);
  }

}

// EOF
