/***************************************************************\
| |\  /|                                                We Put  |
| | >< Hypercosm        hc_sketchup_resources.js        3d      |
| |/  \|                                                To Work |
|***************************************************************|
|                                                               |
|        This file defines the runtime resources (textures      |
|        and sounds) that are used by SketchUp applets.         |
|                                                               |
|***************************************************************|
|                Copyright (c) 2007 Hypercosm, LLC.             |
\***************************************************************/


function getSketchUpIconResources(resourcePath) {
  return [
    'about_icon.gif, ' + resourcePath + '/textures/about_icon.gif',
    'back_arrow_icon.gif, ' + resourcePath + '/textures/back_arrow_icon.gif',
    'blue_dial_icon.gif, ' + resourcePath + '/textures/blue_dial_icon.gif',
    'camera_icon.gif, ' + resourcePath + '/textures/camera_icon.gif',
    'cartoon_icon.gif, ' + resourcePath + '/textures/cartoon_icon.gif',
    'color_wheel_icon.gif, ' + resourcePath + '/textures/color_wheel_icon.gif',
    'dial_arrow.gif, ' + resourcePath + '/textures/dial_arrow.gif',
    'dial_icon.gif, ' + resourcePath + '/textures/dial_icon.gif',
    'dial_labels.gif, ' + resourcePath + '/textures/dial_labels.gif',
    'dock_texture.png, ' + resourcePath + '/textures/dock_texture.png',
    'edges_icon.gif, ' + resourcePath + '/textures/edges_icon.gif',
    'flat_icon.gif, ' + resourcePath + '/textures/flat_icon.gif',
    'gauge_icon.gif, ' + resourcePath + '/textures/gauge_icon.gif',
    'graphics_icon.gif, ' + resourcePath + '/textures/graphics_icon.gif',
    'green_dial_icon.gif, ' + resourcePath + '/textures/green_dial_icon.gif',
    'help_icon.gif, ' + resourcePath + '/textures/help_icon.gif',
    'hide_icon.gif, ' + resourcePath + '/textures/hide_icon.gif',
    'lighting_icon.gif, ' + resourcePath + '/textures/lighting_icon.gif',
    'mouse_icon.gif, ' + resourcePath + '/textures/mouse_icon.gif',
    'object_icon.gif, ' + resourcePath + '/textures/object_icon.gif',
    'one_button_icon.gif, ' + resourcePath + '/textures/one_button_icon.gif',
    'outline_icon.gif, ' + resourcePath + '/textures/outline_icon.gif',
    'pan_icon.gif, ' + resourcePath + '/textures/pan_icon.gif',
    'red_dial_icon.gif, ' + resourcePath + '/textures/red_dial_icon.gif',
    'render_modes_icon.gif, ' + resourcePath + '/textures/render_modes_icon.gif',
    'rotate_icon.gif, ' + resourcePath + '/textures/rotate_icon.gif',
    'scene_icon.gif, ' + resourcePath + '/textures/scene_icon.gif',
    'shadow_icon.gif, ' + resourcePath + '/textures/shadow_icon.gif',
    'smooth_icon.gif, ' + resourcePath + '/textures/smooth_icon.gif',
    'spin_icon.gif, ' + resourcePath + '/textures/spin_icon.gif',
    'two_button_icon.gif, ' + resourcePath + '/textures/two_button_icon.gif',
    'upright_icon.gif, ' + resourcePath + '/textures/upright_icon.gif',
    'two_button_icon.gif, ' + resourcePath + '/textures/two_button_icon.gif',
    'wireframe_icon.gif, ' + resourcePath + '/textures/wireframe_icon.gif',
    'x_ray_icon.gif, ' + resourcePath + '/textures/x_ray_icon.gif',
    'monochrome_icon.gif, ' + resourcePath + '/textures/monochrome_icon.gif',
    'monochrome_hidden_line_icon.gif, ' + resourcePath + '/textures/monochrome_hidden_line_icon.gif',
    'monochrome_edges_icon.gif, ' + resourcePath + '/textures/monochrome_edges_icon.gif',
    'zoom_icon.gif, ' + resourcePath + '/textures/zoom_icon.gif'
  ];
}    // getSketchUpIconResources


function getSketchUpSoundResources(resourcePath) {
  return [
    'deselect.wav, ' + resourcePath + '/sounds/deselect.wav',
    'hide.wav, ' + resourcePath + '/sounds/hide.wav',
    'select.wav, ' + resourcePath + '/sounds/select.wav',
    'show.wav, ' + resourcePath + '/sounds/show.wav'
  ];
}    // getSketchUpSoundResources


function getSketchUpTransparencyResources(resourcePath) {
  return [
    'transparent0.png, ' + resourcePath + '/transparency/transparent0.png',
    'transparent10.png, ' + resourcePath + '/transparency/transparent10.png',
    'transparent20.png, ' + resourcePath + '/transparency/transparent20.png',
    'transparent30.png, ' + resourcePath + '/transparency/transparent30.png',
    'transparent40.png, ' + resourcePath + '/transparency/transparent40.png',
    'transparent50.png, ' + resourcePath + '/transparency/transparent50.png',
    'transparent60.png, ' + resourcePath + '/transparency/transparent60.png',
    'transparent70.png, ' + resourcePath + '/transparency/transparent70.png',
    'transparent80.png, ' + resourcePath + '/transparency/transparent80.png',
    'transparent90.png, ' + resourcePath + '/transparency/transparent90.png',
    'transparent100.png, ' + resourcePath + '/transparency/transparent100.png'
  ];
}    // getSketchUpTransparencyResources


function getSketchUpCursorResources(resourcePath) {
  return [
    'orbit_cursor.png, ' + resourcePath + '/cursors/orbit_cursor.png',
    'pan_cursor.png, ' + resourcePath + '/cursors/pan_cursor.png',
    'zoom_cursor.png, ' + resourcePath + '/cursors/zoom_cursor.png', 
    'zoom_window_cursor.png, ' + resourcePath + '/cursors/zoom_window_cursor.png', 
    'position_camera_cursor.png, ' + resourcePath + '/cursors/position_camera_cursor.png',
    'walk_cursor.png, ' + resourcePath + '/cursors/walk_cursor.png',
    'look_around_cursor.png, ' + resourcePath + '/cursors/look_around_cursor.png',
    'tape_measure_cursor.png, ' + resourcePath + '/cursors/tape_measure_cursor.png',
    'add_marker_cursor.png, ' + resourcePath + '/cursors/add_marker_cursor.png',
    'eraser_cursor.png, ' + resourcePath + '/cursors/eraser_cursor.png'
  ];
}    // getSketchUpCursorResources


function getSketchUpOverlayResources(resourcePath) {
  return [
    'marker.png, ' + resourcePath + '/overlays/marker.png',
    'markerA.png, ' + resourcePath + '/overlays/markerA.png',
    'markerB.png, ' + resourcePath + '/overlays/markerB.png',
    'markerC.png, ' + resourcePath + '/overlays/markerC.png',
    'markerD.png, ' + resourcePath + '/overlays/markerD.png',
    'markerE.png, ' + resourcePath + '/overlays/markerE.png',
    'markerF.png, ' + resourcePath + '/overlays/markerF.png',
    'markerG.png, ' + resourcePath + '/overlays/markerG.png',
    'markerH.png, ' + resourcePath + '/overlays/markerH.png',
    'markerI.png, ' + resourcePath + '/overlays/markerI.png',
    'markerJ.png, ' + resourcePath + '/overlays/markerJ.png',
    'markerK.png, ' + resourcePath + '/overlays/markerK.png',
    'markerL.png, ' + resourcePath + '/overlays/markerL.png',
    'markerM.png, ' + resourcePath + '/overlays/markerM.png',
    'markerN.png, ' + resourcePath + '/overlays/markerN.png',
    'markerO.png, ' + resourcePath + '/overlays/markerO.png',
    'markerP.png, ' + resourcePath + '/overlays/markerP.png',
    'markerQ.png, ' + resourcePath + '/overlays/markerQ.png',
    'markerR.png, ' + resourcePath + '/overlays/markerR.png',
    'markerS.png, ' + resourcePath + '/overlays/markerS.png',
    'markerT.png, ' + resourcePath + '/overlays/markerT.png',
    'markerU.png, ' + resourcePath + '/overlays/markerU.png',
    'markerV.png, ' + resourcePath + '/overlays/markerV.png',
    'markerW.png, ' + resourcePath + '/overlays/markerW.png',
    'markerX.png, ' + resourcePath + '/overlays/markerX.png',
    'markerY.png, ' + resourcePath + '/overlays/markerY.png',
    'markerZ.png, ' + resourcePath + '/overlays/markerZ.png'
  ];
}    // getSketchUpOverlayResources


function getSketchUpDockBarInterfaceResources(resourcePath) {
  var iconResources = getSketchUpIconResources(resourcePath);
  var soundResources = getSketchUpSoundResources(resourcePath);
  var transparencyResources = getSketchUpTransparencyResources(resourcePath);
  var overlayResources = getSketchUpOverlayResources(resourcePath);
  return concat(iconResources.concat(soundResources, transparencyResources), overlayResources);    
}    // getSketchUpDockBarInterfaceResources