gosu 0.7.13.2 → 0.7.13.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gosu/Audio.hpp +2 -1
- data/Gosu/Font.hpp +14 -6
- data/GosuImpl/AudioSDL.cpp +21 -19
- data/GosuImpl/Graphics/DrawOp.hpp +1 -2
- data/GosuImpl/Graphics/Font.cpp +19 -6
- data/GosuImpl/RubyGosu.swg +8 -1
- data/GosuImpl/RubyGosuStub.mm +1 -0
- data/GosuImpl/WindowX.cpp +3 -3
- data/Rakefile +2 -2
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +239 -589
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +47 -51
- data/mac/Gosu.xcodeproj/project.pbxproj +3 -3
- data/reference/cpp/_audio_8hpp-source.html +71 -71
- data/reference/cpp/_font_8hpp-source.html +27 -23
- data/reference/cpp/class_gosu_1_1_font-members.html +3 -1
- data/reference/cpp/class_gosu_1_1_font.html +60 -5
- data/reference/cpp/class_gosu_1_1_sample.html +1 -1
- data/reference/cpp/class_gosu_1_1_sample_instance.html +2 -2
- data/reference/cpp/class_gosu_1_1_song.html +2 -2
- data/reference/cpp/functions_0x66.html +3 -1
- data/reference/cpp/functions_0x6e.html +2 -1
- data/reference/cpp/functions_0x74.html +2 -2
- data/reference/cpp/functions_func_0x66.html +3 -1
- data/reference/cpp/functions_func_0x6e.html +2 -1
- data/reference/cpp/functions_func_0x74.html +2 -2
- metadata +2 -2
@@ -249,8 +249,8 @@
|
|
249
249
|
<array/>
|
250
250
|
<key>PerspectiveWidths</key>
|
251
251
|
<array>
|
252
|
-
<integer>
|
253
|
-
<integer>
|
252
|
+
<integer>1280</integer>
|
253
|
+
<integer>1280</integer>
|
254
254
|
</array>
|
255
255
|
<key>Perspectives</key>
|
256
256
|
<array>
|
@@ -316,14 +316,15 @@
|
|
316
316
|
<key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key>
|
317
317
|
<array>
|
318
318
|
<string>0867D691FE84028FC02AAC07</string>
|
319
|
+
<string>08FB77ACFE841707C02AAC07</string>
|
319
320
|
<string>D46F737C0BC3458D008003BA</string>
|
320
321
|
<string>1C37FBAC04509CD000000102</string>
|
321
322
|
</array>
|
322
323
|
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
|
323
324
|
<array>
|
324
325
|
<array>
|
325
|
-
<integer>
|
326
|
-
<integer>
|
326
|
+
<integer>11</integer>
|
327
|
+
<integer>1</integer>
|
327
328
|
<integer>0</integer>
|
328
329
|
</array>
|
329
330
|
</array>
|
@@ -345,7 +346,7 @@
|
|
345
346
|
<real>185</real>
|
346
347
|
</array>
|
347
348
|
<key>RubberWindowFrame</key>
|
348
|
-
<string>
|
349
|
+
<string>640 443 1280 735 0 0 1920 1178 </string>
|
349
350
|
</dict>
|
350
351
|
<key>Module</key>
|
351
352
|
<string>PBXSmartGroupTreeModule</string>
|
@@ -363,7 +364,7 @@
|
|
363
364
|
<key>PBXProjectModuleGUID</key>
|
364
365
|
<string>D412C8F00F183F1C00C49CAD</string>
|
365
366
|
<key>PBXProjectModuleLabel</key>
|
366
|
-
<string>
|
367
|
+
<string>WindowX.cpp</string>
|
367
368
|
<key>PBXSplitModuleInNavigatorKey</key>
|
368
369
|
<dict>
|
369
370
|
<key>Split0</key>
|
@@ -371,40 +372,35 @@
|
|
371
372
|
<key>PBXProjectModuleGUID</key>
|
372
373
|
<string>D412C8F10F183F1C00C49CAD</string>
|
373
374
|
<key>PBXProjectModuleLabel</key>
|
374
|
-
<string>
|
375
|
+
<string>WindowX.cpp</string>
|
375
376
|
<key>_historyCapacity</key>
|
376
377
|
<integer>10</integer>
|
377
378
|
<key>bookmark</key>
|
378
|
-
<string>
|
379
|
+
<string>D49799250FB8EBC900D893F8</string>
|
379
380
|
<key>history</key>
|
380
381
|
<array>
|
381
|
-
<string>
|
382
|
-
<string>
|
383
|
-
<string>
|
384
|
-
<string>
|
385
|
-
<string>
|
386
|
-
<string>
|
387
|
-
<string>
|
388
|
-
<string>
|
389
|
-
<string>
|
390
|
-
<string>
|
382
|
+
<string>D4652A490FB73CEA000C613E</string>
|
383
|
+
<string>D4652AA30FB7472B000C613E</string>
|
384
|
+
<string>D4652BAF0FB86753000C613E</string>
|
385
|
+
<string>D4652BB00FB86753000C613E</string>
|
386
|
+
<string>D4652BB10FB86753000C613E</string>
|
387
|
+
<string>D4652BBE0FB87EBB000C613E</string>
|
388
|
+
<string>D4652BBF0FB87EBB000C613E</string>
|
389
|
+
<string>D4652BC00FB87EBB000C613E</string>
|
390
|
+
<string>D497991C0FB8EBC700D893F8</string>
|
391
|
+
<string>D497991D0FB8EBC700D893F8</string>
|
391
392
|
</array>
|
392
393
|
<key>prevStack</key>
|
393
394
|
<array>
|
394
|
-
<string>D49165770FAF7614001692E0</string>
|
395
|
-
<string>D49165780FAF7614001692E0</string>
|
396
|
-
<string>D49165790FAF7614001692E0</string>
|
397
|
-
<string>D491657B0FAF7614001692E0</string>
|
398
|
-
<string>D491657C0FAF7614001692E0</string>
|
399
|
-
<string>D491657D0FAF7614001692E0</string>
|
400
395
|
<string>D40821E90FAFBBE700F8E177</string>
|
401
|
-
<string>
|
402
|
-
<string>
|
403
|
-
<string>
|
404
|
-
<string>
|
405
|
-
<string>
|
406
|
-
<string>
|
407
|
-
<string>
|
396
|
+
<string>D446BAAD0FB4CB5F0097BEDB</string>
|
397
|
+
<string>D4652A4E0FB73CEA000C613E</string>
|
398
|
+
<string>D4652A4F0FB73CEA000C613E</string>
|
399
|
+
<string>D4652A6D0FB74006000C613E</string>
|
400
|
+
<string>D4652BB50FB86753000C613E</string>
|
401
|
+
<string>D4652BC20FB87EBB000C613E</string>
|
402
|
+
<string>D4652BC40FB87EBB000C613E</string>
|
403
|
+
<string>D497991F0FB8EBC700D893F8</string>
|
408
404
|
</array>
|
409
405
|
</dict>
|
410
406
|
<key>SplitCount</key>
|
@@ -418,18 +414,18 @@
|
|
418
414
|
<key>GeometryConfiguration</key>
|
419
415
|
<dict>
|
420
416
|
<key>Frame</key>
|
421
|
-
<string>{{0, 0}, {1073,
|
417
|
+
<string>{{0, 0}, {1073, 689}}</string>
|
422
418
|
<key>RubberWindowFrame</key>
|
423
|
-
<string>
|
419
|
+
<string>640 443 1280 735 0 0 1920 1178 </string>
|
424
420
|
</dict>
|
425
421
|
<key>Module</key>
|
426
422
|
<string>PBXNavigatorGroup</string>
|
427
423
|
<key>Proportion</key>
|
428
|
-
<string>
|
424
|
+
<string>689pt</string>
|
429
425
|
</dict>
|
430
426
|
<dict>
|
431
427
|
<key>Proportion</key>
|
432
|
-
<string>
|
428
|
+
<string>0pt</string>
|
433
429
|
<key>Tabs</key>
|
434
430
|
<array>
|
435
431
|
<dict>
|
@@ -443,7 +439,9 @@
|
|
443
439
|
<key>GeometryConfiguration</key>
|
444
440
|
<dict>
|
445
441
|
<key>Frame</key>
|
446
|
-
<string>{{10, 27}, {1073,
|
442
|
+
<string>{{10, 27}, {1073, -27}}</string>
|
443
|
+
<key>RubberWindowFrame</key>
|
444
|
+
<string>640 443 1280 735 0 0 1920 1178 </string>
|
447
445
|
</dict>
|
448
446
|
<key>Module</key>
|
449
447
|
<string>XCDetailModule</string>
|
@@ -459,7 +457,7 @@
|
|
459
457
|
<key>GeometryConfiguration</key>
|
460
458
|
<dict>
|
461
459
|
<key>Frame</key>
|
462
|
-
<string>{{10, 27}, {1073,
|
460
|
+
<string>{{10, 27}, {1073, -27}}</string>
|
463
461
|
</dict>
|
464
462
|
<key>Module</key>
|
465
463
|
<string>PBXProjectFindModule</string>
|
@@ -497,9 +495,7 @@
|
|
497
495
|
<key>GeometryConfiguration</key>
|
498
496
|
<dict>
|
499
497
|
<key>Frame</key>
|
500
|
-
<string>{{10, 27}, {1073,
|
501
|
-
<key>RubberWindowFrame</key>
|
502
|
-
<string>0 43 1280 735 0 0 1280 778 </string>
|
498
|
+
<string>{{10, 27}, {1073, -27}}</string>
|
503
499
|
</dict>
|
504
500
|
<key>Module</key>
|
505
501
|
<string>PBXBuildResultsModule</string>
|
@@ -527,11 +523,11 @@
|
|
527
523
|
</array>
|
528
524
|
<key>TableOfContents</key>
|
529
525
|
<array>
|
530
|
-
<string>
|
526
|
+
<string>D49799220FB8EBC700D893F8</string>
|
531
527
|
<string>1CA23ED40692098700951B8B</string>
|
532
|
-
<string>
|
528
|
+
<string>D49799230FB8EBC700D893F8</string>
|
533
529
|
<string>D412C8F00F183F1C00C49CAD</string>
|
534
|
-
<string>
|
530
|
+
<string>D49799240FB8EBC700D893F8</string>
|
535
531
|
<string>1CA23EDF0692099D00951B8B</string>
|
536
532
|
<string>1CA23EE00692099D00951B8B</string>
|
537
533
|
<string>1CA23EE10692099D00951B8B</string>
|
@@ -678,14 +674,14 @@
|
|
678
674
|
</array>
|
679
675
|
<key>TableOfContents</key>
|
680
676
|
<array>
|
681
|
-
<string>
|
677
|
+
<string>D4652A590FB73CF8000C613E</string>
|
682
678
|
<string>1CCC7628064C1048000F2A68</string>
|
683
679
|
<string>1CCC7629064C1048000F2A68</string>
|
684
|
-
<string>
|
685
|
-
<string>
|
686
|
-
<string>
|
687
|
-
<string>
|
688
|
-
<string>
|
680
|
+
<string>D4652A5A0FB73CF8000C613E</string>
|
681
|
+
<string>D4652A5B0FB73CF8000C613E</string>
|
682
|
+
<string>D4652A5C0FB73CF8000C613E</string>
|
683
|
+
<string>D4652A5D0FB73CF8000C613E</string>
|
684
|
+
<string>D4652A5E0FB73CF8000C613E</string>
|
689
685
|
</array>
|
690
686
|
<key>ToolbarConfiguration</key>
|
691
687
|
<string>xcode.toolbar.config.debugV3</string>
|
@@ -700,7 +696,7 @@
|
|
700
696
|
<key>StatusbarIsVisible</key>
|
701
697
|
<true/>
|
702
698
|
<key>TimeStamp</key>
|
703
|
-
<real>
|
699
|
+
<real>263777225.55174699</real>
|
704
700
|
<key>ToolbarDisplayMode</key>
|
705
701
|
<integer>2</integer>
|
706
702
|
<key>ToolbarIsVisible</key>
|
@@ -718,7 +714,7 @@
|
|
718
714
|
<string>/Users/jlnr/Projekte/Gosu/mac/Gosu.xcodeproj</string>
|
719
715
|
</array>
|
720
716
|
<key>WindowString</key>
|
721
|
-
<string>
|
717
|
+
<string>640 443 1280 735 0 0 1920 1178 </string>
|
722
718
|
<key>WindowToolsV3</key>
|
723
719
|
<array>
|
724
720
|
<dict>
|
@@ -423,7 +423,7 @@
|
|
423
423
|
D4A7E9E70CD39BA200621B24 /* BitmapUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BitmapUtils.cpp; sourceTree = "<group>"; };
|
424
424
|
D4AB62F50D08BA9900D71382 /* MacUtility.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = MacUtility.hpp; path = ../GosuImpl/MacUtility.hpp; sourceTree = SOURCE_ROOT; };
|
425
425
|
D4BC5D6A0CC29D0F002D4236 /* Async.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = Async.hpp; path = ../Gosu/Async.hpp; sourceTree = SOURCE_ROOT; };
|
426
|
-
D4CA89500BC68B5D00A431AC /* gosu.
|
426
|
+
D4CA89500BC68B5D00A431AC /* gosu.for_1_8.bundle */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = gosu.for_1_8.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
|
427
427
|
D4D8CB380BD3973400CB51A9 /* RubyGosuStub.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; name = RubyGosuStub.mm; path = ../GosuImpl/RubyGosuStub.mm; sourceTree = SOURCE_ROOT; };
|
428
428
|
D4F07B220D934C8B00FB3D99 /* TextInput.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = TextInput.hpp; path = ../Gosu/TextInput.hpp; sourceTree = SOURCE_ROOT; };
|
429
429
|
D4F07B260D93504700FB3D99 /* TextInputMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = TextInputMac.mm; path = ../GosuImpl/TextInputMac.mm; sourceTree = SOURCE_ROOT; };
|
@@ -492,7 +492,7 @@
|
|
492
492
|
isa = PBXGroup;
|
493
493
|
children = (
|
494
494
|
8D07F2C80486CC7A007CD1D0 /* Gosu.framework */,
|
495
|
-
D4CA89500BC68B5D00A431AC /* gosu.
|
495
|
+
D4CA89500BC68B5D00A431AC /* gosu.for_1_8.bundle */,
|
496
496
|
D459FF440BDCD23500E7F0D6 /* RubyGosu App.app */,
|
497
497
|
D4A5A1F40F40D28600FFF378 /* libgosutouch.a */,
|
498
498
|
);
|
@@ -884,7 +884,7 @@
|
|
884
884
|
);
|
885
885
|
name = "RubyGosu Core";
|
886
886
|
productName = RubyGosu;
|
887
|
-
productReference = D4CA89500BC68B5D00A431AC /* gosu.
|
887
|
+
productReference = D4CA89500BC68B5D00A431AC /* gosu.for_1_8.bundle */;
|
888
888
|
productType = "com.apple.product-type.library.dynamic";
|
889
889
|
};
|
890
890
|
/* End PBXNativeTarget section */
|
@@ -93,77 +93,77 @@ window.onload = initDynSections;
|
|
93
93
|
<a name="l00034"></a>00034 <span class="preprocessor"></span> <a class="code" href="class_gosu_1_1_audio.html#cf4a34459ec54f6a64a1d2faad7d9852">~Audio</a>();
|
94
94
|
<a name="l00035"></a>00035 };
|
95
95
|
<a name="l00036"></a>00036
|
96
|
-
<a name="
|
97
|
-
<a name="
|
98
|
-
<a name="
|
99
|
-
<a name="
|
100
|
-
<a name="
|
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="
|
113
|
-
<a name="
|
114
|
-
<a name="
|
115
|
-
<a name="
|
116
|
-
<a name="
|
117
|
-
<a name="
|
118
|
-
<a name="
|
119
|
-
<a name="
|
120
|
-
<a name="
|
121
|
-
<a name="
|
122
|
-
<a name="
|
123
|
-
<a name="
|
124
|
-
<a name="
|
125
|
-
<a name="
|
126
|
-
<a name="
|
127
|
-
<a name="
|
128
|
-
<a name="
|
129
|
-
<a name="
|
130
|
-
<a name="
|
131
|
-
<a name="
|
132
|
-
<a name="
|
133
|
-
<a name="
|
134
|
-
<a name="
|
135
|
-
<a name="
|
136
|
-
<a name="
|
137
|
-
<a name="
|
138
|
-
<a name="
|
139
|
-
<a name="
|
140
|
-
<a name="
|
141
|
-
<a name="
|
142
|
-
<a name="
|
143
|
-
<a name="
|
144
|
-
<a name="
|
145
|
-
<a name="
|
146
|
-
<a name="
|
147
|
-
<a name="
|
148
|
-
<a name="
|
149
|
-
<a name="
|
150
|
-
<a name="
|
151
|
-
<a name="
|
152
|
-
<a name="
|
153
|
-
<a name="
|
154
|
-
<a name="
|
155
|
-
<a name="
|
156
|
-
<a name="
|
157
|
-
<a name="
|
158
|
-
<a name="
|
159
|
-
<a name="
|
160
|
-
<a name="
|
161
|
-
<a name="
|
162
|
-
<a name="
|
163
|
-
<a name="
|
164
|
-
<a name="
|
165
|
-
<a name="
|
166
|
-
<a name="
|
96
|
+
<a name="l00042"></a><a class="code" href="class_gosu_1_1_sample_instance.html">00042</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_sample_instance.html" title="An instance of a Sample playing.">SampleInstance</a>
|
97
|
+
<a name="l00043"></a>00043 {
|
98
|
+
<a name="l00044"></a>00044 <span class="keywordtype">int</span> handle, extra;
|
99
|
+
<a name="l00045"></a>00045 <span class="keywordtype">bool</span> alive() <span class="keyword">const</span>;
|
100
|
+
<a name="l00046"></a>00046
|
101
|
+
<a name="l00047"></a>00047 <span class="keyword">public</span>:
|
102
|
+
<a name="l00049"></a>00049 <a class="code" href="class_gosu_1_1_sample_instance.html#1dcf6b649592940d21d3d2487e510c7e" title="Called by Sample, do not use.">SampleInstance</a>(<span class="keywordtype">int</span> handle, <span class="keywordtype">int</span> extra);
|
103
|
+
<a name="l00050"></a>00050
|
104
|
+
<a name="l00051"></a>00051 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_sample_instance.html#4c655ba53464bbd639a873a88f3823c0">playing</a>() <span class="keyword">const</span>;
|
105
|
+
<a name="l00052"></a>00052 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_sample_instance.html#d5eba2378d898d8909a78b82c5febf20">paused</a>() <span class="keyword">const</span>;
|
106
|
+
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#b4ad4b11ffdb0b3fa1f6dbd94e18faa7" title="Pauses this instance to be resumed afterwards. It will still keep a channel filled...">pause</a>();
|
107
|
+
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#f3067dfb6b336300cf1fea4cddeb53dd">resume</a>();
|
108
|
+
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#adfc8ba4e568999ba43f792205c8725a" title="Stops this instance of a sound being played.">stop</a>();
|
109
|
+
<a name="l00059"></a>00059
|
110
|
+
<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#bb54d7569ac18cdad24da5d538cca1b5">changeVolume</a>(<span class="keywordtype">double</span> volume);
|
111
|
+
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#def37ef2af53716fb0b10e06263468d0">changePan</a>(<span class="keywordtype">double</span> pan);
|
112
|
+
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_sample_instance.html#3de21bed437c846734cf06243a5db112">changeSpeed</a>(<span class="keywordtype">double</span> speed);
|
113
|
+
<a name="l00069"></a>00069 };
|
114
|
+
<a name="l00070"></a>00070
|
115
|
+
<a name="l00074"></a><a class="code" href="class_gosu_1_1_sample.html">00074</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>
|
116
|
+
<a name="l00075"></a>00075 {
|
117
|
+
<a name="l00076"></a>00076 <span class="keyword">struct </span>SampleData;
|
118
|
+
<a name="l00077"></a>00077 boost::scoped_ptr<SampleData> data;
|
119
|
+
<a name="l00078"></a>00078
|
120
|
+
<a name="l00079"></a>00079 <span class="keyword">public</span>:
|
121
|
+
<a name="l00082"></a>00082 <a class="code" href="class_gosu_1_1_sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="class_gosu_1_1_audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio, <span class="keyword">const</span> std::wstring& filename);
|
122
|
+
<a name="l00083"></a>00083
|
123
|
+
<a name="l00086"></a>00086 <a class="code" href="class_gosu_1_1_sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="class_gosu_1_1_audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>& audio, <a class="code" href="class_gosu_1_1_reader.html" title="Utility class that points to a specific position in a resource and offers an interface...">Reader</a> reader);
|
124
|
+
<a name="l00087"></a>00087
|
125
|
+
<a name="l00088"></a>00088 <a class="code" href="class_gosu_1_1_sample.html#cdb077bd8ae99bf5ead218d852017265">~Sample</a>();
|
126
|
+
<a name="l00089"></a>00089
|
127
|
+
<a name="l00096"></a>00096 <a class="code" href="class_gosu_1_1_sample_instance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="class_gosu_1_1_sample.html#190b3cc66e2115c7ed0390c47769c1b8" title="Plays the sample without panning.">play</a>(<span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
|
128
|
+
<a name="l00097"></a>00097 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
|
129
|
+
<a name="l00098"></a>00098
|
130
|
+
<a name="l00108"></a>00108 <a class="code" href="class_gosu_1_1_sample_instance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="class_gosu_1_1_sample.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,
|
131
|
+
<a name="l00109"></a>00109 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
|
132
|
+
<a name="l00110"></a>00110 };
|
133
|
+
<a name="l00111"></a>00111
|
134
|
+
<a name="l00114"></a><a class="code" href="class_gosu_1_1_song.html">00114</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>
|
135
|
+
<a name="l00115"></a>00115 {
|
136
|
+
<a name="l00116"></a>00116 <span class="keyword">class </span>BaseData;
|
137
|
+
<a name="l00117"></a>00117 <span class="keyword">class </span>ModuleData;
|
138
|
+
<a name="l00118"></a>00118 <span class="keyword">class </span>StreamData;
|
139
|
+
<a name="l00119"></a>00119 boost::scoped_ptr<BaseData> data;
|
140
|
+
<a name="l00120"></a>00120
|
141
|
+
<a name="l00121"></a>00121 <span class="keyword">public</span>:
|
142
|
+
<a name="l00124"></a><a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">00124</a> <span class="keyword">enum</span> <a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a>
|
143
|
+
<a name="l00125"></a>00125 {
|
144
|
+
<a name="l00126"></a><a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08">00126</a> <a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08">stStream</a>,
|
145
|
+
<a name="l00127"></a><a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08">00127</a> <a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08">stModule</a>
|
146
|
+
<a name="l00128"></a>00128 };
|
147
|
+
<a name="l00129"></a>00129
|
148
|
+
<a name="l00133"></a>00133 <a class="code" href="class_gosu_1_1_song.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="class_gosu_1_1_audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&, <span class="keyword">const</span> std::wstring& filename);
|
149
|
+
<a name="l00134"></a>00134
|
150
|
+
<a name="l00137"></a>00137 <a class="code" href="class_gosu_1_1_song.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="class_gosu_1_1_audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&, <a class="code" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a> type, <a class="code" href="class_gosu_1_1_reader.html" title="Utility class that points to a specific position in a resource and offers an interface...">Reader</a> reader);
|
151
|
+
<a name="l00138"></a>00138
|
152
|
+
<a name="l00139"></a>00139 <a class="code" href="class_gosu_1_1_song.html#ff79e20283962720a12248861d8b2883">~Song</a>();
|
153
|
+
<a name="l00140"></a>00140
|
154
|
+
<a name="l00144"></a>00144 <span class="keyword">static</span> <a class="code" href="class_gosu_1_1_song.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="class_gosu_1_1_song.html#3f6c94bd9ea9522430d6e0d1e1e64250" title="Returns the song currently being played or paused, or 0 if no song has been played...">currentSong</a>();
|
155
|
+
<a name="l00145"></a>00145
|
156
|
+
<a name="l00148"></a>00148 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_song.html#6b9cb7b452a737455e8cf4e7d90acff9" title="Starts or resumes playback of the song.">play</a>(<span class="keywordtype">bool</span> looping = <span class="keyword">false</span>);
|
157
|
+
<a name="l00151"></a>00151 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_song.html#9ae053fbee6f240d2793fab3fa4ef596" title="Pauses playback of the song.">pause</a>();
|
158
|
+
<a name="l00154"></a>00154 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_song.html#a0d611bf37c19086797c9e46e001e092" title="Returns true if the song is the current song, but in paused mode.">paused</a>() <span class="keyword">const</span>;
|
159
|
+
<a name="l00157"></a>00157 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_song.html#469a3cf49be8ebec2c9855dec46f5f71" title="Stops playback of this song if it is currently played or paused.">stop</a>();
|
160
|
+
<a name="l00159"></a>00159 <span class="keywordtype">bool</span> <a class="code" href="class_gosu_1_1_song.html#c83d4b509149c2b1fb48ad697fb1adf3" title="Returns true if the song is currently playing.">playing</a>() <span class="keyword">const</span>;
|
161
|
+
<a name="l00161"></a>00161 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>() <span class="keyword">const</span>;
|
162
|
+
<a name="l00163"></a>00163 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_song.html#e460032103a9ddb7e0dd50f53fb9d36e" title="Changes the volume of the song.">changeVolume</a>(<span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>);
|
163
|
+
<a name="l00164"></a>00164 };
|
164
|
+
<a name="l00165"></a>00165 }
|
165
|
+
<a name="l00166"></a>00166
|
166
|
+
<a name="l00167"></a>00167 <span class="preprocessor">#endif</span>
|
167
167
|
</pre></div></div>
|
168
168
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
169
169
|
</div>
|
@@ -81,29 +81,33 @@ window.onload = initDynSections;
|
|
81
81
|
<a name="l00022"></a>00022 boost::scoped_ptr<Impl> pimpl;
|
82
82
|
<a name="l00023"></a>00023
|
83
83
|
<a name="l00024"></a>00024 <span class="keyword">public</span>:
|
84
|
-
<a name="
|
85
|
-
<a name="
|
86
|
-
<a name="
|
87
|
-
<a name="
|
88
|
-
<a name="
|
89
|
-
<a name="
|
90
|
-
<a name="
|
91
|
-
<a name="
|
92
|
-
<a name="
|
93
|
-
<a name="
|
94
|
-
<a name="
|
95
|
-
<a name="
|
96
|
-
<a name="
|
97
|
-
<a name="
|
98
|
-
<a name="
|
99
|
-
<a name="
|
100
|
-
<a name="
|
101
|
-
<a name="
|
102
|
-
<a name="
|
103
|
-
<a name="
|
104
|
-
<a name="
|
105
|
-
<a name="
|
106
|
-
<a name="
|
84
|
+
<a name="l00031"></a>00031 <a class="code" href="class_gosu_1_1_font.html#e4c06910c2b655a0012d982ff4fde515" title="Constructs a font that can be drawn onto the graphics object.">Font</a>(<a class="code" href="class_gosu_1_1_graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>& graphics, <span class="keyword">const</span> std::wstring& fontName,
|
85
|
+
<a name="l00032"></a>00032 <span class="keywordtype">unsigned</span> fontHeight, <span class="keywordtype">unsigned</span> fontFlags = ffBold);
|
86
|
+
<a name="l00033"></a>00033 <a class="code" href="class_gosu_1_1_font.html#d8de4608a9daba264e1d99f3f8c27e3a">~Font</a>();
|
87
|
+
<a name="l00034"></a>00034
|
88
|
+
<a name="l00036"></a>00036 std::wstring <a class="code" href="class_gosu_1_1_font.html#89b454fb34dd42078a6b189747a92227" title="Returns the name of the font that was used to create it.">name</a>() <span class="keyword">const</span>;
|
89
|
+
<a name="l00037"></a>00037
|
90
|
+
<a name="l00039"></a>00039 <span class="keywordtype">unsigned</span> <a class="code" href="class_gosu_1_1_font.html#9357299749e270dbd01e7fb9f841ae54" title="Returns the height of the font, in pixels.">height</a>() <span class="keyword">const</span>;
|
91
|
+
<a name="l00040"></a>00040
|
92
|
+
<a name="l00042"></a>00042 <span class="keywordtype">unsigned</span> <a class="code" href="class_gosu_1_1_font.html#3ecd8c78d0c01ac480f3b2bbbdbefe4d" title="Returns the flags used to create the font characters.">flags</a>() <span class="keyword">const</span>;
|
93
|
+
<a name="l00043"></a>00043
|
94
|
+
<a name="l00045"></a>00045 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_font.html#ee66d136e3b5b801d146cc1134a0635a" title="Returns the width, in pixels, the given text would occupy if drawn.">textWidth</a>(<span class="keyword">const</span> std::wstring& text, <span class="keywordtype">double</span> factorX = 1) <span class="keyword">const</span>;
|
95
|
+
<a name="l00046"></a>00046
|
96
|
+
<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35" title="Draws text so the top left corner of the text is at (x; y).">draw</a>(<span class="keyword">const</span> std::wstring& text, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, ZPos z,
|
97
|
+
<a name="l00049"></a>00049 <span class="keywordtype">double</span> factorX = 1, <span class="keywordtype">double</span> factorY = 1,
|
98
|
+
<a name="l00050"></a>00050 <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c = Colors::white, AlphaMode mode = amDefault) <span class="keyword">const</span>;
|
99
|
+
<a name="l00051"></a>00051
|
100
|
+
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2" title="Draws text at a position relative to (x; y).">drawRel</a>(<span class="keyword">const</span> std::wstring& text, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, ZPos z,
|
101
|
+
<a name="l00059"></a>00059 <span class="keywordtype">double</span> relX, <span class="keywordtype">double</span> relY, <span class="keywordtype">double</span> factorX = 1, <span class="keywordtype">double</span> factorY = 1,
|
102
|
+
<a name="l00060"></a>00060 <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c = Colors::white, AlphaMode mode = amDefault) <span class="keyword">const</span>;
|
103
|
+
<a name="l00061"></a>00061
|
104
|
+
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_font.html#0771bb27561cefe3381fb36101ac7859" title="Analogous to draw, but rotates the text by a given angle.">drawRot</a>(<span class="keyword">const</span> std::wstring& text, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, ZPos z, <span class="keywordtype">double</span> angle,
|
105
|
+
<a name="l00064"></a>00064 <span class="keywordtype">double</span> factorX = 1, <span class="keywordtype">double</span> factorY = 1,
|
106
|
+
<a name="l00065"></a>00065 <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c = Colors::white, AlphaMode mode = amDefault) <span class="keyword">const</span>;
|
107
|
+
<a name="l00066"></a>00066 };
|
108
|
+
<a name="l00067"></a>00067 }
|
109
|
+
<a name="l00068"></a>00068
|
110
|
+
<a name="l00069"></a>00069 <span class="preprocessor">#endif</span>
|
107
111
|
</pre></div></div>
|
108
112
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
109
113
|
</div>
|
@@ -68,8 +68,10 @@ window.onload = initDynSections;
|
|
68
68
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#5a67d1a1745e1d2eb1b7ec7d12f40e35">draw</a>(const std::wstring &text, double x, double y, ZPos z, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
69
69
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#60b4c8d6c515ca09d6124a9dc5f3c2f2">drawRel</a>(const std::wstring &text, double x, double y, ZPos z, double relX, double relY, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
70
70
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#0771bb27561cefe3381fb36101ac7859">drawRot</a>(const std::wstring &text, double x, double y, ZPos z, double angle, double factorX=1, double factorY=1, Color c=Colors::white, AlphaMode mode=amDefault) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
71
|
-
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#
|
71
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#3ecd8c78d0c01ac480f3b2bbbdbefe4d">flags</a>() const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
72
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#e4c06910c2b655a0012d982ff4fde515">Font</a>(Graphics &graphics, const std::wstring &fontName, unsigned fontHeight, unsigned fontFlags=ffBold)</td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
72
73
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#9357299749e270dbd01e7fb9f841ae54">height</a>() const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
74
|
+
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#89b454fb34dd42078a6b189747a92227">name</a>() const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
73
75
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#ee66d136e3b5b801d146cc1134a0635a">textWidth</a>(const std::wstring &text, double factorX=1) const </td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
74
76
|
<tr class="memlist"><td><a class="el" href="class_gosu_1_1_font.html#d8de4608a9daba264e1d99f3f8c27e3a">~Font</a>()</td><td><a class="el" href="class_gosu_1_1_font.html">Gosu::Font</a></td><td></td></tr>
|
75
77
|
</table></div>
|