gosu 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gosu/Audio.hpp +33 -16
- data/Gosu/GraphicsBase.hpp +6 -1
- data/Gosu/Input.hpp +8 -2
- data/Gosu/Platform.hpp +63 -61
- data/Gosu/Window.hpp +11 -0
- data/GosuImpl/AudioFmod.cpp +89 -16
- data/GosuImpl/AudioSDL.cpp +59 -19
- data/GosuImpl/Graphics/BitmapUtils.cpp +3 -0
- data/GosuImpl/Graphics/Common.hpp +8 -3
- data/GosuImpl/Graphics/DrawOp.hpp +70 -7
- data/GosuImpl/Graphics/Graphics.cpp +34 -2
- data/GosuImpl/Graphics/TexChunk.cpp +7 -1
- data/GosuImpl/Graphics/Texture.cpp +31 -9
- data/GosuImpl/Iconv.hpp +3 -0
- data/GosuImpl/InputMac.mm +31 -10
- data/GosuImpl/InputWin.cpp +8 -0
- data/GosuImpl/InputX.cpp +64 -45
- data/GosuImpl/Math.cpp +1 -1
- data/GosuImpl/RubyGosu.swg +27 -7
- data/GosuImpl/RubyGosu_wrap.cxx +338 -205
- data/GosuImpl/Utility.cpp +1 -0
- data/GosuImpl/WindowMac.mm +29 -3
- data/GosuImpl/WindowWin.cpp +16 -5
- data/GosuImpl/WindowX.cpp +3 -3
- data/README.txt +7 -3
- data/Rakefile +2 -1
- data/mac/Gosu.icns +0 -0
- data/mac/Gosu.xcodeproj/jlnr.mode1v3 +74 -75
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +731 -257
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +1531 -0
- data/reference/Async_8hpp-source.html +1 -1
- data/reference/Audio_8hpp-source.html +68 -58
- data/reference/Audio_8hpp.html +1 -1
- data/reference/AutoLink_8hpp-source.html +1 -1
- data/reference/AutoLink_8hpp.html +1 -1
- data/reference/Bitmap_8hpp-source.html +1 -1
- data/reference/Bitmap_8hpp.html +1 -1
- data/reference/ButtonsMac_8hpp-source.html +1 -1
- data/reference/ButtonsWin_8hpp-source.html +1 -1
- data/reference/ButtonsX_8hpp-source.html +1 -1
- data/reference/Color_8hpp-source.html +1 -1
- data/reference/Color_8hpp.html +1 -1
- data/reference/Directories_8hpp-source.html +1 -1
- data/reference/Directories_8hpp.html +1 -1
- data/reference/Font_8hpp-source.html +1 -1
- data/reference/Font_8hpp.html +1 -1
- data/reference/Fwd_8hpp-source.html +1 -1
- data/reference/Fwd_8hpp.html +1 -1
- data/reference/Gosu_8hpp-source.html +1 -1
- data/reference/Gosu_8hpp.html +1 -1
- data/reference/GraphicsBase_8hpp-source.html +28 -26
- data/reference/GraphicsBase_8hpp.html +4 -1
- data/reference/Graphics_8hpp-source.html +1 -1
- data/reference/Graphics_8hpp.html +1 -1
- data/reference/IO_8hpp-source.html +1 -1
- data/reference/IO_8hpp.html +1 -1
- data/reference/ImageData_8hpp-source.html +1 -1
- data/reference/ImageData_8hpp.html +1 -1
- data/reference/Image_8hpp-source.html +1 -1
- data/reference/Image_8hpp.html +1 -1
- data/reference/Input_8hpp-source.html +19 -16
- data/reference/Input_8hpp.html +1 -1
- data/reference/Math_8hpp-source.html +1 -1
- data/reference/Math_8hpp.html +1 -1
- data/reference/Platform_8hpp-source.html +22 -20
- data/reference/Platform_8hpp.html +1 -1
- data/reference/RotFlip_8hpp-source.html +1 -1
- data/reference/RotFlip_8hpp.html +1 -1
- data/reference/Sockets_8hpp-source.html +1 -1
- data/reference/Sockets_8hpp.html +1 -1
- data/reference/TextInput_8hpp-source.html +1 -1
- data/reference/TextInput_8hpp.html +1 -1
- data/reference/Text_8hpp-source.html +1 -1
- data/reference/Text_8hpp.html +1 -1
- data/reference/Timing_8hpp-source.html +1 -1
- data/reference/Timing_8hpp.html +1 -1
- data/reference/Utility_8hpp-source.html +1 -1
- data/reference/Utility_8hpp.html +1 -1
- data/reference/WinUtility_8hpp-source.html +1 -1
- data/reference/WinUtility_8hpp.html +1 -1
- data/reference/Window_8hpp-source.html +67 -56
- data/reference/Window_8hpp.html +1 -1
- data/reference/annotated.html +1 -1
- data/reference/classGosu_1_1Audio-members.html +1 -1
- data/reference/classGosu_1_1Audio.html +1 -1
- data/reference/classGosu_1_1Bitmap-members.html +1 -1
- data/reference/classGosu_1_1Bitmap.html +1 -1
- data/reference/classGosu_1_1Buffer-members.html +1 -1
- data/reference/classGosu_1_1Buffer.html +1 -1
- data/reference/classGosu_1_1Button-members.html +1 -1
- data/reference/classGosu_1_1Button.html +1 -1
- data/reference/classGosu_1_1Color-members.html +1 -1
- data/reference/classGosu_1_1Color.html +1 -1
- data/reference/classGosu_1_1File-members.html +1 -1
- data/reference/classGosu_1_1File.html +1 -1
- data/reference/classGosu_1_1Font-members.html +1 -1
- data/reference/classGosu_1_1Font.html +1 -1
- data/reference/classGosu_1_1Graphics-members.html +1 -1
- data/reference/classGosu_1_1Graphics.html +1 -1
- data/reference/classGosu_1_1Image-members.html +1 -1
- data/reference/classGosu_1_1Image.html +1 -1
- data/reference/classGosu_1_1ImageData-members.html +1 -1
- data/reference/classGosu_1_1ImageData.html +1 -1
- data/reference/classGosu_1_1Input-members.html +2 -1
- data/reference/classGosu_1_1Input.html +34 -1
- data/reference/classGosu_1_1MessageSocket-members.html +1 -1
- data/reference/classGosu_1_1MessageSocket.html +1 -1
- data/reference/classGosu_1_1Resource-members.html +1 -1
- data/reference/classGosu_1_1Resource.html +1 -1
- data/reference/classGosu_1_1Sample-members.html +3 -3
- data/reference/classGosu_1_1Sample.html +23 -11
- data/reference/classGosu_1_1SampleInstance-members.html +4 -1
- data/reference/classGosu_1_1SampleInstance.html +11 -2
- data/reference/classGosu_1_1Song-members.html +5 -2
- data/reference/classGosu_1_1Song.html +78 -7
- data/reference/classGosu_1_1TextInput-members.html +1 -1
- data/reference/classGosu_1_1TextInput.html +1 -1
- data/reference/classGosu_1_1Window-members.html +1 -1
- data/reference/classGosu_1_1Window.html +1 -1
- data/reference/files.html +1 -1
- data/reference/functions.html +14 -6
- data/reference/functions_enum.html +1 -1
- data/reference/functions_func.html +14 -6
- data/reference/functions_vars.html +1 -1
- data/reference/hierarchy.html +1 -1
- data/reference/index.html +1 -1
- data/reference/namespaceGosu.html +20 -1
- data/reference/namespaceGosu_1_1Colors.html +1 -1
- data/reference/namespaceGosu_1_1Win.html +1 -1
- data/reference/namespacemembers.html +3 -1
- data/reference/namespacemembers_enum.html +1 -1
- data/reference/namespacemembers_eval.html +1 -1
- data/reference/namespacemembers_func.html +1 -1
- data/reference/namespacemembers_type.html +1 -1
- data/reference/namespacemembers_vars.html +3 -1
- data/reference/namespaces.html +1 -1
- data/windows/Gosu.sln +2 -2
- data/windows/Gosu.vcproj +8 -7
- data/windows/RubyGosu.vcproj +5 -5
- metadata +4 -3
- data/GosuImpl/Utility.cpp~RF6c566.TMP +0 -95
@@ -36,7 +36,7 @@
|
|
36
36
|
Interface of the ImageData class.
|
37
37
|
<p>
|
38
38
|
</div>
|
39
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
39
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
40
40
|
<a href="http://www.doxygen.org/index.html">
|
41
41
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
42
42
|
</body>
|
@@ -119,7 +119,7 @@
|
|
119
119
|
<a name="l00147"></a>00147
|
120
120
|
<a name="l00148"></a>00148 <span class="preprocessor">#endif</span>
|
121
121
|
</pre></div></div>
|
122
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
122
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
123
123
|
<a href="http://www.doxygen.org/index.html">
|
124
124
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
125
125
|
</body>
|
data/reference/Image_8hpp.html
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
Interface of the Image class and helper functions.
|
42
42
|
<p>
|
43
43
|
</div>
|
44
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
44
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
45
45
|
<a href="http://www.doxygen.org/index.html">
|
46
46
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
47
47
|
</body>
|
@@ -84,8 +84,8 @@
|
|
84
84
|
<a name="l00076"></a>00076 <span class="preprocessor"> #endif</span>
|
85
85
|
<a name="l00077"></a>00077 <span class="preprocessor"></span>
|
86
86
|
<a name="l00078"></a>00078 <span class="preprocessor"> #ifdef GOSU_IS_X</span>
|
87
|
-
<a name="l00079"></a>00079 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>(::Display*
|
88
|
-
<a name="l00080"></a>00080 <span class="keywordtype">bool</span> feedXEvent(::XEvent& event
|
87
|
+
<a name="l00079"></a>00079 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>(::Display* display, ::<a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a> window);
|
88
|
+
<a name="l00080"></a>00080 <span class="keywordtype">bool</span> feedXEvent(::XEvent& event);
|
89
89
|
<a name="l00081"></a>00081 <span class="preprocessor"> #endif</span>
|
90
90
|
<a name="l00082"></a>00082 <span class="preprocessor"></span>
|
91
91
|
<a name="l00083"></a>00083 ~<a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>();
|
@@ -97,21 +97,24 @@
|
|
97
97
|
<a name="l00093"></a>00093
|
98
98
|
<a name="l00096"></a>00096 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Input.html#6849d640adfe2d576431ab2551c105c1" title="Returns the horizontal position of the mouse relative to the top left corner of the...">mouseX</a>() <span class="keyword">const</span>;
|
99
99
|
<a name="l00098"></a>00098 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Input.html#5bedd5d599dfe530043b3b0f6e3bf2a4" title="See mouseX.">mouseY</a>() <span class="keyword">const</span>;
|
100
|
-
<a name="l00099"></a>00099
|
101
|
-
<a name="
|
102
|
-
<a name="
|
103
|
-
<a name="
|
104
|
-
<a name="
|
105
|
-
<a name="
|
106
|
-
<a name="
|
107
|
-
<a name="
|
108
|
-
<a name="
|
109
|
-
<a name="
|
110
|
-
<a name="
|
111
|
-
<a name="
|
112
|
-
<a name="
|
100
|
+
<a name="l00099"></a>00099
|
101
|
+
<a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Input.html#df5d807bd1cbac95bd4bd86dc5588dea" title="Immediately moves the mouse as far towards the desired position as possible.">setMousePosition</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);
|
102
|
+
<a name="l00104"></a>00104
|
103
|
+
<a name="l00105"></a>00105 <span class="comment">// Undocumented for the moment.</span>
|
104
|
+
<a name="l00106"></a>00106 <span class="keywordtype">void</span> setMouseFactors(<span class="keywordtype">double</span> factorX, <span class="keywordtype">double</span> factorY);
|
105
|
+
<a name="l00107"></a>00107
|
106
|
+
<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Input.html#904cd360ad96838a61b408d5aa6729aa" title="Collects new information about which buttons are pressed, where the mouse is and...">update</a>();
|
107
|
+
<a name="l00111"></a>00111
|
108
|
+
<a name="l00114"></a><a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77">00114</a> boost::function<void (Button)> <a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77" title="Assignable events that are called by update.">onButtonDown</a>, onButtonUp;
|
109
|
+
<a name="l00115"></a>00115
|
110
|
+
<a name="l00116"></a>00116 <a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* textInput() <span class="keyword">const</span>;
|
111
|
+
<a name="l00117"></a>00117 <span class="keywordtype">void</span> setTextInput(<a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* input);
|
112
|
+
<a name="l00118"></a>00118 };
|
113
|
+
<a name="l00119"></a>00119 }
|
114
|
+
<a name="l00120"></a>00120
|
115
|
+
<a name="l00121"></a>00121 <span class="preprocessor">#endif</span>
|
113
116
|
</pre></div></div>
|
114
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
117
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
115
118
|
<a href="http://www.doxygen.org/index.html">
|
116
119
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
117
120
|
</body>
|
data/reference/Input_8hpp.html
CHANGED
@@ -43,7 +43,7 @@ bool </td><td class="memItemRight" valign="bottom"><b>Gosu::operator!=</b>
|
|
43
43
|
Interface of the Input class.
|
44
44
|
<p>
|
45
45
|
</div>
|
46
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
46
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|
@@ -94,7 +94,7 @@
|
|
94
94
|
<a name="l00105"></a>00105
|
95
95
|
<a name="l00106"></a>00106 <span class="preprocessor">#endif</span>
|
96
96
|
</pre></div></div>
|
97
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
97
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
98
98
|
<a href="http://www.doxygen.org/index.html">
|
99
99
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
100
100
|
</body>
|
data/reference/Math_8hpp.html
CHANGED
@@ -71,7 +71,7 @@ template<typename T> </td></tr>
|
|
71
71
|
Contains simple math functionality.
|
72
72
|
<p>
|
73
73
|
</div>
|
74
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
74
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|
@@ -55,28 +55,30 @@
|
|
55
55
|
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#undef CONV_FUN</span>
|
56
56
|
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#undef CONV_FUN2</span>
|
57
57
|
<a name="l00041"></a>00041 <span class="preprocessor"></span>
|
58
|
-
<a name="l00042"></a>00042 <span class="preprocessor">#
|
58
|
+
<a name="l00042"></a>00042 <span class="preprocessor">#if defined(_MSC_VER)</span>
|
59
59
|
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_NORETURN __declspec(noreturn)</span>
|
60
|
-
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#
|
61
|
-
<a name="l00045"></a>00045 <span class="preprocessor"></span>
|
62
|
-
<a name="l00046"></a>00046 <span class="preprocessor">#
|
63
|
-
<a name="l00047"></a>00047 <span class="preprocessor"></span
|
64
|
-
<a name="l00048"></a>00048 <span class="preprocessor"
|
65
|
-
<a name="l00049"></a>00049 <span class="preprocessor"></span>
|
66
|
-
<a name="l00050"></a>00050 <span class="preprocessor">#
|
67
|
-
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"># define
|
68
|
-
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#
|
69
|
-
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#
|
70
|
-
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#
|
71
|
-
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define
|
72
|
-
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#
|
73
|
-
<a name="l00057"></a>00057 <span class="preprocessor"
|
74
|
-
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#
|
75
|
-
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
76
|
-
<a name="l00060"></a>00060 <span class="preprocessor"></span>
|
77
|
-
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
|
60
|
+
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#elif defined(__GNUC__)</span>
|
61
|
+
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_NORETURN __attribute__ ((noreturn))</span>
|
62
|
+
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
63
|
+
<a name="l00047"></a>00047 <span class="preprocessor"></span>
|
64
|
+
<a name="l00048"></a>00048 <span class="preprocessor">#if defined(WIN32)</span>
|
65
|
+
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_WIN</span>
|
66
|
+
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
67
|
+
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_UNIX</span>
|
68
|
+
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"># if defined(__linux) || defined(__FreeBSD__)</span>
|
69
|
+
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_X</span>
|
70
|
+
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"># else</span>
|
71
|
+
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_MAC</span>
|
72
|
+
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"># include <TargetConditionals.h></span>
|
73
|
+
<a name="l00057"></a>00057 <span class="preprocessor"># if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR</span>
|
74
|
+
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_IPHONE</span>
|
75
|
+
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
|
76
|
+
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
|
77
|
+
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
78
|
+
<a name="l00062"></a>00062 <span class="preprocessor"></span>
|
79
|
+
<a name="l00063"></a>00063 <span class="preprocessor">#endif</span>
|
78
80
|
</pre></div></div>
|
79
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
81
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
80
82
|
<a href="http://www.doxygen.org/index.html">
|
81
83
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
82
84
|
</body>
|
@@ -66,7 +66,7 @@ template<typename T> </td></tr>
|
|
66
66
|
Macros and utility functions to facilitate programming on all of Gosu's supported platforms.
|
67
67
|
<p>
|
68
68
|
</div>
|
69
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
69
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
70
70
|
<a href="http://www.doxygen.org/index.html">
|
71
71
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
72
72
|
</body>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
<a name="l00115"></a>00115
|
132
132
|
<a name="l00116"></a>00116 <span class="preprocessor">#endif</span>
|
133
133
|
</pre></div></div>
|
134
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
134
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
135
135
|
<a href="http://www.doxygen.org/index.html">
|
136
136
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
137
137
|
</body>
|
data/reference/RotFlip_8hpp.html
CHANGED
@@ -70,7 +70,7 @@ void </td><td class="memItemRight" valign="bottom"><b>Gosu::applyToPoint</b
|
|
70
70
|
Interface of the undocumented RotFlip class.
|
71
71
|
<p>
|
72
72
|
</div>
|
73
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
73
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
74
74
|
<a href="http://www.doxygen.org/index.html">
|
75
75
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
76
76
|
</body>
|
@@ -123,7 +123,7 @@
|
|
123
123
|
<a name="l00128"></a>00128
|
124
124
|
<a name="l00129"></a>00129 <span class="preprocessor">#endif</span>
|
125
125
|
</pre></div></div>
|
126
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
126
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
127
127
|
<a href="http://www.doxygen.org/index.html">
|
128
128
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
129
129
|
</body>
|
data/reference/Sockets_8hpp.html
CHANGED
@@ -59,7 +59,7 @@ const SocketPort </td><td class="memItemRight" valign="bottom"><b>Gosu::any
|
|
59
59
|
Interface of the three socket classes, MessageSocket, CommSocket and ListenerSocket.
|
60
60
|
<p>
|
61
61
|
</div>
|
62
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
62
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
63
63
|
<a href="http://www.doxygen.org/index.html">
|
64
64
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
65
65
|
</body>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<a name="l00056"></a>00056
|
58
58
|
<a name="l00057"></a>00057 <span class="preprocessor">#endif</span>
|
59
59
|
</pre></div></div>
|
60
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
60
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
61
61
|
<a href="http://www.doxygen.org/index.html">
|
62
62
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
63
63
|
</body>
|
@@ -34,7 +34,7 @@
|
|
34
34
|
Interface of the TextInput class.
|
35
35
|
<p>
|
36
36
|
</div>
|
37
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
37
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<a name="l00058"></a>00058
|
49
49
|
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
|
50
50
|
</pre></div></div>
|
51
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
51
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
52
52
|
<a href="http://www.doxygen.org/index.html">
|
53
53
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
54
54
|
</body>
|
data/reference/Text_8hpp.html
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
Functions to output text on bitmaps.
|
42
42
|
<p>
|
43
43
|
</div>
|
44
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
44
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
45
45
|
<a href="http://www.doxygen.org/index.html">
|
46
46
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
47
47
|
</body>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
<a name="l00015"></a>00015
|
30
30
|
<a name="l00016"></a>00016 <span class="preprocessor">#endif</span>
|
31
31
|
</pre></div></div>
|
32
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
32
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|
data/reference/Timing_8hpp.html
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
Functions for timing.
|
36
36
|
<p>
|
37
37
|
</div>
|
38
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
38
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
39
39
|
<a href="http://www.doxygen.org/index.html">
|
40
40
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
41
41
|
</body>
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<a name="l00024"></a>00024
|
37
37
|
<a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
|
38
38
|
</pre></div></div>
|
39
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
39
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
40
40
|
<a href="http://www.doxygen.org/index.html">
|
41
41
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
42
42
|
</body>
|
data/reference/Utility_8hpp.html
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
General purpose utility functions.
|
40
40
|
<p>
|
41
41
|
</div>
|
42
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
42
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<a name="l00075"></a>00075
|
73
73
|
<a name="l00076"></a>00076 <span class="preprocessor">#endif</span>
|
74
74
|
</pre></div></div>
|
75
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
75
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
76
76
|
<a href="http://www.doxygen.org/index.html">
|
77
77
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
78
78
|
</body>
|
@@ -57,7 +57,7 @@ template<typename T> </td></tr>
|
|
57
57
|
Contains some functions which are used to implement <a class="el" href="namespaceGosu.html" title="The library's main namespace.">Gosu</a> on Windows and might be useful for advanced users who try to integrate <a class="el" href="namespaceGosu.html" title="The library's main namespace.">Gosu</a> in a Win32 application.
|
58
58
|
<p>
|
59
59
|
</div>
|
60
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
60
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
61
61
|
<a href="http://www.doxygen.org/index.html">
|
62
62
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
63
63
|
</body>
|
@@ -27,64 +27,75 @@
|
|
27
27
|
<a name="l00011"></a>00011 <span class="preprocessor">#include <boost/shared_ptr.hpp></span>
|
28
28
|
<a name="l00012"></a>00012 <span class="preprocessor">#include <boost/function.hpp></span>
|
29
29
|
<a name="l00013"></a>00013 <span class="preprocessor">#include <string></span>
|
30
|
-
<a name="l00014"></a>00014
|
31
|
-
<a name="l00015"></a>00015
|
32
|
-
<a name="l00016"></a>00016 <span class="preprocessor"
|
33
|
-
<a name="l00017"></a>00017 <span class="preprocessor">#
|
34
|
-
<a name="l00018"></a>00018 <span class="preprocessor"
|
35
|
-
<a name="l00019"></a>00019 <span class="
|
36
|
-
<a name="l00020"></a>00020
|
37
|
-
<a name="
|
38
|
-
<a name="
|
39
|
-
<a name="
|
40
|
-
<a name="
|
41
|
-
<a name="
|
42
|
-
<a name="
|
43
|
-
<a name="
|
44
|
-
<a name="
|
45
|
-
<a name="
|
46
|
-
<a name="
|
47
|
-
<a name="
|
48
|
-
<a name="
|
49
|
-
<a name="l00039"></a>00039
|
50
|
-
<a name="
|
51
|
-
<a name="
|
52
|
-
<a name="
|
53
|
-
<a name="
|
54
|
-
<a name="
|
55
|
-
<a name="
|
56
|
-
<a name="
|
57
|
-
<a name="
|
58
|
-
<a name="
|
59
|
-
<a name="
|
60
|
-
<a name="
|
61
|
-
<a name="
|
62
|
-
<a name="
|
63
|
-
<a name="l00062"></a>00062
|
64
|
-
<a name="l00063"></a>00063
|
65
|
-
<a name="l00064"></a>00064 <
|
66
|
-
<a name="l00065"></a>00065
|
67
|
-
<a name="l00066"></a>00066
|
68
|
-
<a name="l00067"></a>00067 <a class="code" href="
|
30
|
+
<a name="l00014"></a>00014 <span class="preprocessor">#include <vector></span>
|
31
|
+
<a name="l00015"></a>00015
|
32
|
+
<a name="l00016"></a>00016 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
|
33
|
+
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include <windows.h></span>
|
34
|
+
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
|
35
|
+
<a name="l00019"></a>00019 <span class="preprocessor"></span>
|
36
|
+
<a name="l00020"></a>00020 <span class="keyword">namespace </span>Gosu
|
37
|
+
<a name="l00021"></a>00021 {
|
38
|
+
<a name="l00022"></a>00022 <span class="preprocessor"> #ifdef GOSU_IS_IPHONE</span>
|
39
|
+
<a name="l00023"></a>00023 <span class="preprocessor"></span> <span class="keyword">struct </span>Touch { <span class="keywordtype">double</span> x, y; };
|
40
|
+
<a name="l00024"></a>00024 <span class="keyword">typedef</span> std::vector<Touch> Touches;
|
41
|
+
<a name="l00025"></a>00025 <span class="preprocessor"> #endif</span>
|
42
|
+
<a name="l00026"></a>00026 <span class="preprocessor"></span>
|
43
|
+
<a name="l00030"></a><a class="code" href="classGosu_1_1Window.html">00030</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>
|
44
|
+
<a name="l00031"></a>00031 {
|
45
|
+
<a name="l00032"></a>00032 <span class="keyword">struct </span>Impl;
|
46
|
+
<a name="l00033"></a>00033 boost::scoped_ptr<Impl> pimpl;
|
47
|
+
<a name="l00034"></a>00034
|
48
|
+
<a name="l00035"></a>00035 <span class="keyword">public</span>:
|
49
|
+
<a name="l00039"></a>00039 <a class="code" href="classGosu_1_1Window.html#369461754934c92b9bd0811dbdad8ffa" title="Constructs a Window.">Window</a>(<span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height, <span class="keywordtype">bool</span> fullscreen,
|
50
|
+
<a name="l00040"></a>00040 <span class="keywordtype">double</span> updateInterval = 16.666666);
|
51
|
+
<a name="l00041"></a>00041 <span class="keyword">virtual</span> ~<a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>();
|
52
|
+
<a name="l00042"></a>00042
|
53
|
+
<a name="l00043"></a>00043 std::wstring caption() <span class="keyword">const</span>;
|
54
|
+
<a name="l00044"></a>00044 <span class="keywordtype">void</span> setCaption(<span class="keyword">const</span> std::wstring& caption);
|
55
|
+
<a name="l00045"></a>00045
|
56
|
+
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4b7c1e5e817d8aaca09f5d19a3a9d93" title="Starts the main event loop.">show</a>();
|
57
|
+
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#ccbd57bf5ea05899e4270e2b20b300a6" title="Closes the window if it is currently shown.">close</a>();
|
58
|
+
<a name="l00050"></a>00050
|
59
|
+
<a name="l00053"></a><a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba">00053</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba" title="Called every updateInterval milliseconds while the window is being shown.">update</a>() {}
|
60
|
+
<a name="l00056"></a><a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8">00056</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8" title="Called after every update and when the OS wants the window to repaint itself.">draw</a>() {}
|
61
|
+
<a name="l00057"></a>00057
|
62
|
+
<a name="l00060"></a><a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5">00060</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5" title="Called before update when the user pressed a button while the window had the focus...">buttonDown</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
|
63
|
+
<a name="l00062"></a><a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc">00062</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc" title="Same as buttonDown. Called then the user released a button.">buttonUp</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
|
64
|
+
<a name="l00063"></a>00063
|
65
|
+
<a name="l00064"></a>00064 <span class="comment">// Ignore when SWIG is wrapping this class for Ruby/Gosu.</span>
|
66
|
+
<a name="l00065"></a>00065 <span class="preprocessor"> #ifndef SWIG</span>
|
67
|
+
<a name="l00066"></a>00066 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>& graphics() <span class="keyword">const</span>;
|
68
|
+
<a name="l00067"></a>00067 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>& graphics();
|
69
69
|
<a name="l00068"></a>00068
|
70
|
-
<a name="l00069"></a>00069
|
71
|
-
<a name="l00070"></a>00070
|
72
|
-
<a name="l00071"></a>00071
|
73
|
-
<a name="l00072"></a>00072 <span class="keyword">
|
74
|
-
<a name="l00073"></a>00073
|
75
|
-
<a name="l00074"></a>00074
|
76
|
-
<a name="l00075"></a>00075 <span class="preprocessor"
|
77
|
-
<a name="l00076"></a>00076
|
78
|
-
<a name="l00077"></a>00077
|
79
|
-
<a name="l00078"></a>00078
|
80
|
-
<a name="l00079"></a>00079
|
81
|
-
<a name="l00080"></a>00080 <span class="preprocessor"> #
|
82
|
-
<a name="l00081"></a>00081 <span class="preprocessor"></span>
|
83
|
-
<a name="l00082"></a>00082
|
84
|
-
<a name="l00083"></a>00083
|
85
|
-
<a name="l00084"></a>00084 <span class="preprocessor"
|
70
|
+
<a name="l00069"></a>00069 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio() <span class="keyword">const</span>;
|
71
|
+
<a name="l00070"></a>00070 <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio();
|
72
|
+
<a name="l00071"></a>00071
|
73
|
+
<a name="l00072"></a>00072 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>& input() <span class="keyword">const</span>;
|
74
|
+
<a name="l00073"></a>00073 <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>& input();
|
75
|
+
<a name="l00074"></a>00074
|
76
|
+
<a name="l00075"></a>00075 <span class="preprocessor"> #ifdef GOSU_IS_WIN</span>
|
77
|
+
<a name="l00076"></a>00076 <span class="preprocessor"></span> <span class="comment">// Only on Windows.</span>
|
78
|
+
<a name="l00077"></a>00077 HWND handle() <span class="keyword">const</span>;
|
79
|
+
<a name="l00078"></a>00078 <span class="keyword">virtual</span> LRESULT <a class="code" href="namespaceGosu_1_1Win.html#31f2a986954cbda89d833e5c4b6023bc" title="Blocking function which waits for the next message, processes it, then returns.">handleMessage</a>(UINT message, WPARAM wparam,
|
80
|
+
<a name="l00079"></a>00079 LPARAM lparam);
|
81
|
+
<a name="l00080"></a>00080 <span class="preprocessor"> #else</span>
|
82
|
+
<a name="l00081"></a>00081 <span class="preprocessor"></span> <span class="comment">// Only on Unices (so far).</span>
|
83
|
+
<a name="l00082"></a>00082 <span class="keyword">typedef</span> boost::shared_ptr<boost::function<void()> > SharedContext;
|
84
|
+
<a name="l00083"></a>00083 SharedContext createSharedContext();
|
85
|
+
<a name="l00084"></a>00084 <span class="preprocessor"> #endif</span>
|
86
|
+
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor"> #ifdef GOSU_IS_IPHONE</span>
|
87
|
+
<a name="l00086"></a>00086 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesBegan(<span class="keyword">const</span> Touches& touches) {}
|
88
|
+
<a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesMoved(<span class="keyword">const</span> Touches& touches) {}
|
89
|
+
<a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesEnded(<span class="keyword">const</span> Touches& touches) {}
|
90
|
+
<a name="l00089"></a>00089 <span class="preprocessor"> #endif </span>
|
91
|
+
<a name="l00090"></a>00090 <span class="preprocessor"></span>
|
92
|
+
<a name="l00091"></a>00091 <span class="preprocessor"> #endif</span>
|
93
|
+
<a name="l00092"></a>00092 <span class="preprocessor"></span> };
|
94
|
+
<a name="l00093"></a>00093 }
|
95
|
+
<a name="l00094"></a>00094
|
96
|
+
<a name="l00095"></a>00095 <span class="preprocessor">#endif</span>
|
86
97
|
</pre></div></div>
|
87
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
98
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
88
99
|
<a href="http://www.doxygen.org/index.html">
|
89
100
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
90
101
|
</body>
|
data/reference/Window_8hpp.html
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
Interface of the Window class.
|
35
35
|
<p>
|
36
36
|
</div>
|
37
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sat
|
37
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by
|
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>
|