gosu 0.7.11 → 0.7.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/Gosu/Audio.hpp +33 -16
  2. data/Gosu/GraphicsBase.hpp +6 -1
  3. data/Gosu/Input.hpp +8 -2
  4. data/Gosu/Platform.hpp +63 -61
  5. data/Gosu/Window.hpp +11 -0
  6. data/GosuImpl/AudioFmod.cpp +89 -16
  7. data/GosuImpl/AudioSDL.cpp +59 -19
  8. data/GosuImpl/Graphics/BitmapUtils.cpp +3 -0
  9. data/GosuImpl/Graphics/Common.hpp +8 -3
  10. data/GosuImpl/Graphics/DrawOp.hpp +70 -7
  11. data/GosuImpl/Graphics/Graphics.cpp +34 -2
  12. data/GosuImpl/Graphics/TexChunk.cpp +7 -1
  13. data/GosuImpl/Graphics/Texture.cpp +31 -9
  14. data/GosuImpl/Iconv.hpp +3 -0
  15. data/GosuImpl/InputMac.mm +31 -10
  16. data/GosuImpl/InputWin.cpp +8 -0
  17. data/GosuImpl/InputX.cpp +64 -45
  18. data/GosuImpl/Math.cpp +1 -1
  19. data/GosuImpl/RubyGosu.swg +27 -7
  20. data/GosuImpl/RubyGosu_wrap.cxx +338 -205
  21. data/GosuImpl/Utility.cpp +1 -0
  22. data/GosuImpl/WindowMac.mm +29 -3
  23. data/GosuImpl/WindowWin.cpp +16 -5
  24. data/GosuImpl/WindowX.cpp +3 -3
  25. data/README.txt +7 -3
  26. data/Rakefile +2 -1
  27. data/mac/Gosu.icns +0 -0
  28. data/mac/Gosu.xcodeproj/jlnr.mode1v3 +74 -75
  29. data/mac/Gosu.xcodeproj/jlnr.pbxuser +731 -257
  30. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +1531 -0
  31. data/reference/Async_8hpp-source.html +1 -1
  32. data/reference/Audio_8hpp-source.html +68 -58
  33. data/reference/Audio_8hpp.html +1 -1
  34. data/reference/AutoLink_8hpp-source.html +1 -1
  35. data/reference/AutoLink_8hpp.html +1 -1
  36. data/reference/Bitmap_8hpp-source.html +1 -1
  37. data/reference/Bitmap_8hpp.html +1 -1
  38. data/reference/ButtonsMac_8hpp-source.html +1 -1
  39. data/reference/ButtonsWin_8hpp-source.html +1 -1
  40. data/reference/ButtonsX_8hpp-source.html +1 -1
  41. data/reference/Color_8hpp-source.html +1 -1
  42. data/reference/Color_8hpp.html +1 -1
  43. data/reference/Directories_8hpp-source.html +1 -1
  44. data/reference/Directories_8hpp.html +1 -1
  45. data/reference/Font_8hpp-source.html +1 -1
  46. data/reference/Font_8hpp.html +1 -1
  47. data/reference/Fwd_8hpp-source.html +1 -1
  48. data/reference/Fwd_8hpp.html +1 -1
  49. data/reference/Gosu_8hpp-source.html +1 -1
  50. data/reference/Gosu_8hpp.html +1 -1
  51. data/reference/GraphicsBase_8hpp-source.html +28 -26
  52. data/reference/GraphicsBase_8hpp.html +4 -1
  53. data/reference/Graphics_8hpp-source.html +1 -1
  54. data/reference/Graphics_8hpp.html +1 -1
  55. data/reference/IO_8hpp-source.html +1 -1
  56. data/reference/IO_8hpp.html +1 -1
  57. data/reference/ImageData_8hpp-source.html +1 -1
  58. data/reference/ImageData_8hpp.html +1 -1
  59. data/reference/Image_8hpp-source.html +1 -1
  60. data/reference/Image_8hpp.html +1 -1
  61. data/reference/Input_8hpp-source.html +19 -16
  62. data/reference/Input_8hpp.html +1 -1
  63. data/reference/Math_8hpp-source.html +1 -1
  64. data/reference/Math_8hpp.html +1 -1
  65. data/reference/Platform_8hpp-source.html +22 -20
  66. data/reference/Platform_8hpp.html +1 -1
  67. data/reference/RotFlip_8hpp-source.html +1 -1
  68. data/reference/RotFlip_8hpp.html +1 -1
  69. data/reference/Sockets_8hpp-source.html +1 -1
  70. data/reference/Sockets_8hpp.html +1 -1
  71. data/reference/TextInput_8hpp-source.html +1 -1
  72. data/reference/TextInput_8hpp.html +1 -1
  73. data/reference/Text_8hpp-source.html +1 -1
  74. data/reference/Text_8hpp.html +1 -1
  75. data/reference/Timing_8hpp-source.html +1 -1
  76. data/reference/Timing_8hpp.html +1 -1
  77. data/reference/Utility_8hpp-source.html +1 -1
  78. data/reference/Utility_8hpp.html +1 -1
  79. data/reference/WinUtility_8hpp-source.html +1 -1
  80. data/reference/WinUtility_8hpp.html +1 -1
  81. data/reference/Window_8hpp-source.html +67 -56
  82. data/reference/Window_8hpp.html +1 -1
  83. data/reference/annotated.html +1 -1
  84. data/reference/classGosu_1_1Audio-members.html +1 -1
  85. data/reference/classGosu_1_1Audio.html +1 -1
  86. data/reference/classGosu_1_1Bitmap-members.html +1 -1
  87. data/reference/classGosu_1_1Bitmap.html +1 -1
  88. data/reference/classGosu_1_1Buffer-members.html +1 -1
  89. data/reference/classGosu_1_1Buffer.html +1 -1
  90. data/reference/classGosu_1_1Button-members.html +1 -1
  91. data/reference/classGosu_1_1Button.html +1 -1
  92. data/reference/classGosu_1_1Color-members.html +1 -1
  93. data/reference/classGosu_1_1Color.html +1 -1
  94. data/reference/classGosu_1_1File-members.html +1 -1
  95. data/reference/classGosu_1_1File.html +1 -1
  96. data/reference/classGosu_1_1Font-members.html +1 -1
  97. data/reference/classGosu_1_1Font.html +1 -1
  98. data/reference/classGosu_1_1Graphics-members.html +1 -1
  99. data/reference/classGosu_1_1Graphics.html +1 -1
  100. data/reference/classGosu_1_1Image-members.html +1 -1
  101. data/reference/classGosu_1_1Image.html +1 -1
  102. data/reference/classGosu_1_1ImageData-members.html +1 -1
  103. data/reference/classGosu_1_1ImageData.html +1 -1
  104. data/reference/classGosu_1_1Input-members.html +2 -1
  105. data/reference/classGosu_1_1Input.html +34 -1
  106. data/reference/classGosu_1_1MessageSocket-members.html +1 -1
  107. data/reference/classGosu_1_1MessageSocket.html +1 -1
  108. data/reference/classGosu_1_1Resource-members.html +1 -1
  109. data/reference/classGosu_1_1Resource.html +1 -1
  110. data/reference/classGosu_1_1Sample-members.html +3 -3
  111. data/reference/classGosu_1_1Sample.html +23 -11
  112. data/reference/classGosu_1_1SampleInstance-members.html +4 -1
  113. data/reference/classGosu_1_1SampleInstance.html +11 -2
  114. data/reference/classGosu_1_1Song-members.html +5 -2
  115. data/reference/classGosu_1_1Song.html +78 -7
  116. data/reference/classGosu_1_1TextInput-members.html +1 -1
  117. data/reference/classGosu_1_1TextInput.html +1 -1
  118. data/reference/classGosu_1_1Window-members.html +1 -1
  119. data/reference/classGosu_1_1Window.html +1 -1
  120. data/reference/files.html +1 -1
  121. data/reference/functions.html +14 -6
  122. data/reference/functions_enum.html +1 -1
  123. data/reference/functions_func.html +14 -6
  124. data/reference/functions_vars.html +1 -1
  125. data/reference/hierarchy.html +1 -1
  126. data/reference/index.html +1 -1
  127. data/reference/namespaceGosu.html +20 -1
  128. data/reference/namespaceGosu_1_1Colors.html +1 -1
  129. data/reference/namespaceGosu_1_1Win.html +1 -1
  130. data/reference/namespacemembers.html +3 -1
  131. data/reference/namespacemembers_enum.html +1 -1
  132. data/reference/namespacemembers_eval.html +1 -1
  133. data/reference/namespacemembers_func.html +1 -1
  134. data/reference/namespacemembers_type.html +1 -1
  135. data/reference/namespacemembers_vars.html +3 -1
  136. data/reference/namespaces.html +1 -1
  137. data/windows/Gosu.sln +2 -2
  138. data/windows/Gosu.vcproj +8 -7
  139. data/windows/RubyGosu.vcproj +5 -5
  140. metadata +4 -3
  141. data/GosuImpl/Utility.cpp~RF6c566.TMP +0 -95
@@ -44,7 +44,7 @@
44
44
  <tr><td class="indexkey"><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td class="indexvalue">Convenient all-in-one class that serves as the foundation of a standard <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> application </td></tr>
45
45
  </table>
46
46
  </div>
47
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
47
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
48
48
  <a href="http://www.doxygen.org/index.html">
49
49
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
50
50
  </body>
@@ -27,7 +27,7 @@
27
27
  <tr bgcolor="#f0f0f0"><td><b>Audio</b>() (defined in <a class="el" href="classGosu_1_1Audio.html">Gosu::Audio</a>)</td><td><a class="el" href="classGosu_1_1Audio.html">Gosu::Audio</a></td><td></td></tr>
28
28
  <tr bgcolor="#f0f0f0"><td><b>~Audio</b>() (defined in <a class="el" href="classGosu_1_1Audio.html">Gosu::Audio</a>)</td><td><a class="el" href="classGosu_1_1Audio.html">Gosu::Audio</a></td><td></td></tr>
29
29
  </table></div>
30
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
30
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
31
31
  <a href="http://www.doxygen.org/index.html">
32
32
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
33
33
  </body>
@@ -39,7 +39,7 @@ Manages initialization and finalization of audio libraries.
39
39
  Must be created before and destroyed after all samples and songs. There can only be one instance of <a class="el" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Gosu::Audio</a>. Usually created internally by <a class="el" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Gosu::Window</a>. <hr>The documentation for this class was generated from the following file:<ul>
40
40
  <li><a class="el" href="Audio_8hpp-source.html">Audio.hpp</a></ul>
41
41
  </div>
42
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
42
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
43
43
  <a href="http://www.doxygen.org/index.html">
44
44
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
45
45
  </body>
@@ -37,7 +37,7 @@
37
37
  <tr bgcolor="#f0f0f0"><td><b>swap</b>(Bitmap &amp;other) (defined in <a class="el" href="classGosu_1_1Bitmap.html">Gosu::Bitmap</a>)</td><td><a class="el" href="classGosu_1_1Bitmap.html">Gosu::Bitmap</a></td><td></td></tr>
38
38
  <tr bgcolor="#f0f0f0"><td><b>width</b>() const (defined in <a class="el" href="classGosu_1_1Bitmap.html">Gosu::Bitmap</a>)</td><td><a class="el" href="classGosu_1_1Bitmap.html">Gosu::Bitmap</a></td><td><code> [inline]</code></td></tr>
39
39
  </table></div>
40
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
40
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
41
41
  <a href="http://www.doxygen.org/index.html">
42
42
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
43
43
  </body>
@@ -256,7 +256,7 @@ Undocumented optimization for <a class="el" href="classGosu_1_1Image.html" title
256
256
  <hr>The documentation for this class was generated from the following file:<ul>
257
257
  <li><a class="el" href="Bitmap_8hpp-source.html">Bitmap.hpp</a></ul>
258
258
  </div>
259
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
259
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
260
260
  <a href="http://www.doxygen.org/index.html">
261
261
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
262
262
  </body>
@@ -37,7 +37,7 @@
37
37
  <tr bgcolor="#f0f0f0"><td><b>write</b>(std::size_t offset, std::size_t length, const void *sourceBuffer) (defined in <a class="el" href="classGosu_1_1Buffer.html">Gosu::Buffer</a>)</td><td><a class="el" href="classGosu_1_1Buffer.html">Gosu::Buffer</a></td><td><code> [virtual]</code></td></tr>
38
38
  <tr bgcolor="#f0f0f0"><td><b>~Resource</b>() (defined in <a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a>)</td><td><a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a></td><td><code> [inline, virtual]</code></td></tr>
39
39
  </table></div>
40
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
40
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
41
41
  <a href="http://www.doxygen.org/index.html">
42
42
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
43
43
  </body>
@@ -71,7 +71,7 @@ void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>data</b> ()</td></t
71
71
  Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <hr>The documentation for this class was generated from the following file:<ul>
72
72
  <li><a class="el" href="IO_8hpp-source.html">IO.hpp</a></ul>
73
73
  </div>
74
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
74
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
75
75
  <a href="http://www.doxygen.org/index.html">
76
76
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
77
77
  </body>
@@ -29,7 +29,7 @@
29
29
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b0d53d357fa263d676d803c6c6baf843">Button</a>(ButtonName name)</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
30
30
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a>() const </td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
31
31
  </table></div>
32
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
32
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
33
33
  <a href="http://www.doxygen.org/index.html">
34
34
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
35
35
  </body>
@@ -136,7 +136,7 @@ For internal use.
136
136
  <hr>The documentation for this class was generated from the following file:<ul>
137
137
  <li><a class="el" href="Input_8hpp-source.html">Input.hpp</a></ul>
138
138
  </div>
139
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
139
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
140
140
  <a href="http://www.doxygen.org/index.html">
141
141
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
142
142
  </body>
@@ -49,7 +49,7 @@
49
49
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a>(double v)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
50
50
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
51
51
  </table></div>
52
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
52
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
53
53
  <a href="http://www.doxygen.org/index.html">
54
54
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
55
55
  </body>
@@ -380,7 +380,7 @@ Returns the color in 0xaabbggrr representation.
380
380
  <hr>The documentation for this class was generated from the following file:<ul>
381
381
  <li><a class="el" href="Color_8hpp-source.html">Color.hpp</a></ul>
382
382
  </div>
383
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
383
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
384
384
  <a href="http://www.doxygen.org/index.html">
385
385
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
386
386
  </body>
@@ -34,7 +34,7 @@
34
34
  <tr bgcolor="#f0f0f0"><td><b>~File</b>() (defined in <a class="el" href="classGosu_1_1File.html">Gosu::File</a>)</td><td><a class="el" href="classGosu_1_1File.html">Gosu::File</a></td><td></td></tr>
35
35
  <tr bgcolor="#f0f0f0"><td><b>~Resource</b>() (defined in <a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a>)</td><td><a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a></td><td><code> [inline, virtual]</code></td></tr>
36
36
  </table></div>
37
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
38
38
  <a href="http://www.doxygen.org/index.html">
39
39
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
40
40
  </body>
@@ -62,7 +62,7 @@ void&nbsp;</td><td class="memItemRight" valign="bottom"><b>write</b> (std::size_
62
62
  <a class="el" href="classGosu_1_1File.html" title="File with the Resource interface.">File</a> with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <hr>The documentation for this class was generated from the following file:<ul>
63
63
  <li><a class="el" href="IO_8hpp-source.html">IO.hpp</a></ul>
64
64
  </div>
65
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
65
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
66
66
  <a href="http://www.doxygen.org/index.html">
67
67
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
68
68
  </body>
@@ -32,7 +32,7 @@
32
32
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a>(const std::wstring &amp;text, double factorX=1) const </td><td><a class="el" href="classGosu_1_1Font.html">Gosu::Font</a></td><td></td></tr>
33
33
  <tr bgcolor="#f0f0f0"><td><b>~Font</b>() (defined in <a class="el" href="classGosu_1_1Font.html">Gosu::Font</a>)</td><td><a class="el" href="classGosu_1_1Font.html">Gosu::Font</a></td><td></td></tr>
34
34
  </table></div>
35
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
35
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
36
36
  <a href="http://www.doxygen.org/index.html">
37
37
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
38
38
  </body>
@@ -302,7 +302,7 @@ Draws text at a position relative to (x; y).
302
302
  <hr>The documentation for this class was generated from the following file:<ul>
303
303
  <li><a class="el" href="Font_8hpp-source.html">Font.hpp</a></ul>
304
304
  </div>
305
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
305
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
306
306
  <a href="http://www.doxygen.org/index.html">
307
307
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
308
308
  </body>
@@ -43,7 +43,7 @@
43
43
  <tr bgcolor="#f0f0f0"><td><b>width</b>() const (defined in <a class="el" href="classGosu_1_1Graphics.html">Gosu::Graphics</a>)</td><td><a class="el" href="classGosu_1_1Graphics.html">Gosu::Graphics</a></td><td></td></tr>
44
44
  <tr bgcolor="#f0f0f0"><td><b>~Graphics</b>() (defined in <a class="el" href="classGosu_1_1Graphics.html">Gosu::Graphics</a>)</td><td><a class="el" href="classGosu_1_1Graphics.html">Gosu::Graphics</a></td><td></td></tr>
45
45
  </table></div>
46
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
46
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
47
47
  <a href="http://www.doxygen.org/index.html">
48
48
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
49
49
  </body>
@@ -227,7 +227,7 @@ Turns a portion of a bitmap into something that can be drawn on this graphics ob
227
227
  <hr>The documentation for this class was generated from the following file:<ul>
228
228
  <li><a class="el" href="Graphics_8hpp-source.html">Graphics.hpp</a></ul>
229
229
  </div>
230
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
230
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
231
231
  <a href="http://www.doxygen.org/index.html">
232
232
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
233
233
  </body>
@@ -38,7 +38,7 @@
38
38
  <tr bgcolor="#f0f0f0"><td><b>width</b>() const (defined in <a class="el" href="classGosu_1_1Image.html">Gosu::Image</a>)</td><td><a class="el" href="classGosu_1_1Image.html">Gosu::Image</a></td><td></td></tr>
39
39
  <tr bgcolor="#f0f0f0"><td><b>~Image</b>() (defined in <a class="el" href="classGosu_1_1Image.html">Gosu::Image</a>)</td><td><a class="el" href="classGosu_1_1Image.html">Gosu::Image</a></td><td></td></tr>
40
40
  </table></div>
41
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
41
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
42
42
  <a href="http://www.doxygen.org/index.html">
43
43
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
44
44
  </body>
@@ -511,7 +511,7 @@ Provides access to the underlying image data object.
511
511
  <hr>The documentation for this class was generated from the following file:<ul>
512
512
  <li><a class="el" href="Image_8hpp-source.html">Image.hpp</a></ul>
513
513
  </div>
514
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
514
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
515
515
  <a href="http://www.doxygen.org/index.html">
516
516
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
517
517
  </body>
@@ -30,7 +30,7 @@
30
30
  <tr bgcolor="#f0f0f0"><td><b>width</b>() const =0 (defined in <a class="el" href="classGosu_1_1ImageData.html">Gosu::ImageData</a>)</td><td><a class="el" href="classGosu_1_1ImageData.html">Gosu::ImageData</a></td><td><code> [pure virtual]</code></td></tr>
31
31
  <tr bgcolor="#f0f0f0"><td><b>~ImageData</b>() (defined in <a class="el" href="classGosu_1_1ImageData.html">Gosu::ImageData</a>)</td><td><a class="el" href="classGosu_1_1ImageData.html">Gosu::ImageData</a></td><td><code> [inline, virtual]</code></td></tr>
32
32
  </table></div>
33
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
33
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
34
34
  <a href="http://www.doxygen.org/index.html">
35
35
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
36
36
  </body>
@@ -53,7 +53,7 @@ The <a class="el" href="classGosu_1_1ImageData.html" title="The ImageData class
53
53
  Instances of classes derived by <a class="el" href="classGosu_1_1ImageData.html" title="The ImageData class is an abstract base class for drawable images.">ImageData</a> are usually returned by <a class="el" href="classGosu_1_1Graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">Graphics::createImage</a> and usually only used to implement drawing primitives like <a class="el" href="classGosu_1_1Image.html" title="Provides functionality for drawing rectangular images.">Image</a>, which then provide a more specialized and intuitive drawing interface. <hr>The documentation for this class was generated from the following file:<ul>
54
54
  <li><a class="el" href="ImageData_8hpp-source.html">ImageData.hpp</a></ul>
55
55
  </div>
56
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
56
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
57
57
  <a href="http://www.doxygen.org/index.html">
58
58
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
59
59
  </body>
@@ -32,12 +32,13 @@
32
32
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77">onButtonDown</a></td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
33
33
  <tr bgcolor="#f0f0f0"><td><b>onButtonUp</b> (defined in <a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
34
34
  <tr bgcolor="#f0f0f0"><td><b>setMouseFactors</b>(double factorX, double factorY) (defined in <a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
35
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Input.html#df5d807bd1cbac95bd4bd86dc5588dea">setMousePosition</a>(double x, double y)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
35
36
  <tr bgcolor="#f0f0f0"><td><b>setTextInput</b>(TextInput *input) (defined in <a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
36
37
  <tr bgcolor="#f0f0f0"><td><b>textInput</b>() const (defined in <a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
37
38
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Input.html#904cd360ad96838a61b408d5aa6729aa">update</a>()</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
38
39
  <tr bgcolor="#f0f0f0"><td><b>~Input</b>() (defined in <a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>)</td><td><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a></td><td></td></tr>
39
40
  </table></div>
40
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
41
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
41
42
  <a href="http://www.doxygen.org/index.html">
42
43
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
43
44
  </body>
@@ -39,6 +39,8 @@
39
39
 
40
40
  <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Input.html#5bedd5d599dfe530043b3b0f6e3bf2a4">mouseY</a> () const </td></tr>
41
41
 
42
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Input.html#df5d807bd1cbac95bd4bd86dc5588dea">setMousePosition</a> (double x, double y)</td></tr>
43
+
42
44
  <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26a8d3c2c0d46628bfd17183ac266ea3"></a><!-- doxytag: member="Gosu::Input::setMouseFactors" ref="26a8d3c2c0d46628bfd17183ac266ea3" args="(double factorX, double factorY)" -->
43
45
  void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setMouseFactors</b> (double factorX, double factorY)</td></tr>
44
46
 
@@ -172,6 +174,37 @@ Returns the horizontal position of the mouse relative to the top left corner of
172
174
  See mouseX.
173
175
  <p>
174
176
 
177
+ </div>
178
+ </div><p>
179
+ <a class="anchor" name="df5d807bd1cbac95bd4bd86dc5588dea"></a><!-- doxytag: member="Gosu::Input::setMousePosition" ref="df5d807bd1cbac95bd4bd86dc5588dea" args="(double x, double y)" -->
180
+ <div class="memitem">
181
+ <div class="memproto">
182
+ <table class="memname">
183
+ <tr>
184
+ <td class="memname">void Gosu::Input::setMousePosition </td>
185
+ <td>(</td>
186
+ <td class="paramtype">double&nbsp;</td>
187
+ <td class="paramname"> <em>x</em>, </td>
188
+ </tr>
189
+ <tr>
190
+ <td class="paramkey"></td>
191
+ <td></td>
192
+ <td class="paramtype">double&nbsp;</td>
193
+ <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
194
+ </tr>
195
+ <tr>
196
+ <td></td>
197
+ <td>)</td>
198
+ <td></td><td></td><td width="100%"></td>
199
+ </tr>
200
+ </table>
201
+ </div>
202
+ <div class="memdoc">
203
+
204
+ <p>
205
+ Immediately moves the mouse as far towards the desired position as possible.
206
+ <p>
207
+ x and y are relativ to the window just as in the mouse position accessors.
175
208
  </div>
176
209
  </div><p>
177
210
  <a class="anchor" name="904cd360ad96838a61b408d5aa6729aa"></a><!-- doxytag: member="Gosu::Input::update" ref="904cd360ad96838a61b408d5aa6729aa" args="()" -->
@@ -216,7 +249,7 @@ You can bind these to your own functions. If you use the <a class="el" href="cla
216
249
  <hr>The documentation for this class was generated from the following file:<ul>
217
250
  <li><a class="el" href="Input_8hpp-source.html">Input.hpp</a></ul>
218
251
  </div>
219
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
252
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
220
253
  <a href="http://www.doxygen.org/index.html">
221
254
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
222
255
  </body>
@@ -33,7 +33,7 @@
33
33
  <tr class="memlist"><td><a class="el" href="classGosu_1_1MessageSocket.html#3e642630d8b17d9336e3eb7112fa14dd">update</a>()</td><td><a class="el" href="classGosu_1_1MessageSocket.html">Gosu::MessageSocket</a></td><td></td></tr>
34
34
  <tr bgcolor="#f0f0f0"><td><b>~MessageSocket</b>() (defined in <a class="el" href="classGosu_1_1MessageSocket.html">Gosu::MessageSocket</a>)</td><td><a class="el" href="classGosu_1_1MessageSocket.html">Gosu::MessageSocket</a></td><td></td></tr>
35
35
  </table></div>
36
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
36
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
37
37
  <a href="http://www.doxygen.org/index.html">
38
38
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
39
39
  </body>
@@ -226,7 +226,7 @@ If assigned, will be called by update for every packet received.
226
226
  <hr>The documentation for this class was generated from the following file:<ul>
227
227
  <li><a class="el" href="Sockets_8hpp-source.html">Sockets.hpp</a></ul>
228
228
  </div>
229
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
229
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
230
230
  <a href="http://www.doxygen.org/index.html">
231
231
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
232
232
  </body>
@@ -32,7 +32,7 @@
32
32
  <tr bgcolor="#f0f0f0"><td><b>write</b>(std::size_t offset, std::size_t length, const void *sourceBuffer)=0 (defined in <a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a>)</td><td><a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a></td><td><code> [pure virtual]</code></td></tr>
33
33
  <tr bgcolor="#f0f0f0"><td><b>~Resource</b>() (defined in <a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a>)</td><td><a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a></td><td><code> [inline, virtual]</code></td></tr>
34
34
  </table></div>
35
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
35
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
36
36
  <a href="http://www.doxygen.org/index.html">
37
37
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
38
38
  </body>
@@ -109,7 +109,7 @@ Convenience: Creates a new Writer that appends data at the end of the resource.
109
109
  <hr>The documentation for this class was generated from the following file:<ul>
110
110
  <li><a class="el" href="IO_8hpp-source.html">IO.hpp</a></ul>
111
111
  </div>
112
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
112
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
113
113
  <a href="http://www.doxygen.org/index.html">
114
114
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
115
115
  </body>
@@ -24,13 +24,13 @@
24
24
  </div>
25
25
  <div class="contents">
26
26
  <h1>Gosu::Sample Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a>, including all inherited members.<p><table>
27
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#3b8af743f036e6ee867c66b235ff5d5b">play</a>(double volume=1, double speed=1) const </td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
28
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#96c4c6f558831cc758aa877852c08b31">playPan</a>(double pan, double volume=1, double speed=1) const </td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
27
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8">play</a>(double volume=1, double speed=1, bool looping=false) const </td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
28
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#13032b78fa19f7324035c6fbee6e5069">playPan</a>(double pan, double volume=1, double speed=1, bool looping=false) const </td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
29
29
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf">Sample</a>(Audio &amp;audio, const std::wstring &amp;filename)</td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
30
30
  <tr class="memlist"><td><a class="el" href="classGosu_1_1Sample.html#70f49bdcacb9969ecf3b8be48acb3dc1">Sample</a>(Audio &amp;audio, Reader reader)</td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
31
31
  <tr bgcolor="#f0f0f0"><td><b>~Sample</b>() (defined in <a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a>)</td><td><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a></td><td></td></tr>
32
32
  </table></div>
33
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
33
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
34
34
  <a href="http://www.doxygen.org/index.html">
35
35
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
36
36
  </body>
@@ -37,15 +37,15 @@
37
37
 
38
38
  <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html#70f49bdcacb9969ecf3b8be48acb3dc1">Sample</a> (<a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;audio, Reader reader)</td></tr>
39
39
 
40
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1SampleInstance.html">SampleInstance</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html#3b8af743f036e6ee867c66b235ff5d5b">play</a> (double volume=1, double speed=1) const </td></tr>
40
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1SampleInstance.html">SampleInstance</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8">play</a> (double volume=1, double speed=1, bool looping=false) const </td></tr>
41
41
 
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1SampleInstance.html">SampleInstance</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html#96c4c6f558831cc758aa877852c08b31">playPan</a> (double pan, double volume=1, double speed=1) const </td></tr>
42
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1SampleInstance.html">SampleInstance</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html#13032b78fa19f7324035c6fbee6e5069">playPan</a> (double pan, double volume=1, double speed=1, bool looping=false) const </td></tr>
43
43
 
44
44
  </table>
45
45
  <hr><a name="_details"></a><h2>Detailed Description</h2>
46
46
  A sample is a short sound that is completely loaded in memory, can be played multiple times at once and offers very flexible playback parameters.
47
47
  <p>
48
- In short, use samples for everything that's not music. <hr><h2>Constructor &amp; Destructor Documentation</h2>
48
+ Use samples for everything that's not music. <hr><h2>Constructor &amp; Destructor Documentation</h2>
49
49
  <a class="anchor" name="11aa4cd7de748370c9352970660619bf"></a><!-- doxytag: member="Gosu::Sample::Sample" ref="11aa4cd7de748370c9352970660619bf" args="(Audio &amp;audio, const std::wstring &amp;filename)" -->
50
50
  <div class="memitem">
51
51
  <div class="memproto">
@@ -109,7 +109,7 @@ Constructs a sample that can be played on the specified audio system and loads t
109
109
  </div>
110
110
  </div><p>
111
111
  <hr><h2>Member Function Documentation</h2>
112
- <a class="anchor" name="3b8af743f036e6ee867c66b235ff5d5b"></a><!-- doxytag: member="Gosu::Sample::play" ref="3b8af743f036e6ee867c66b235ff5d5b" args="(double volume=1, double speed=1) const " -->
112
+ <a class="anchor" name="190b3cc66e2115c7ed0390c47769c1b8"></a><!-- doxytag: member="Gosu::Sample::play" ref="190b3cc66e2115c7ed0390c47769c1b8" args="(double volume=1, double speed=1, bool looping=false) const " -->
113
113
  <div class="memitem">
114
114
  <div class="memproto">
115
115
  <table class="memname">
@@ -123,7 +123,13 @@ Constructs a sample that can be played on the specified audio system and loads t
123
123
  <td class="paramkey"></td>
124
124
  <td></td>
125
125
  <td class="paramtype">double&nbsp;</td>
126
- <td class="paramname"> <em>speed</em> = <code>1</code></td><td>&nbsp;</td>
126
+ <td class="paramname"> <em>speed</em> = <code>1</code>, </td>
127
+ </tr>
128
+ <tr>
129
+ <td class="paramkey"></td>
130
+ <td></td>
131
+ <td class="paramtype">bool&nbsp;</td>
132
+ <td class="paramname"> <em>looping</em> = <code>false</code></td><td>&nbsp;</td>
127
133
  </tr>
128
134
  <tr>
129
135
  <td></td>
@@ -140,13 +146,13 @@ Plays the sample without panning.
140
146
  <dl compact><dt><b>Parameters:</b></dt><dd>
141
147
  <table border="0" cellspacing="2" cellpadding="0">
142
148
  <tr><td valign="top"></td><td valign="top"><em>volume</em>&nbsp;</td><td>Can be anything from 0.0 (silence) to 1.0 (full volume). </td></tr>
143
- <tr><td valign="top"></td><td valign="top"><em>speed</em>&nbsp;</td><td>Playback speed is only limited by FMOD's capatibilities and can accept very high or low values. Use 1.0 for normal playback speed. </td></tr>
149
+ <tr><td valign="top"></td><td valign="top"><em>speed</em>&nbsp;</td><td>Playback speed is only limited by FMOD's capabilities and can accept very high or low values. Use 1.0 for normal playback speed. </td></tr>
144
150
  </table>
145
151
  </dl>
146
152
 
147
153
  </div>
148
154
  </div><p>
149
- <a class="anchor" name="96c4c6f558831cc758aa877852c08b31"></a><!-- doxytag: member="Gosu::Sample::playPan" ref="96c4c6f558831cc758aa877852c08b31" args="(double pan, double volume=1, double speed=1) const " -->
155
+ <a class="anchor" name="13032b78fa19f7324035c6fbee6e5069"></a><!-- doxytag: member="Gosu::Sample::playPan" ref="13032b78fa19f7324035c6fbee6e5069" args="(double pan, double volume=1, double speed=1, bool looping=false) const " -->
150
156
  <div class="memitem">
151
157
  <div class="memproto">
152
158
  <table class="memname">
@@ -166,7 +172,13 @@ Plays the sample without panning.
166
172
  <td class="paramkey"></td>
167
173
  <td></td>
168
174
  <td class="paramtype">double&nbsp;</td>
169
- <td class="paramname"> <em>speed</em> = <code>1</code></td><td>&nbsp;</td>
175
+ <td class="paramname"> <em>speed</em> = <code>1</code>, </td>
176
+ </tr>
177
+ <tr>
178
+ <td class="paramkey"></td>
179
+ <td></td>
180
+ <td class="paramtype">bool&nbsp;</td>
181
+ <td class="paramname"> <em>looping</em> = <code>false</code></td><td>&nbsp;</td>
170
182
  </tr>
171
183
  <tr>
172
184
  <td></td>
@@ -180,11 +192,11 @@ Plays the sample without panning.
180
192
  <p>
181
193
  Plays the sample with panning.
182
194
  <p>
183
- Even if pan is 0.0, the sample will not be as loud as if it were played by calling <a class="el" href="classGosu_1_1Sample.html#3b8af743f036e6ee867c66b235ff5d5b" title="Plays the sample without panning.">play()</a> due to the way FMOD's panning works. <dl compact><dt><b>Parameters:</b></dt><dd>
195
+ Even if pan is 0.0, the sample will not be as loud as if it were played by calling <a class="el" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8" title="Plays the sample without panning.">play()</a> due to the way the panning works. <dl compact><dt><b>Parameters:</b></dt><dd>
184
196
  <table border="0" cellspacing="2" cellpadding="0">
185
197
  <tr><td valign="top"></td><td valign="top"><em>pan</em>&nbsp;</td><td>Can be anything from -1.0 (left) to 1.0 (right). </td></tr>
186
198
  <tr><td valign="top"></td><td valign="top"><em>volume</em>&nbsp;</td><td>Can be anything from 0.0 (silence) to 1.0 (full volume). </td></tr>
187
- <tr><td valign="top"></td><td valign="top"><em>speed</em>&nbsp;</td><td>Playback speed is only limited by FMOD's capatibilities and can accept very high or low values. Use 1.0 for normal playback speed. </td></tr>
199
+ <tr><td valign="top"></td><td valign="top"><em>speed</em>&nbsp;</td><td>Playback speed is only limited by FMOD's (or SDL_mixer's, respectively) capabilities and can accept very high or low values. Use 1.0 for normal playback speed. </td></tr>
188
200
  </table>
189
201
  </dl>
190
202
 
@@ -193,7 +205,7 @@ Even if pan is 0.0, the sample will not be as loud as if it were played by calli
193
205
  <hr>The documentation for this class was generated from the following file:<ul>
194
206
  <li><a class="el" href="Audio_8hpp-source.html">Audio.hpp</a></ul>
195
207
  </div>
196
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
208
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
197
209
  <a href="http://www.doxygen.org/index.html">
198
210
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
199
211
  </body>
@@ -27,11 +27,14 @@
27
27
  <tr class="memlist"><td><a class="el" href="classGosu_1_1SampleInstance.html#def37ef2af53716fb0b10e06263468d0">changePan</a>(double pan)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
28
28
  <tr class="memlist"><td><a class="el" href="classGosu_1_1SampleInstance.html#3de21bed437c846734cf06243a5db112">changeSpeed</a>(double speed)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
29
29
  <tr class="memlist"><td><a class="el" href="classGosu_1_1SampleInstance.html#bb54d7569ac18cdad24da5d538cca1b5">changeVolume</a>(double volume)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
30
+ <tr bgcolor="#f0f0f0"><td><b>pause</b>() (defined in <a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
31
+ <tr bgcolor="#f0f0f0"><td><b>paused</b>() const (defined in <a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
30
32
  <tr bgcolor="#f0f0f0"><td><b>playing</b>() const (defined in <a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
33
+ <tr bgcolor="#f0f0f0"><td><b>resume</b>() (defined in <a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
31
34
  <tr class="memlist"><td><a class="el" href="classGosu_1_1SampleInstance.html#1dcf6b649592940d21d3d2487e510c7e">SampleInstance</a>(int handle, int extra)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
32
35
  <tr bgcolor="#f0f0f0"><td><b>stop</b>() (defined in <a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>)</td><td><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a></td><td></td></tr>
33
36
  </table></div>
34
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
35
38
  <a href="http://www.doxygen.org/index.html">
36
39
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
37
40
  </body>