gosu 0.7.14-x86-mswin32-60 → 0.7.15-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/COPYING.txt +1 -2
  2. data/lib/gosu.for_1_8.so +0 -0
  3. data/lib/gosu.for_1_9.so +0 -0
  4. data/reference/rdoc/classes/Gosu.html +16 -29
  5. data/reference/rdoc/classes/Gosu.src/M000003.html +0 -0
  6. data/reference/rdoc/classes/Gosu.src/M000004.html +0 -0
  7. data/reference/rdoc/classes/Gosu.src/M000005.html +0 -0
  8. data/reference/rdoc/classes/Gosu.src/M000006.html +0 -0
  9. data/reference/rdoc/classes/Gosu.src/M000007.html +0 -0
  10. data/reference/rdoc/classes/Gosu.src/M000008.html +0 -0
  11. data/reference/rdoc/classes/Gosu.src/M000009.html +0 -0
  12. data/reference/rdoc/classes/Gosu.src/M000010.html +0 -0
  13. data/reference/rdoc/classes/Gosu.src/M000011.html +0 -0
  14. data/reference/rdoc/classes/Gosu.src/M000012.html +0 -0
  15. data/reference/rdoc/classes/Gosu/Color.html +16 -17
  16. data/reference/rdoc/classes/Gosu/Color.src/M000016.html +0 -0
  17. data/reference/rdoc/classes/Gosu/Color.src/M000017.html +0 -0
  18. data/reference/rdoc/classes/Gosu/Color.src/M000018.html +0 -0
  19. data/reference/rdoc/classes/Gosu/Color.src/M000019.html +0 -0
  20. data/reference/rdoc/classes/Gosu/Font.html +16 -19
  21. data/reference/rdoc/classes/Gosu/Font.src/M000029.html +0 -0
  22. data/reference/rdoc/classes/Gosu/Font.src/M000030.html +0 -0
  23. data/reference/rdoc/classes/Gosu/Font.src/M000031.html +0 -0
  24. data/reference/rdoc/classes/Gosu/Font.src/M000032.html +0 -0
  25. data/reference/rdoc/classes/Gosu/Font.src/M000033.html +0 -0
  26. data/reference/rdoc/classes/Gosu/GLTexInfo.html +24 -16
  27. data/reference/rdoc/classes/Gosu/Image.html +16 -27
  28. data/reference/rdoc/classes/Gosu/Image.src/M000020.html +0 -0
  29. data/reference/rdoc/classes/Gosu/Image.src/M000021.html +0 -0
  30. data/reference/rdoc/classes/Gosu/Image.src/M000022.html +0 -0
  31. data/reference/rdoc/classes/Gosu/Image.src/M000023.html +0 -0
  32. data/reference/rdoc/classes/Gosu/Image.src/M000024.html +0 -0
  33. data/reference/rdoc/classes/Gosu/Image.src/M000025.html +0 -0
  34. data/reference/rdoc/classes/Gosu/Image.src/M000026.html +0 -0
  35. data/reference/rdoc/classes/Gosu/Image.src/M000027.html +0 -0
  36. data/reference/rdoc/classes/Gosu/Image.src/M000028.html +0 -0
  37. data/reference/rdoc/classes/Gosu/Sample.html +16 -15
  38. data/reference/rdoc/classes/Gosu/Sample.src/M000013.html +0 -0
  39. data/reference/rdoc/classes/Gosu/Sample.src/M000014.html +0 -0
  40. data/reference/rdoc/classes/Gosu/Sample.src/M000015.html +0 -0
  41. data/reference/rdoc/classes/Gosu/SampleInstance.html +16 -19
  42. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000051.html +0 -0
  43. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000052.html +0 -0
  44. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000053.html +0 -0
  45. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000054.html +0 -0
  46. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000055.html +0 -0
  47. data/reference/rdoc/classes/Gosu/Song.html +16 -23
  48. data/reference/rdoc/classes/Gosu/Song.src/M000056.html +0 -0
  49. data/reference/rdoc/classes/Gosu/Song.src/M000057.html +0 -0
  50. data/reference/rdoc/classes/Gosu/Song.src/M000058.html +0 -0
  51. data/reference/rdoc/classes/Gosu/Song.src/M000059.html +0 -0
  52. data/reference/rdoc/classes/Gosu/Song.src/M000060.html +0 -0
  53. data/reference/rdoc/classes/Gosu/Song.src/M000061.html +0 -0
  54. data/reference/rdoc/classes/Gosu/Song.src/M000062.html +0 -0
  55. data/reference/rdoc/classes/Gosu/TextInput.html +16 -9
  56. data/reference/rdoc/classes/Gosu/Window.html +16 -51
  57. data/reference/rdoc/classes/Gosu/Window.src/M000034.html +0 -0
  58. data/reference/rdoc/classes/Gosu/Window.src/M000035.html +0 -0
  59. data/reference/rdoc/classes/Gosu/Window.src/M000036.html +0 -0
  60. data/reference/rdoc/classes/Gosu/Window.src/M000037.html +0 -0
  61. data/reference/rdoc/classes/Gosu/Window.src/M000038.html +0 -0
  62. data/reference/rdoc/classes/Gosu/Window.src/M000039.html +0 -0
  63. data/reference/rdoc/classes/Gosu/Window.src/M000040.html +0 -0
  64. data/reference/rdoc/classes/Gosu/Window.src/M000041.html +0 -0
  65. data/reference/rdoc/classes/Gosu/Window.src/M000042.html +0 -0
  66. data/reference/rdoc/classes/Gosu/Window.src/M000043.html +0 -0
  67. data/reference/rdoc/classes/Gosu/Window.src/M000044.html +0 -0
  68. data/reference/rdoc/classes/Gosu/Window.src/M000045.html +0 -0
  69. data/reference/rdoc/classes/Gosu/Window.src/M000046.html +0 -0
  70. data/reference/rdoc/classes/Gosu/Window.src/M000047.html +0 -0
  71. data/reference/rdoc/classes/Gosu/Window.src/M000048.html +0 -0
  72. data/reference/rdoc/classes/Gosu/Window.src/M000049.html +0 -0
  73. data/reference/rdoc/classes/Gosu/Window.src/M000050.html +0 -0
  74. data/reference/rdoc/classes/Numeric.html +16 -13
  75. data/reference/rdoc/classes/Numeric.src/M000001.html +0 -0
  76. data/reference/rdoc/classes/Numeric.src/M000002.html +0 -0
  77. data/reference/rdoc/created.rid +1 -1
  78. data/reference/rdoc/files/COPYING_txt.html +17 -12
  79. data/reference/rdoc/files/README_txt.html +16 -10
  80. data/reference/rdoc/files/reference/{DeploymentOnOSX_rdoc.html → Deployment on OS X_rdoc.html } +17 -11
  81. data/reference/rdoc/files/reference/{DeploymentOnWindows_rdoc.html → Deployment on Windows_rdoc.html } +17 -11
  82. data/reference/rdoc/files/reference/{DrawingWithColors_rdoc.html → Drawing with Colors_rdoc.html } +23 -17
  83. data/reference/rdoc/files/reference/{OrderOfCorners_rdoc.html → Order of Corners_rdoc.html } +18 -12
  84. data/reference/rdoc/files/reference/Tileability_rdoc.html +16 -10
  85. data/reference/rdoc/files/reference/{ZOrdering_rdoc.html → Z Ordering_rdoc.html } +18 -12
  86. data/reference/rdoc/files/reference/gosu_rb.html +16 -10
  87. data/reference/rdoc/fr_file_index.html +5 -5
  88. data/reference/rdoc/index.html +1 -1
  89. data/reference/rdoc/rdoc-style.css +4 -0
  90. metadata +71 -9
@@ -1,4 +1,4 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Image</title><link type="text/css" href="../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
1
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Image</title><link type="text/css" media="screen" rel="stylesheet" href="../.././rdoc-style.css"/><script type="text/javascript">
2
2
  // Allison template
3
3
  // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
4
 
@@ -232,6 +232,17 @@ function linkTitle() {
232
232
  }
233
233
 
234
234
  function abbreviate(s, size) {
235
+ // Try to get rid of path and extension in any case. These are not
236
+ // even interesting if there is enough space.
237
+
238
+ s = s.replace(/\..*$/, '');
239
+ s = s.replace(/.*\//g, '');
240
+
241
+ // Now this is a blatant hack.
242
+
243
+ if (s == 'gosu')
244
+ return ''; // Noone will ever see the link, harhar!
245
+
235
246
  while (s.length > size) {
236
247
  var old_s = s;
237
248
  s = s.replace(/\s|\n/mg, '');
@@ -314,11 +325,9 @@ addEvent(window, 'load', abbreviateIndices, false);
314
325
  addEvent(window, 'load', stripe, false);
315
326
  addEvent(window, 'load', highlightSymbols, false);
316
327
  addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
328
+ </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><span><h1 id="title">
319
329
  Class: Gosu::Image
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
330
+ </h1></span></div><div class="clear"></div><div id="left">
322
331
  <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
332
 
324
333
  Object
@@ -397,9 +406,7 @@ new<br/>
397
406
 
398
407
 
399
408
  </div>
400
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
401
- <h1 id="item_name">Class: Gosu::Image</h1>
402
-
409
+ <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" id="class_link" href="#">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_class" onKeyUp="return filterList('class', this.value, event);"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" id="file_link" href="#">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_file" onKeyUp="return filterList('file', this.value, event);"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" id="method_link" href="#">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_method" onKeyUp="return filterList('method', this.value, event);"></input></form></div></div></div><div id="content">
403
410
  <div id="description"><p>
404
411
  Provides functionality for drawing rectangular images.
405
412
  </p>
@@ -483,8 +490,6 @@ long, it will be truncated.
483
490
  enum.
484
491
  </p>
485
492
 
486
- <p class="source_link" id="M000026-show-link"><a onclick="toggle('M000026-source'); toggleText('M000026-link'); return false;" href="#" id="M000026-link">Show source...</a></p><div class="source" id="M000026-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 233</span>
487
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">from_text</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">font_name</span>, <span class="ruby-identifier">font_height</span>, <span class="ruby-identifier">line_spacing</span>, <span class="ruby-identifier">max_width</span>, <span class="ruby-identifier">align</span>); <span class="ruby-keyword kw">end</span></pre></div>
488
493
  </div>
489
494
 
490
495
  <a class="small" name="M000025"><br/></a>
@@ -516,8 +521,6 @@ it by the target color.
516
521
  </td></tr>
517
522
  </table>
518
523
 
519
- <p class="source_link" id="M000025-show-link"><a onclick="toggle('M000025-source'); toggleText('M000025-link'); return false;" href="#" id="M000025-link">Show source...</a></p><div class="source" id="M000025-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 219</span>
520
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">from_text</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">font_name</span>, <span class="ruby-identifier">font_height</span>); <span class="ruby-keyword kw">end</span></pre></div>
521
524
  </div>
522
525
 
523
526
  <a class="small" name="M000027"><br/></a>
@@ -546,8 +549,6 @@ bitmap is divided into -tile_width rows.
546
549
  </td></tr>
547
550
  </table>
548
551
 
549
- <p class="source_link" id="M000027-show-link"><a onclick="toggle('M000027-source'); toggleText('M000027-link'); return false;" href="#" id="M000027-link">Show source...</a></p><div class="source" id="M000027-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 240</span>
550
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load_tiles</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">filename_or_rmagick_image</span>, <span class="ruby-identifier">tile_width</span>, <span class="ruby-identifier">tile_height</span>, <span class="ruby-identifier">tileable</span>); <span class="ruby-keyword kw">end</span></pre></div>
551
552
  </div>
552
553
 
553
554
  <a class="small" name="M000021"><br/></a>
@@ -576,8 +577,6 @@ every call of this constructor will open the image again, it is preferable
576
577
  to use <a href="Image.html#M000027">Image#load_tiles</a>.
577
578
  </p>
578
579
 
579
- <p class="source_link" id="M000021-show-link"><a onclick="toggle('M000021-source'); toggleText('M000021-link'); return false;" href="#" id="M000021-link">Show source...</a></p><div class="source" id="M000021-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 200</span>
580
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">filename_or_rmagick_image</span>, <span class="ruby-identifier">tileable</span>, <span class="ruby-identifier">src_x</span>, <span class="ruby-identifier">src_y</span>, <span class="ruby-identifier">src_width</span>, <span class="ruby-identifier">src_height</span>); <span class="ruby-keyword kw">end</span></pre></div>
581
580
  </div>
582
581
 
583
582
  <a class="small" name="M000020"><br/></a>
@@ -601,8 +600,6 @@ automatically applied to BMP type images. For more flexibility, use PNG
601
600
  files.
602
601
  </p>
603
602
 
604
- <p class="source_link" id="M000020-show-link"><a onclick="toggle('M000020-source'); toggleText('M000020-link'); return false;" href="#" id="M000020-link">Show source...</a></p><div class="source" id="M000020-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 188</span>
605
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">filename_or_rmagick_image</span>, <span class="ruby-identifier">tileable</span>); <span class="ruby-keyword kw">end</span></pre></div>
606
603
  </div>
607
604
 
608
605
 
@@ -624,8 +621,6 @@ draw
624
621
  Draws the image so its upper left corner is at (x; y).
625
622
  </p>
626
623
 
627
- <p class="source_link" id="M000022-show-link"><a onclick="toggle('M000022-source'); toggleText('M000022-link'); return false;" href="#" id="M000022-link">Show source...</a></p><div class="source" id="M000022-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 203</span>
628
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">draw</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">z</span>, <span class="ruby-identifier">factor_x</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">factor_y</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">color</span>=<span class="ruby-value">0xffffffff</span>, <span class="ruby-identifier">mode</span>=<span class="ruby-identifier">:default</span>); <span class="ruby-keyword kw">end</span></pre></div>
629
624
  </div>
630
625
 
631
626
  <a class="small" name="M000024"><br/></a>
@@ -647,8 +642,6 @@ color at each of them. The points can be in clockwise order, or in a Z
647
642
  shape, starting at the top left.
648
643
  </p>
649
644
 
650
- <p class="source_link" id="M000024-show-link"><a onclick="toggle('M000024-source'); toggleText('M000024-link'); return false;" href="#" id="M000024-link">Show source...</a></p><div class="source" id="M000024-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 211</span>
651
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">draw_as_quad</span>(<span class="ruby-identifier">x1</span>, <span class="ruby-identifier">y1</span>, <span class="ruby-identifier">c1</span>, <span class="ruby-identifier">x2</span>, <span class="ruby-identifier">y2</span>, <span class="ruby-identifier">c2</span>, <span class="ruby-identifier">x3</span>, <span class="ruby-identifier">y3</span>, <span class="ruby-identifier">c3</span>, <span class="ruby-identifier">x4</span>, <span class="ruby-identifier">y4</span>, <span class="ruby-identifier">c4</span>, <span class="ruby-identifier">z</span>, <span class="ruby-identifier">mode</span>=<span class="ruby-identifier">:default</span>); <span class="ruby-keyword kw">end</span></pre></div>
652
645
  </div>
653
646
 
654
647
  <a class="small" name="M000023"><br/></a>
@@ -672,8 +665,6 @@ left border, 1 is the right border, 0.5 is the center (and default)
672
665
  </td></tr>
673
666
  </table>
674
667
 
675
- <p class="source_link" id="M000023-show-link"><a onclick="toggle('M000023-source'); toggleText('M000023-link'); return false;" href="#" id="M000023-link">Show source...</a></p><div class="source" id="M000023-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 207</span>
676
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">draw_rot</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">z</span>, <span class="ruby-identifier">angle</span>, <span class="ruby-identifier">center_x</span>=<span class="ruby-value">0</span><span class="ruby-value">.5</span>, <span class="ruby-identifier">center_y</span>=<span class="ruby-value">0</span><span class="ruby-value">.5</span>, <span class="ruby-identifier">factor_x</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">factor_y</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">color</span>=<span class="ruby-value">0xffffffff</span>, <span class="ruby-identifier">mode</span>=<span class="ruby-identifier">:default</span>); <span class="ruby-keyword kw">end</span></pre></div>
677
668
  </div>
678
669
 
679
670
  <a class="small" name="M000028"><br/></a>
@@ -691,12 +682,10 @@ gl_tex_info
691
682
  See examples/OpenGLIntegration.rb.
692
683
  </p>
693
684
 
694
- <p class="source_link" id="M000028-show-link"><a onclick="toggle('M000028-source'); toggleText('M000028-link'); return false;" href="#" id="M000028-link">Show source...</a></p><div class="source" id="M000028-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 243</span>
695
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gl_tex_info</span>; <span class="ruby-keyword kw">end</span></pre></div>
696
685
  </div>
697
686
 
698
687
 
699
688
 
700
689
 
701
690
 
702
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>
691
+ </div><div class="clear" id="footer">Generated on Sep 13, 2009 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a><br/>slightly adapted for the Gosu project by Julian Raschke</div></div></body></html>
@@ -1,4 +1,4 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Sample</title><link type="text/css" href="../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
1
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Sample</title><link type="text/css" media="screen" rel="stylesheet" href="../.././rdoc-style.css"/><script type="text/javascript">
2
2
  // Allison template
3
3
  // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
4
 
@@ -232,6 +232,17 @@ function linkTitle() {
232
232
  }
233
233
 
234
234
  function abbreviate(s, size) {
235
+ // Try to get rid of path and extension in any case. These are not
236
+ // even interesting if there is enough space.
237
+
238
+ s = s.replace(/\..*$/, '');
239
+ s = s.replace(/.*\//g, '');
240
+
241
+ // Now this is a blatant hack.
242
+
243
+ if (s == 'gosu')
244
+ return ''; // Noone will ever see the link, harhar!
245
+
235
246
  while (s.length > size) {
236
247
  var old_s = s;
237
248
  s = s.replace(/\s|\n/mg, '');
@@ -314,11 +325,9 @@ addEvent(window, 'load', abbreviateIndices, false);
314
325
  addEvent(window, 'load', stripe, false);
315
326
  addEvent(window, 'load', highlightSymbols, false);
316
327
  addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
328
+ </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><span><h1 id="title">
319
329
  Class: Gosu::Sample
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
330
+ </h1></span></div><div class="clear"></div><div id="left">
322
331
  <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
332
 
324
333
  Object
@@ -355,9 +364,7 @@ play_pan<br/>
355
364
 
356
365
 
357
366
  </div>
358
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
359
- <h1 id="item_name">Class: Gosu::Sample</h1>
360
-
367
+ <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" id="class_link" href="#">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_class" onKeyUp="return filterList('class', this.value, event);"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" id="file_link" href="#">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_file" onKeyUp="return filterList('file', this.value, event);"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" id="method_link" href="#">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_method" onKeyUp="return filterList('method', this.value, event);"></input></form></div></div></div><div id="content">
361
368
  <div id="description"><p>
362
369
  A sample is a short sound that is completely loaded in memory, can be
363
370
  played multiple times at once and offers very flexible playback parameters.
@@ -390,8 +397,6 @@ new
390
397
  </a>
391
398
  </h3>
392
399
 
393
- <p class="source_link" id="M000013-show-link"><a onclick="toggle('M000013-source'); toggleText('M000013-link'); return false;" href="#" id="M000013-link">Show source...</a></p><div class="source" id="M000013-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 250</span>
394
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">filename</span>); <span class="ruby-keyword kw">end</span></pre></div>
395
400
  </div>
396
401
 
397
402
 
@@ -425,8 +430,6 @@ accept very high or low values. Use 1.0 for normal playback speed.
425
430
  </td></tr>
426
431
  </table>
427
432
 
428
- <p class="source_link" id="M000014-show-link"><a onclick="toggle('M000014-source'); toggleText('M000014-link'); return false;" href="#" id="M000014-link">Show source...</a></p><div class="source" id="M000014-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 257</span>
429
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">play</span>(<span class="ruby-identifier">vol</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">speed</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">looping</span>=<span class="ruby-keyword kw">false</span>); <span class="ruby-keyword kw">end</span></pre></div>
430
433
  </div>
431
434
 
432
435
  <a class="small" name="M000015"><br/></a>
@@ -458,12 +461,10 @@ accept very high or low values. Use 1.0 for normal playback speed.
458
461
  </td></tr>
459
462
  </table>
460
463
 
461
- <p class="source_link" id="M000015-show-link"><a onclick="toggle('M000015-source'); toggleText('M000015-link'); return false;" href="#" id="M000015-link">Show source...</a></p><div class="source" id="M000015-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 266</span>
462
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">play_pan</span>(<span class="ruby-identifier">pan</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">vol</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">speed</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">looping</span>=<span class="ruby-keyword kw">false</span>); <span class="ruby-keyword kw">end</span></pre></div>
463
464
  </div>
464
465
 
465
466
 
466
467
 
467
468
 
468
469
 
469
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>
470
+ </div><div class="clear" id="footer">Generated on Sep 13, 2009 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a><br/>slightly adapted for the Gosu project by Julian Raschke</div></div></body></html>
@@ -1,4 +1,4 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::SampleInstance</title><link type="text/css" href="../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
1
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::SampleInstance</title><link type="text/css" media="screen" rel="stylesheet" href="../.././rdoc-style.css"/><script type="text/javascript">
2
2
  // Allison template
3
3
  // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
4
 
@@ -232,6 +232,17 @@ function linkTitle() {
232
232
  }
233
233
 
234
234
  function abbreviate(s, size) {
235
+ // Try to get rid of path and extension in any case. These are not
236
+ // even interesting if there is enough space.
237
+
238
+ s = s.replace(/\..*$/, '');
239
+ s = s.replace(/.*\//g, '');
240
+
241
+ // Now this is a blatant hack.
242
+
243
+ if (s == 'gosu')
244
+ return ''; // Noone will ever see the link, harhar!
245
+
235
246
  while (s.length > size) {
236
247
  var old_s = s;
237
248
  s = s.replace(/\s|\n/mg, '');
@@ -314,11 +325,9 @@ addEvent(window, 'load', abbreviateIndices, false);
314
325
  addEvent(window, 'load', stripe, false);
315
326
  addEvent(window, 'load', highlightSymbols, false);
316
327
  addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
328
+ </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><span><h1 id="title">
319
329
  Class: Gosu::SampleInstance
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
330
+ </h1></span></div><div class="clear"></div><div id="left">
322
331
  <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
332
 
324
333
  Object
@@ -369,9 +378,7 @@ stop<br/>
369
378
 
370
379
 
371
380
  </div>
372
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
373
- <h1 id="item_name">Class: Gosu::SampleInstance</h1>
374
-
381
+ <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" id="class_link" href="#">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_class" onKeyUp="return filterList('class', this.value, event);"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" id="file_link" href="#">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_file" onKeyUp="return filterList('file', this.value, event);"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" id="method_link" href="#">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_method" onKeyUp="return filterList('method', this.value, event);"></input></form></div></div></div><div id="content">
375
382
  <div id="description"><p>
376
383
  An instance of a <a href="Sample.html">Sample</a> playing. Can be used to
377
384
  <a href="SampleInstance.html#M000051">stop</a> sounds dynamically, or to
@@ -436,8 +443,6 @@ Pauses this instance to be resumed afterwards. It will still keep a channel
436
443
  filled while paused.
437
444
  </p>
438
445
 
439
- <p class="source_link" id="M000052-show-link"><a onclick="toggle('M000052-source'); toggleText('M000052-link'); return false;" href="#" id="M000052-link">Show source...</a></p><div class="source" id="M000052-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 282</span>
440
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pause</span>; <span class="ruby-keyword kw">end</span></pre></div>
441
446
  </div>
442
447
 
443
448
  <a class="small" name="M000053"><br/></a>
@@ -452,8 +457,6 @@ paused?
452
457
  </a>
453
458
  </h3>
454
459
 
455
- <p class="source_link" id="M000053-show-link"><a onclick="toggle('M000053-source'); toggleText('M000053-link'); return false;" href="#" id="M000053-link">Show source...</a></p><div class="source" id="M000053-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 283</span>
456
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">paused?</span>; <span class="ruby-keyword kw">end</span></pre></div>
457
460
  </div>
458
461
 
459
462
  <a class="small" name="M000055"><br/></a>
@@ -468,8 +471,6 @@ playing?
468
471
  </a>
469
472
  </h3>
470
473
 
471
- <p class="source_link" id="M000055-show-link"><a onclick="toggle('M000055-source'); toggleText('M000055-link'); return false;" href="#" id="M000055-link">Show source...</a></p><div class="source" id="M000055-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 285</span>
472
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">playing?</span>; <span class="ruby-keyword kw">end</span></pre></div>
473
474
  </div>
474
475
 
475
476
  <a class="small" name="M000054"><br/></a>
@@ -484,8 +485,6 @@ resume
484
485
  </a>
485
486
  </h3>
486
487
 
487
- <p class="source_link" id="M000054-show-link"><a onclick="toggle('M000054-source'); toggleText('M000054-link'); return false;" href="#" id="M000054-link">Show source...</a></p><div class="source" id="M000054-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 284</span>
488
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resume</span>; <span class="ruby-keyword kw">end</span></pre></div>
489
488
  </div>
490
489
 
491
490
  <a class="small" name="M000051"><br/></a>
@@ -505,12 +504,10 @@ late, does not do any harm. You can nil out the reference to the instance
505
504
  afterwards as it will be useless.
506
505
  </p>
507
506
 
508
- <p class="source_link" id="M000051-show-link"><a onclick="toggle('M000051-source'); toggleText('M000051-link'); return false;" href="#" id="M000051-link">Show source...</a></p><div class="source" id="M000051-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 280</span>
509
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>; <span class="ruby-keyword kw">end</span></pre></div>
510
507
  </div>
511
508
 
512
509
 
513
510
 
514
511
 
515
512
 
516
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>
513
+ </div><div class="clear" id="footer">Generated on Sep 13, 2009 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a><br/>slightly adapted for the Gosu project by Julian Raschke</div></div></body></html>
@@ -1,4 +1,4 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Song</title><link type="text/css" href="../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
1
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Gosu::Song</title><link type="text/css" media="screen" rel="stylesheet" href="../.././rdoc-style.css"/><script type="text/javascript">
2
2
  // Allison template
3
3
  // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
4
 
@@ -232,6 +232,17 @@ function linkTitle() {
232
232
  }
233
233
 
234
234
  function abbreviate(s, size) {
235
+ // Try to get rid of path and extension in any case. These are not
236
+ // even interesting if there is enough space.
237
+
238
+ s = s.replace(/\..*$/, '');
239
+ s = s.replace(/.*\//g, '');
240
+
241
+ // Now this is a blatant hack.
242
+
243
+ if (s == 'gosu')
244
+ return ''; // Noone will ever see the link, harhar!
245
+
235
246
  while (s.length > size) {
236
247
  var old_s = s;
237
248
  s = s.replace(/\s|\n/mg, '');
@@ -314,11 +325,9 @@ addEvent(window, 'load', abbreviateIndices, false);
314
325
  addEvent(window, 'load', stripe, false);
315
326
  addEvent(window, 'load', highlightSymbols, false);
316
327
  addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
328
+ </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><span><h1 id="title">
319
329
  Class: Gosu::Song
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
330
+ </h1></span></div><div class="clear"></div><div id="left">
322
331
  <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
332
 
324
333
  Object
@@ -383,9 +392,7 @@ stop<br/>
383
392
 
384
393
 
385
394
  </div>
386
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
387
- <h1 id="item_name">Class: Gosu::Song</h1>
388
-
395
+ <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" id="class_link" href="#">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_class" onKeyUp="return filterList('class', this.value, event);"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" id="file_link" href="#">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_file" onKeyUp="return filterList('file', this.value, event);"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" id="method_link" href="#">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyPress="return disableSubmit(event);" id="filter_method" onKeyUp="return filterList('method', this.value, event);"></input></form></div></div></div><div id="content">
389
396
  <div id="description"><p>
390
397
  Songs are less flexible than samples in that they can only be played one at
391
398
  a time and without panning or speed parameters.
@@ -431,8 +438,6 @@ Returns the song currently being played or paused, or nil if no song has
431
438
  been played yet or the last song has finished playing.
432
439
  </p>
433
440
 
434
- <p class="source_link" id="M000056-show-link"><a onclick="toggle('M000056-source'); toggleText('M000056-link'); return false;" href="#" id="M000056-link">Show source...</a></p><div class="source" id="M000056-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 294</span>
435
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">current_song</span>; <span class="ruby-keyword kw">end</span></pre></div>
436
441
  </div>
437
442
 
438
443
  <a class="small" name="M000057"><br/></a>
@@ -447,8 +452,6 @@ new
447
452
  </a>
448
453
  </h3>
449
454
 
450
- <p class="source_link" id="M000057-show-link"><a onclick="toggle('M000057-source'); toggleText('M000057-link'); return false;" href="#" id="M000057-link">Show source...</a></p><div class="source" id="M000057-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 298</span>
451
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">window</span>, <span class="ruby-identifier">filename</span>); <span class="ruby-keyword kw">end</span></pre></div>
452
455
  </div>
453
456
 
454
457
 
@@ -471,8 +474,6 @@ Pauses playback of the song. It is not considered being played. <a
471
474
  href="Song.html#M000056">current_song</a> will stay the same.
472
475
  </p>
473
476
 
474
- <p class="source_link" id="M000059-show-link"><a onclick="toggle('M000059-source'); toggleText('M000059-link'); return false;" href="#" id="M000059-link">Show source...</a></p><div class="source" id="M000059-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 306</span>
475
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pause</span>; <span class="ruby-keyword kw">end</span></pre></div>
476
477
  </div>
477
478
 
478
479
  <a class="small" name="M000060"><br/></a>
@@ -490,8 +491,6 @@ paused?
490
491
  Returns true if the song is the current song, but in paused mode.
491
492
  </p>
492
493
 
493
- <p class="source_link" id="M000060-show-link"><a onclick="toggle('M000060-source'); toggleText('M000060-link'); return false;" href="#" id="M000060-link">Show source...</a></p><div class="source" id="M000060-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 310</span>
494
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">paused?</span>; <span class="ruby-keyword kw">end</span></pre></div>
495
494
  </div>
496
495
 
497
496
  <a class="small" name="M000058"><br/></a>
@@ -511,8 +510,6 @@ href="Song.html#M000061">stop</a> all other songs and set the current song
511
510
  to this object.
512
511
  </p>
513
512
 
514
- <p class="source_link" id="M000058-show-link"><a onclick="toggle('M000058-source'); toggleText('M000058-link'); return false;" href="#" id="M000058-link">Show source...</a></p><div class="source" id="M000058-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 302</span>
515
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">play</span>(<span class="ruby-identifier">looping</span> = <span class="ruby-keyword kw">false</span>); <span class="ruby-keyword kw">end</span></pre></div>
516
513
  </div>
517
514
 
518
515
  <a class="small" name="M000062"><br/></a>
@@ -530,8 +527,6 @@ playing?
530
527
  Returns true if the song is currently playing.
531
528
  </p>
532
529
 
533
- <p class="source_link" id="M000062-show-link"><a onclick="toggle('M000062-source'); toggleText('M000062-link'); return false;" href="#" id="M000062-link">Show source...</a></p><div class="source" id="M000062-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 317</span>
534
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">playing?</span>; <span class="ruby-keyword kw">end</span></pre></div>
535
530
  </div>
536
531
 
537
532
  <a class="small" name="M000061"><br/></a>
@@ -550,12 +545,10 @@ Stops playback of this song if it is currently played or paused.
550
545
  Afterwards, <a href="Song.html#M000056">current_song</a> will return 0.
551
546
  </p>
552
547
 
553
- <p class="source_link" id="M000061-show-link"><a onclick="toggle('M000061-source'); toggleText('M000061-link'); return false;" href="#" id="M000061-link">Show source...</a></p><div class="source" id="M000061-source"><pre><span class="ruby-comment cmt"># File reference/gosu.rb, line 314</span>
554
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>; <span class="ruby-keyword kw">end</span></pre></div>
555
548
  </div>
556
549
 
557
550
 
558
551
 
559
552
 
560
553
 
561
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>
554
+ </div><div class="clear" id="footer">Generated on Sep 13, 2009 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a><br/>slightly adapted for the Gosu project by Julian Raschke</div></div></body></html>