gosu 0.7.12 → 0.7.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Gosu/Audio.hpp +1 -0
- data/Gosu/Bitmap.hpp +4 -4
- data/Gosu/Graphics.hpp +3 -0
- data/Gosu/Input.hpp +10 -0
- data/Gosu/Text.hpp +1 -0
- data/Gosu/Window.hpp +20 -9
- data/GosuImpl/Audio/ALChannelManagement.hpp +72 -0
- data/GosuImpl/Audio/AudioFileMac.hpp +105 -0
- data/GosuImpl/AudioOpenAL.mm +486 -0
- data/GosuImpl/DirectoriesTouch.mm +38 -0
- data/GosuImpl/Graphics/BitmapBMP.cpp +23 -8
- data/GosuImpl/Graphics/BitmapTouch.mm +73 -0
- data/GosuImpl/Graphics/BitmapUtils.cpp +0 -2
- data/GosuImpl/Graphics/BlockAllocator.cpp +15 -4
- data/GosuImpl/Graphics/Common.hpp +21 -0
- data/GosuImpl/Graphics/DrawOp.hpp +53 -10
- data/GosuImpl/Graphics/GosuView.hpp +28 -0
- data/GosuImpl/Graphics/GosuView.mm +159 -0
- data/GosuImpl/Graphics/Graphics.cpp +18 -18
- data/GosuImpl/Graphics/LargeImageData.cpp +3 -0
- data/GosuImpl/Graphics/TexChunk.cpp +3 -2
- data/GosuImpl/Graphics/Text.cpp +85 -20
- data/GosuImpl/Graphics/TextMac.cpp +14 -27
- data/GosuImpl/Graphics/TextTouch.mm +89 -0
- data/GosuImpl/Graphics/Texture.cpp +1 -5
- data/GosuImpl/Iconv.hpp +5 -3
- data/GosuImpl/InputMac.mm +8 -9
- data/GosuImpl/InputTouch.mm +47 -0
- data/GosuImpl/InputWin.cpp +12 -4
- data/GosuImpl/InputX.cpp +3 -1
- data/GosuImpl/MacUtility.hpp +41 -0
- data/GosuImpl/Math.cpp +1 -1
- data/GosuImpl/RubyGosu.swg +17 -6
- data/GosuImpl/RubyGosu_wrap.cxx +950 -549
- data/GosuImpl/RubyGosu_wrap.h +2 -1
- data/GosuImpl/TimingUnix.cpp +15 -17
- data/GosuImpl/UtilityTouch.mm +44 -0
- data/GosuImpl/WindowMac.mm +39 -19
- data/GosuImpl/WindowTouch.mm +154 -0
- data/GosuImpl/WindowWin.cpp +27 -10
- data/GosuImpl/WindowX.cpp +27 -7
- data/linux/extconf.rb +6 -0
- data/mac/Gosu.icns +0 -0
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +562 -788
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +113 -103
- data/mac/Gosu.xcodeproj/project.pbxproj +258 -173
- data/reference/Async_8hpp-source.html +1 -1
- data/reference/Audio_8hpp-source.html +91 -90
- 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 +11 -12
- 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 +1 -1
- data/reference/GraphicsBase_8hpp.html +1 -1
- data/reference/Graphics_8hpp-source.html +64 -61
- data/reference/Graphics_8hpp.html +8 -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 +81 -71
- data/reference/Input_8hpp.html +7 -1
- data/reference/Math_8hpp-source.html +1 -1
- data/reference/Math_8hpp.html +1 -1
- data/reference/Platform_8hpp-source.html +1 -1
- 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 +28 -27
- 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 +76 -68
- 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 +3 -2
- data/reference/classGosu_1_1Bitmap.html +9 -6
- 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 +2 -2
- 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 +1 -1
- data/reference/classGosu_1_1Input.html +1 -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 +1 -1
- data/reference/classGosu_1_1Sample.html +1 -1
- data/reference/classGosu_1_1SampleInstance-members.html +1 -1
- data/reference/classGosu_1_1SampleInstance.html +1 -1
- data/reference/classGosu_1_1Song-members.html +1 -1
- data/reference/classGosu_1_1Song.html +1 -1
- data/reference/classGosu_1_1TextInput-members.html +1 -1
- data/reference/classGosu_1_1TextInput.html +1 -1
- data/reference/classGosu_1_1Window-members.html +3 -3
- data/reference/classGosu_1_1Window.html +27 -9
- data/reference/files.html +1 -1
- data/reference/functions.html +10 -5
- data/reference/functions_enum.html +1 -1
- data/reference/functions_func.html +10 -5
- data/reference/functions_vars.html +1 -1
- data/reference/hierarchy.html +1 -1
- data/reference/index.html +1 -1
- data/reference/namespaceGosu.html +13 -2
- data/reference/namespaceGosu_1_1Colors.html +1 -1
- data/reference/namespaceGosu_1_1Win.html +1 -1
- data/reference/namespacemembers.html +1 -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 +1 -1
- data/reference/namespaces.html +1 -1
- data/windows/Gosu.sln +2 -2
- data/windows/Gosu.vcproj +7 -8
- data/windows/RubyGosu.vcproj +5 -5
- metadata +14 -2
@@ -63,7 +63,7 @@
|
|
63
63
|
<a name="l00047"></a>00047
|
64
64
|
<a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
|
65
65
|
</pre></div></div>
|
66
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
66
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
67
67
|
<a href="http://www.doxygen.org/index.html">
|
68
68
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
69
69
|
</body>
|
@@ -27,97 +27,98 @@
|
|
27
27
|
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include <windows.h></span>
|
28
28
|
<a name="l00012"></a>00012 <span class="preprocessor">#endif</span>
|
29
29
|
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="Fwd_8hpp.html" title="Contains declarations of all of Gosu&#39;s available classes.">Gosu/Fwd.hpp</a>></span>
|
30
|
-
<a name="l00014"></a>00014 <span class="preprocessor">#include <<a class="code" href="
|
31
|
-
<a name="l00015"></a>00015 <span class="preprocessor">#include <
|
32
|
-
<a name="l00016"></a>00016 <span class="preprocessor">#include <boost/
|
33
|
-
<a name="l00017"></a>00017 <span class="preprocessor">#include <
|
34
|
-
<a name="l00018"></a>00018
|
35
|
-
<a name="l00019"></a>00019
|
36
|
-
<a name="l00020"></a>00020
|
37
|
-
<a name="
|
38
|
-
<a name="l00026"></a>00026
|
39
|
-
<a name="l00027"></a>00027
|
40
|
-
<a name="l00028"></a>00028
|
41
|
-
<a name="l00029"></a>00029 <span class="preprocessor"
|
42
|
-
<a name="l00030"></a>00030 <span class="preprocessor"
|
43
|
-
<a name="l00031"></a>00031 <span class="preprocessor"
|
44
|
-
<a name="l00032"></a>00032 <span class="preprocessor"
|
45
|
-
<a name="l00033"></a>00033 <span class="preprocessor"
|
46
|
-
<a name="l00034"></a>00034
|
47
|
-
<a name="l00035"></a>00035
|
48
|
-
<a name="
|
49
|
-
<a name="l00041"></a>00041
|
50
|
-
<a name="l00042"></a>00042
|
51
|
-
<a name="l00043"></a>00043 <span class="keywordtype">
|
52
|
-
<a name="l00044"></a>00044
|
53
|
-
<a name="l00045"></a>00045
|
54
|
-
<a name="
|
55
|
-
<a name="l00048"></a>00048
|
56
|
-
<a name="l00049"></a>00049
|
57
|
-
<a name="l00050"></a>00050 <span class="keywordtype">bool</span>
|
58
|
-
<a name="l00051"></a>00051 <span class="keywordtype">
|
59
|
-
<a name="l00052"></a>00052 <span class="keywordtype">void</span>
|
60
|
-
<a name="l00053"></a>00053 <span class="keywordtype">void</span>
|
61
|
-
<a name="l00054"></a>00054
|
62
|
-
<a name="
|
63
|
-
<a name="
|
64
|
-
<a name="
|
65
|
-
<a name="l00064"></a>00064
|
66
|
-
<a name="l00065"></a>00065
|
67
|
-
<a name="
|
68
|
-
<a name="l00070"></a>00070
|
69
|
-
<a name="l00071"></a>00071
|
70
|
-
<a name="l00072"></a>00072
|
71
|
-
<a name="l00073"></a>00073
|
72
|
-
<a name="l00074"></a>00074
|
73
|
-
<a name="
|
74
|
-
<a name="l00078"></a>00078
|
75
|
-
<a name="
|
76
|
-
<a name="l00082"></a>00082
|
77
|
-
<a name="l00083"></a>00083
|
78
|
-
<a name="l00084"></a>00084
|
79
|
-
<a name="
|
80
|
-
<a name="l00092"></a>00092
|
81
|
-
<a name="l00093"></a>00093
|
82
|
-
<a name="
|
83
|
-
<a name="l00104"></a>00104
|
84
|
-
<a name="l00105"></a>00105
|
85
|
-
<a name="l00106"></a>00106
|
86
|
-
<a name="
|
87
|
-
<a name="l00110"></a>00110
|
88
|
-
<a name="l00111"></a>00111
|
89
|
-
<a name="l00112"></a>00112 <span class="keyword">class </span>
|
90
|
-
<a name="l00113"></a>00113 <span class="keyword">class </span>
|
91
|
-
<a name="l00114"></a>00114
|
92
|
-
<a name="l00115"></a>00115
|
93
|
-
<a name="l00116"></a>00116
|
94
|
-
<a name="
|
95
|
-
<a name="l00120"></a>00120
|
96
|
-
<a name="l00121"></a>00121
|
97
|
-
<a name="l00122"></a>00122
|
98
|
-
<a name="l00123"></a>00123
|
99
|
-
<a name="l00124"></a>00124
|
100
|
-
<a name="
|
101
|
-
<a name="l00129"></a>00129
|
102
|
-
<a name="
|
103
|
-
<a name="l00133"></a>00133
|
104
|
-
<a name="l00134"></a>00134
|
105
|
-
<a name="l00135"></a>00135
|
106
|
-
<a name="
|
107
|
-
<a name="l00140"></a>00140
|
108
|
-
<a name="
|
109
|
-
<a name="
|
110
|
-
<a name="
|
111
|
-
<a name="
|
112
|
-
<a name="
|
113
|
-
<a name="
|
114
|
-
<a name="
|
115
|
-
<a name="l00159"></a>00159
|
116
|
-
<a name="l00160"></a>00160
|
117
|
-
<a name="l00161"></a>00161
|
118
|
-
<a name="l00162"></a>00162
|
30
|
+
<a name="l00014"></a>00014 <span class="preprocessor">#include <<a class="code" href="IO_8hpp.html" title="Contains everything related to input and output.">Gosu/IO.hpp</a>></span>
|
31
|
+
<a name="l00015"></a>00015 <span class="preprocessor">#include <<a class="code" href="Platform_8hpp.html" title="Macros and utility functions to facilitate programming on all of Gosu&#39;s supported...">Gosu/Platform.hpp</a>></span>
|
32
|
+
<a name="l00016"></a>00016 <span class="preprocessor">#include <boost/scoped_ptr.hpp></span>
|
33
|
+
<a name="l00017"></a>00017 <span class="preprocessor">#include <boost/utility.hpp></span>
|
34
|
+
<a name="l00018"></a>00018 <span class="preprocessor">#include <string></span>
|
35
|
+
<a name="l00019"></a>00019
|
36
|
+
<a name="l00020"></a>00020 <span class="keyword">namespace </span>Gosu
|
37
|
+
<a name="l00021"></a>00021 {
|
38
|
+
<a name="l00026"></a><a class="code" href="classGosu_1_1Audio.html">00026</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a> : boost::noncopyable
|
39
|
+
<a name="l00027"></a>00027 {
|
40
|
+
<a name="l00028"></a>00028 <span class="keyword">public</span>:
|
41
|
+
<a name="l00029"></a>00029 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
|
42
|
+
<a name="l00030"></a>00030 <span class="preprocessor"></span> <span class="keyword">explicit</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>(HWND window);
|
43
|
+
<a name="l00031"></a>00031 <span class="preprocessor">#else</span>
|
44
|
+
<a name="l00032"></a>00032 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
|
45
|
+
<a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
|
46
|
+
<a name="l00034"></a>00034 <span class="preprocessor"></span> ~<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
|
47
|
+
<a name="l00035"></a>00035 };
|
48
|
+
<a name="l00036"></a>00036
|
49
|
+
<a name="l00041"></a><a class="code" href="classGosu_1_1SampleInstance.html">00041</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a>
|
50
|
+
<a name="l00042"></a>00042 {
|
51
|
+
<a name="l00043"></a>00043 <span class="keywordtype">int</span> handle, extra;
|
52
|
+
<a name="l00044"></a>00044 <span class="keywordtype">bool</span> alive() <span class="keyword">const</span>;
|
53
|
+
<a name="l00045"></a>00045
|
54
|
+
<a name="l00046"></a>00046 <span class="keyword">public</span>:
|
55
|
+
<a name="l00048"></a>00048 <a class="code" href="classGosu_1_1SampleInstance.html#1dcf6b649592940d21d3d2487e510c7e" title="Called by Sample, do not use.">SampleInstance</a>(<span class="keywordtype">int</span> handle, <span class="keywordtype">int</span> extra);
|
56
|
+
<a name="l00049"></a>00049
|
57
|
+
<a name="l00050"></a>00050 <span class="keywordtype">bool</span> playing() <span class="keyword">const</span>;
|
58
|
+
<a name="l00051"></a>00051 <span class="keywordtype">bool</span> paused() <span class="keyword">const</span>;
|
59
|
+
<a name="l00052"></a>00052 <span class="keywordtype">void</span> pause();
|
60
|
+
<a name="l00053"></a>00053 <span class="keywordtype">void</span> resume();
|
61
|
+
<a name="l00054"></a>00054 <span class="keywordtype">void</span> stop();
|
62
|
+
<a name="l00055"></a>00055
|
63
|
+
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#bb54d7569ac18cdad24da5d538cca1b5">changeVolume</a>(<span class="keywordtype">double</span> volume);
|
64
|
+
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#def37ef2af53716fb0b10e06263468d0">changePan</a>(<span class="keywordtype">double</span> pan);
|
65
|
+
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#3de21bed437c846734cf06243a5db112">changeSpeed</a>(<span class="keywordtype">double</span> speed);
|
66
|
+
<a name="l00065"></a>00065 };
|
67
|
+
<a name="l00066"></a>00066
|
68
|
+
<a name="l00070"></a><a class="code" href="classGosu_1_1Sample.html">00070</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>
|
69
|
+
<a name="l00071"></a>00071 {
|
70
|
+
<a name="l00072"></a>00072 <span class="keyword">struct </span>SampleData;
|
71
|
+
<a name="l00073"></a>00073 boost::scoped_ptr<SampleData> data;
|
72
|
+
<a name="l00074"></a>00074
|
73
|
+
<a name="l00075"></a>00075 <span class="keyword">public</span>:
|
74
|
+
<a name="l00078"></a>00078 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio, <span class="keyword">const</span> std::wstring& filename);
|
75
|
+
<a name="l00079"></a>00079
|
76
|
+
<a name="l00082"></a>00082 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio, Reader reader);
|
77
|
+
<a name="l00083"></a>00083
|
78
|
+
<a name="l00084"></a>00084 ~<a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>();
|
79
|
+
<a name="l00085"></a>00085
|
80
|
+
<a name="l00092"></a>00092 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8" title="Plays the sample without panning.">play</a>(<span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
|
81
|
+
<a name="l00093"></a>00093 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
|
82
|
+
<a name="l00094"></a>00094
|
83
|
+
<a name="l00104"></a>00104 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#13032b78fa19f7324035c6fbee6e5069" title="Plays the sample with panning.">playPan</a>(<span class="keywordtype">double</span> pan, <span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
|
84
|
+
<a name="l00105"></a>00105 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
|
85
|
+
<a name="l00106"></a>00106 };
|
86
|
+
<a name="l00107"></a>00107
|
87
|
+
<a name="l00110"></a><a class="code" href="classGosu_1_1Song.html">00110</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>
|
88
|
+
<a name="l00111"></a>00111 {
|
89
|
+
<a name="l00112"></a>00112 <span class="keyword">class </span>BaseData;
|
90
|
+
<a name="l00113"></a>00113 <span class="keyword">class </span>ModuleData;
|
91
|
+
<a name="l00114"></a>00114 <span class="keyword">class </span>StreamData;
|
92
|
+
<a name="l00115"></a>00115 boost::scoped_ptr<BaseData> data;
|
93
|
+
<a name="l00116"></a>00116
|
94
|
+
<a name="l00117"></a>00117 <span class="keyword">public</span>:
|
95
|
+
<a name="l00120"></a><a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">00120</a> <span class="keyword">enum</span> <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a>
|
96
|
+
<a name="l00121"></a>00121 {
|
97
|
+
<a name="l00122"></a>00122 stStream,
|
98
|
+
<a name="l00123"></a>00123 stModule
|
99
|
+
<a name="l00124"></a>00124 };
|
100
|
+
<a name="l00125"></a>00125
|
101
|
+
<a name="l00129"></a>00129 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&, <span class="keyword">const</span> std::wstring& filename);
|
102
|
+
<a name="l00130"></a>00130
|
103
|
+
<a name="l00133"></a>00133 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&, <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a> type, Reader reader);
|
104
|
+
<a name="l00134"></a>00134
|
105
|
+
<a name="l00135"></a>00135 ~<a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>();
|
106
|
+
<a name="l00136"></a>00136
|
107
|
+
<a name="l00140"></a>00140 <span class="keyword">static</span> <a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>* <a class="code" href="classGosu_1_1Song.html#3f6c94bd9ea9522430d6e0d1e1e64250" title="Returns the song currently being played or paused, or 0 if no song has been played...">currentSong</a>();
|
108
|
+
<a name="l00141"></a>00141
|
109
|
+
<a name="l00144"></a>00144 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#6b9cb7b452a737455e8cf4e7d90acff9" title="Starts or resumes playback of the song.">play</a>(<span class="keywordtype">bool</span> looping = <span class="keyword">false</span>);
|
110
|
+
<a name="l00147"></a>00147 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#9ae053fbee6f240d2793fab3fa4ef596" title="Pauses playback of the song.">pause</a>();
|
111
|
+
<a name="l00150"></a>00150 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#a0d611bf37c19086797c9e46e001e092" title="Returns true if the song is the current song, but in paused mode.">paused</a>() <span class="keyword">const</span>;
|
112
|
+
<a name="l00153"></a>00153 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#469a3cf49be8ebec2c9855dec46f5f71" title="Stops playback of this song if it is currently played or paused.">stop</a>();
|
113
|
+
<a name="l00155"></a>00155 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#c83d4b509149c2b1fb48ad697fb1adf3" title="Returns if the song is currently playing.">playing</a>() <span class="keyword">const</span>;
|
114
|
+
<a name="l00157"></a>00157 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>() <span class="keyword">const</span>;
|
115
|
+
<a name="l00159"></a>00159 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#e460032103a9ddb7e0dd50f53fb9d36e" title="Changes the volume of the song.">changeVolume</a>(<span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>);
|
116
|
+
<a name="l00160"></a>00160 };
|
117
|
+
<a name="l00161"></a>00161 }
|
118
|
+
<a name="l00162"></a>00162
|
119
|
+
<a name="l00163"></a>00163 <span class="preprocessor">#endif</span>
|
119
120
|
</pre></div></div>
|
120
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
121
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
121
122
|
<a href="http://www.doxygen.org/index.html">
|
122
123
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
123
124
|
</body>
|
data/reference/Audio_8hpp.html
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
Contains all the classes of Gosu's audio system.
|
44
44
|
<p>
|
45
45
|
</div>
|
46
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
46
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<a name="l00015"></a>00015 <span class="preprocessor">#endif</span>
|
32
32
|
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
33
33
|
</pre></div></div>
|
34
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
34
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
35
35
|
<a href="http://www.doxygen.org/index.html">
|
36
36
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
37
37
|
</body>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
Contains pragmas that make MSVC link against all the necessary libraries automatically.
|
28
28
|
<p>
|
29
29
|
</div>
|
30
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
30
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
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>
|
@@ -56,29 +56,28 @@
|
|
56
56
|
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Bitmap.html#fe59c7aed8ffadefb136eff87326c13e" title="Inserts a bitmap at the given position.">insert</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>& source, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> srcX,
|
57
57
|
<a name="l00055"></a>00055 <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight);
|
58
58
|
<a name="l00056"></a>00056
|
59
|
-
<a name="
|
60
|
-
<a name="
|
61
|
-
<a name="
|
62
|
-
<a name="l00061"></a>00061 <span class="preprocessor"></span> };
|
59
|
+
<a name="l00059"></a><a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe">00059</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span>* <a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe" title="Direct access to the array of color values.">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast<</span><span class="keyword">const </span><span class="keywordtype">unsigned</span>*<span class="keyword">></span>(&pixels[0]); }
|
60
|
+
<a name="l00060"></a>00060 <span class="keywordtype">unsigned</span>* <a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe" title="Direct access to the array of color values.">data</a>() { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast<</span><span class="keywordtype">unsigned</span>*<span class="keyword">></span>(&pixels[0]); }
|
61
|
+
<a name="l00061"></a>00061 };
|
63
62
|
<a name="l00062"></a>00062
|
64
|
-
<a name="l00064"></a>00064 Reader <a class="code" href="namespaceGosu.html#5eb2a400728e57559f35615af17ead55" title="Loads a Windows or OS/2 BMP file into the given bitmap.">loadFromBMP</a>(
|
65
|
-
<a name="l00066"></a>00066 Writer <a class="code" href="namespaceGosu.html#88c53b6073e06c2ce343bf49579b02de" title="Saves the contents of the given bitmap into windows BMP file data.">saveToBMP</a>(<span class="keyword">const</span>
|
66
|
-
<a name="l00068"></a>00068 Reader <a class="code" href="namespaceGosu.html#1be1c9db6a1ecf3b5c62797079e49e70" title="Loads a PNG file into the given bitmap.">loadFromPNG</a>(
|
67
|
-
<a name="l00070"></a>00070 Writer <a class="code" href="namespaceGosu.html#7c1a78c796335d8f2183a6694a911eb7" title="Saves the contents of the given bitmap into PNG file data, 24 bits.">saveToPNG</a>(<span class="keyword">const</span>
|
63
|
+
<a name="l00064"></a>00064 Reader <a class="code" href="namespaceGosu.html#5eb2a400728e57559f35615af17ead55" title="Loads a Windows or OS/2 BMP file into the given bitmap.">loadFromBMP</a>(Bitmap& bmp, Reader reader);
|
64
|
+
<a name="l00066"></a>00066 Writer <a class="code" href="namespaceGosu.html#88c53b6073e06c2ce343bf49579b02de" title="Saves the contents of the given bitmap into windows BMP file data.">saveToBMP</a>(<span class="keyword">const</span> Bitmap& bmp, Writer writer);
|
65
|
+
<a name="l00068"></a>00068 Reader <a class="code" href="namespaceGosu.html#1be1c9db6a1ecf3b5c62797079e49e70" title="Loads a PNG file into the given bitmap.">loadFromPNG</a>(Bitmap& bmp, Reader reader);
|
66
|
+
<a name="l00070"></a>00070 Writer <a class="code" href="namespaceGosu.html#7c1a78c796335d8f2183a6694a911eb7" title="Saves the contents of the given bitmap into PNG file data, 24 bits.">saveToPNG</a>(<span class="keyword">const</span> Bitmap& bmp, Writer writer);
|
68
67
|
<a name="l00071"></a>00071
|
69
|
-
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="namespaceGosu.html#97ea4128d29b9835243e69939085bfa5" title="Set the alpha value of all pixels which are equal to the color key to zero.">applyColorKey</a>(
|
68
|
+
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="namespaceGosu.html#97ea4128d29b9835243e69939085bfa5" title="Set the alpha value of all pixels which are equal to the color key to zero.">applyColorKey</a>(Bitmap& bitmap, Color key);
|
70
69
|
<a name="l00076"></a>00076
|
71
|
-
<a name="l00077"></a>00077 <span class="keywordtype">void</span> applyBorderFlags(
|
70
|
+
<a name="l00077"></a>00077 <span class="keywordtype">void</span> applyBorderFlags(Bitmap& dest, <span class="keyword">const</span> Bitmap& source,
|
72
71
|
<a name="l00078"></a>00078 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
|
73
72
|
<a name="l00079"></a>00079 <span class="keywordtype">unsigned</span> borderFlags);
|
74
73
|
<a name="l00080"></a>00080
|
75
74
|
<a name="l00081"></a>00081 <span class="comment">// Still to be moved around & undocumented, beware! (TODO)</span>
|
76
|
-
<a name="l00082"></a>00082
|
75
|
+
<a name="l00082"></a>00082 Bitmap quickLoadBitmap(<span class="keyword">const</span> std::wstring& filename);
|
77
76
|
<a name="l00083"></a>00083 }
|
78
77
|
<a name="l00084"></a>00084
|
79
78
|
<a name="l00085"></a>00085 <span class="preprocessor">#endif</span>
|
80
79
|
</pre></div></div>
|
81
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
80
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
82
81
|
<a href="http://www.doxygen.org/index.html">
|
83
82
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
84
83
|
</body>
|
data/reference/Bitmap_8hpp.html
CHANGED
@@ -51,7 +51,7 @@ Bitmap </td><td class="memItemRight" valign="bottom"><b>Gosu::quickLoadBitm
|
|
51
51
|
Interface of the Bitmap class.
|
52
52
|
<p>
|
53
53
|
</div>
|
54
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
54
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
55
55
|
<a href="http://www.doxygen.org/index.html">
|
56
56
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
57
57
|
</body>
|
@@ -152,7 +152,7 @@
|
|
152
152
|
<a name="l00139"></a>00139
|
153
153
|
<a name="l00140"></a>00140 <span class="preprocessor">#endif</span>
|
154
154
|
</pre></div></div>
|
155
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
155
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
156
156
|
<a href="http://www.doxygen.org/index.html">
|
157
157
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
158
158
|
</body>
|
@@ -152,7 +152,7 @@
|
|
152
152
|
<a name="l00136"></a>00136
|
153
153
|
<a name="l00137"></a>00137 <span class="preprocessor">#endif</span>
|
154
154
|
</pre></div></div>
|
155
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
155
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
156
156
|
<a href="http://www.doxygen.org/index.html">
|
157
157
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
158
158
|
</body>
|
@@ -153,7 +153,7 @@
|
|
153
153
|
<a name="l00140"></a>00140 <span class="preprocessor">#endif</span>
|
154
154
|
<a name="l00141"></a>00141 <span class="preprocessor"></span>
|
155
155
|
</pre></div></div>
|
156
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
156
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
157
157
|
<a href="http://www.doxygen.org/index.html">
|
158
158
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
159
159
|
</body>
|
@@ -162,7 +162,7 @@
|
|
162
162
|
<a name="l00171"></a>00171
|
163
163
|
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
|
164
164
|
</pre></div></div>
|
165
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
165
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
166
166
|
<a href="http://www.doxygen.org/index.html">
|
167
167
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
168
168
|
</body>
|
data/reference/Color_8hpp.html
CHANGED
@@ -78,7 +78,7 @@ const Color </td><td class="memItemRight" valign="bottom"><b>Gosu::Colors::
|
|
78
78
|
Interface of the Color class.
|
79
79
|
<p>
|
80
80
|
</div>
|
81
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
81
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
82
82
|
<a href="http://www.doxygen.org/index.html">
|
83
83
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
84
84
|
</body>
|
@@ -35,7 +35,7 @@
|
|
35
35
|
<a name="l00035"></a>00035
|
36
36
|
<a name="l00036"></a>00036 <span class="preprocessor">#endif</span>
|
37
37
|
</pre></div></div>
|
38
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
38
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
|
@@ -39,7 +39,7 @@
|
|
39
39
|
Access to a small set of system paths.
|
40
40
|
<p>
|
41
41
|
</div>
|
42
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
42
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<a name="l00058"></a>00058
|
59
59
|
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
|
60
60
|
</pre></div></div>
|
61
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
61
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
62
62
|
<a href="http://www.doxygen.org/index.html">
|
63
63
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
64
64
|
</body>
|
data/reference/Font_8hpp.html
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
Interface of the Font class.
|
35
35
|
<p>
|
36
36
|
</div>
|
37
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
37
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<a name="l00030"></a>00030
|
46
46
|
<a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
|
47
47
|
</pre></div></div>
|
48
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
48
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
49
49
|
<a href="http://www.doxygen.org/index.html">
|
50
50
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
51
51
|
</body>
|
data/reference/Fwd_8hpp.html
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
Contains declarations of all of Gosu's available classes.
|
31
31
|
<p>
|
32
32
|
</div>
|
33
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
33
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
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>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<a name="l00026"></a>00026
|
43
43
|
<a name="l00027"></a>00027 <span class="preprocessor">#endif</span>
|
44
44
|
</pre></div></div>
|
45
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
45
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
46
46
|
<a href="http://www.doxygen.org/index.html">
|
47
47
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
48
48
|
</body>
|
data/reference/Gosu_8hpp.html
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
Umbrella header for lazy people with fast compilers, or pre-compiled headers.
|
28
28
|
<p>
|
29
29
|
</div>
|
30
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
30
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
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>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<a name="l00049"></a>00049
|
53
53
|
<a name="l00050"></a>00050 <span class="preprocessor">#endif</span>
|
54
54
|
</pre></div></div>
|
55
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
55
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
56
56
|
<a href="http://www.doxygen.org/index.html">
|
57
57
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
58
58
|
</body>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
Contains general typedefs and enums related to graphics.
|
53
53
|
<p>
|
54
54
|
</div>
|
55
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
55
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
56
56
|
<a href="http://www.doxygen.org/index.html">
|
57
57
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
58
58
|
</body>
|
@@ -28,68 +28,71 @@
|
|
28
28
|
<a name="l00012"></a>00012
|
29
29
|
<a name="l00013"></a>00013 <span class="keyword">namespace </span>Gosu
|
30
30
|
<a name="l00014"></a>00014 {
|
31
|
-
<a name="
|
32
|
-
<a name="
|
33
|
-
<a name="
|
34
|
-
<a name="l00019"></a>00019
|
35
|
-
<a name="l00020"></a>00020
|
36
|
-
<a name="l00021"></a>00021
|
37
|
-
<a name="l00022"></a>00022
|
38
|
-
<a name="l00023"></a>00023
|
39
|
-
<a name="l00024"></a>00024
|
40
|
-
<a name="l00025"></a>00025
|
41
|
-
<a name="
|
42
|
-
<a name="
|
43
|
-
<a name="
|
44
|
-
<a name="l00032"></a>00032
|
45
|
-
<a name="l00033"></a>00033
|
46
|
-
<a name="l00034"></a>00034
|
47
|
-
<a name="l00035"></a>00035
|
48
|
-
<a name="l00036"></a>00036
|
49
|
-
<a name="l00037"></a>00037
|
50
|
-
<a name="l00038"></a>00038 <
|
51
|
-
<a name="l00039"></a>00039
|
52
|
-
<a name="l00040"></a>00040
|
53
|
-
<a name="l00041"></a>00041 <span class="
|
54
|
-
<a name="l00042"></a>00042 <span class="
|
55
|
-
<a name="l00043"></a>00043
|
56
|
-
<a name="l00044"></a>00044 <span class="keywordtype">
|
57
|
-
<a name="l00045"></a>00045 <span class="
|
58
|
-
<a name="l00046"></a>00046
|
59
|
-
<a name="l00047"></a>00047
|
60
|
-
<a name="
|
61
|
-
<a name="
|
62
|
-
<a name="
|
63
|
-
<a name="
|
64
|
-
<a name="
|
65
|
-
<a name="
|
66
|
-
<a name="l00060"></a>00060 <span class="
|
67
|
-
<a name="l00061"></a>00061 <span class="
|
68
|
-
<a name="l00062"></a>00062
|
69
|
-
<a name="l00063"></a>00063 <span class="
|
70
|
-
<a name="l00064"></a>00064
|
71
|
-
<a name="l00065"></a>00065
|
72
|
-
<a name="l00066"></a>00066
|
73
|
-
<a name="l00067"></a>00067
|
74
|
-
<a name="l00068"></a>00068 <
|
75
|
-
<a name="l00069"></a>00069
|
76
|
-
<a name="l00070"></a>00070
|
77
|
-
<a name="l00071"></a>00071
|
78
|
-
<a name="l00072"></a>00072
|
79
|
-
<a name="l00073"></a>00073 <
|
80
|
-
<a name="l00074"></a>00074
|
81
|
-
<a name="l00075"></a>00075
|
82
|
-
<a name="l00076"></a>00076 <
|
83
|
-
<a name="l00077"></a>00077
|
84
|
-
<a name="
|
85
|
-
<a name="
|
86
|
-
<a name="
|
87
|
-
<a name="l00083"></a>00083
|
88
|
-
<a name="l00084"></a>00084
|
89
|
-
<a name="l00085"></a>00085
|
90
|
-
<a name="l00086"></a>00086
|
31
|
+
<a name="l00015"></a>00015 <span class="keywordtype">unsigned</span> screenWidth();
|
32
|
+
<a name="l00016"></a>00016 <span class="keywordtype">unsigned</span> screenHeight();
|
33
|
+
<a name="l00017"></a>00017
|
34
|
+
<a name="l00019"></a><a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82">00019</a> <span class="keyword">enum</span> <a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82" title="Flags that affect the softness of a border.">BorderFlags</a>
|
35
|
+
<a name="l00020"></a>00020 {
|
36
|
+
<a name="l00021"></a>00021 bfSoft = 0,
|
37
|
+
<a name="l00022"></a>00022 bfHardLeft = 1,
|
38
|
+
<a name="l00023"></a>00023 bfHardTop = 2,
|
39
|
+
<a name="l00024"></a>00024 bfHardRight = 4,
|
40
|
+
<a name="l00025"></a>00025 bfHardBottom = 8,
|
41
|
+
<a name="l00026"></a>00026 bfHard = bfHardLeft | bfHardTop | bfHardRight | bfHardBottom
|
42
|
+
<a name="l00027"></a>00027 };
|
43
|
+
<a name="l00028"></a>00028
|
44
|
+
<a name="l00032"></a><a class="code" href="classGosu_1_1Graphics.html">00032</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>
|
45
|
+
<a name="l00033"></a>00033 {
|
46
|
+
<a name="l00034"></a>00034 <span class="keyword">struct </span>Impl;
|
47
|
+
<a name="l00035"></a>00035 boost::scoped_ptr<Impl> pimpl;
|
48
|
+
<a name="l00036"></a>00036
|
49
|
+
<a name="l00037"></a>00037 <span class="keyword">public</span>:
|
50
|
+
<a name="l00038"></a>00038 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>(<span class="keywordtype">unsigned</span> physicalWidth, <span class="keywordtype">unsigned</span> physicalHeight, <span class="keywordtype">bool</span> fullscreen);
|
51
|
+
<a name="l00039"></a>00039 ~<a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>();
|
52
|
+
<a name="l00040"></a>00040
|
53
|
+
<a name="l00041"></a>00041 <span class="comment">// Undocumented until I have thought about this...</span>
|
54
|
+
<a name="l00042"></a>00042 <span class="keywordtype">double</span> factorX() <span class="keyword">const</span>;
|
55
|
+
<a name="l00043"></a>00043 <span class="keywordtype">double</span> factorY() <span class="keyword">const</span>;
|
56
|
+
<a name="l00044"></a>00044 <span class="keywordtype">void</span> setResolution(<span class="keywordtype">unsigned</span> virtualWidth, <span class="keywordtype">unsigned</span> virtualHeight);
|
57
|
+
<a name="l00045"></a>00045 <span class="comment">// End of Undocumented</span>
|
58
|
+
<a name="l00046"></a>00046
|
59
|
+
<a name="l00047"></a>00047 <span class="keywordtype">unsigned</span> width() <span class="keyword">const</span>;
|
60
|
+
<a name="l00048"></a>00048 <span class="keywordtype">unsigned</span> height() <span class="keyword">const</span>;
|
61
|
+
<a name="l00049"></a>00049 <span class="keywordtype">bool</span> fullscreen() <span class="keyword">const</span>;
|
62
|
+
<a name="l00050"></a>00050
|
63
|
+
<a name="l00053"></a>00053 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = Colors::black);
|
64
|
+
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#ddeab66c3a18c0a12df43067de841b71" title="Every call to begin must have a matching call to end.">end</a>();
|
65
|
+
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#207f436a09bd02e11ddc474565912135" title="Finishes all pending Gosu drawing operations and executes the following OpenGL code...">beginGL</a>();
|
66
|
+
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#3e37d9b17e55fa5f6d3ad6116759364f" title="Resets Gosu into its default rendering state.">endGL</a>();
|
67
|
+
<a name="l00061"></a>00061 <span class="comment">// Enables clipping to a specified rectangle.</span>
|
68
|
+
<a name="l00062"></a>00062 <span class="keywordtype">void</span> beginClipping(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height);
|
69
|
+
<a name="l00063"></a>00063 <span class="comment">// Disables clipping.</span>
|
70
|
+
<a name="l00064"></a>00064 <span class="keywordtype">void</span> endClipping();
|
71
|
+
<a name="l00065"></a>00065
|
72
|
+
<a name="l00066"></a>00066 <span class="keywordtype">void</span> drawLine(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
73
|
+
<a name="l00067"></a>00067 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
74
|
+
<a name="l00068"></a>00068 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
75
|
+
<a name="l00069"></a>00069
|
76
|
+
<a name="l00070"></a>00070 <span class="keywordtype">void</span> drawTriangle(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
77
|
+
<a name="l00071"></a>00071 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
78
|
+
<a name="l00072"></a>00072 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
79
|
+
<a name="l00073"></a>00073 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
80
|
+
<a name="l00074"></a>00074
|
81
|
+
<a name="l00075"></a>00075 <span class="keywordtype">void</span> drawQuad(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
|
82
|
+
<a name="l00076"></a>00076 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
|
83
|
+
<a name="l00077"></a>00077 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
|
84
|
+
<a name="l00078"></a>00078 <span class="keywordtype">double</span> x4, <span class="keywordtype">double</span> y4, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c4,
|
85
|
+
<a name="l00079"></a>00079 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&#39;s channels will be interpolated.">amDefault</a>);
|
86
|
+
<a name="l00080"></a>00080
|
87
|
+
<a name="l00083"></a>00083 std::auto_ptr<ImageData> <a class="code" href="classGosu_1_1Graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">createImage</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>& src,
|
88
|
+
<a name="l00084"></a>00084 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
|
89
|
+
<a name="l00085"></a>00085 <span class="keywordtype">unsigned</span> borderFlags);
|
90
|
+
<a name="l00086"></a>00086 };
|
91
|
+
<a name="l00087"></a>00087 }
|
92
|
+
<a name="l00088"></a>00088
|
93
|
+
<a name="l00089"></a>00089 <span class="preprocessor">#endif</span>
|
91
94
|
</pre></div></div>
|
92
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
95
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by
|
93
96
|
<a href="http://www.doxygen.org/index.html">
|
94
97
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
95
98
|
</body>
|