gosu 0.7.13 → 0.7.13.2
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +4 -2
- data/Gosu/Audio.hpp +8 -5
- data/Gosu/Font.hpp +5 -3
- data/Gosu/Gosu.hpp +6 -0
- data/Gosu/Graphics.hpp +6 -13
- data/Gosu/GraphicsBase.hpp +14 -3
- data/Gosu/IO.hpp +259 -255
- data/Gosu/Image.hpp +12 -12
- data/Gosu/ImageData.hpp +3 -0
- data/Gosu/Input.hpp +14 -2
- data/Gosu/Math.hpp +3 -2
- data/Gosu/RotFlip.hpp +125 -116
- data/Gosu/Sockets.hpp +139 -129
- data/Gosu/Text.hpp +4 -4
- data/Gosu/WinUtility.hpp +1 -1
- data/Gosu/Window.hpp +9 -5
- data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
- data/GosuImpl/Graphics/DrawOp.hpp +13 -14
- data/GosuImpl/Graphics/Graphics.cpp +3 -2
- data/GosuImpl/Graphics/Image.cpp +8 -8
- data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
- data/GosuImpl/Graphics/Text.cpp +15 -3
- data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
- data/GosuImpl/Graphics/TextWin.cpp +36 -25
- data/GosuImpl/Graphics/Texture.cpp +2 -0
- data/GosuImpl/Iconv.hpp +1 -3
- data/GosuImpl/RubyGosu.swg +19 -10
- data/GosuImpl/RubyGosuStub.mm +40 -8
- data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
- data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
- data/GosuImpl/RubyGosu_wrap.h +1 -1
- data/GosuImpl/WindowWin.cpp +18 -6
- data/README.txt +5 -5
- data/Rakefile +27 -7
- data/linux/Makefile.in +1 -1
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
- data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
- data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
- data/reference/cpp/_audio_8hpp-source.html +171 -0
- data/reference/cpp/_audio_8hpp.html +96 -0
- data/reference/cpp/_auto_link_8hpp-source.html +84 -0
- data/reference/cpp/_auto_link_8hpp.html +83 -0
- data/reference/cpp/_bitmap_8hpp-source.html +130 -0
- data/reference/cpp/_bitmap_8hpp.html +107 -0
- data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
- data/reference/cpp/_buttons_mac_8hpp.html +233 -0
- data/reference/cpp/_color_8hpp-source.html +215 -0
- data/reference/cpp/_color_8hpp.html +119 -0
- data/reference/cpp/_directories_8hpp-source.html +88 -0
- data/reference/cpp/_directories_8hpp.html +96 -0
- data/reference/cpp/_font_8hpp-source.html +111 -0
- data/reference/cpp/_font_8hpp.html +87 -0
- data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
- data/reference/cpp/_fwd_8hpp.html +83 -0
- data/reference/cpp/_gosu_8hpp-source.html +96 -0
- data/reference/cpp/_gosu_8hpp.html +83 -0
- data/reference/cpp/_graphics_8hpp-source.html +134 -0
- data/reference/cpp/_graphics_8hpp.html +94 -0
- data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
- data/reference/cpp/_graphics_base_8hpp.html +120 -0
- data/reference/cpp/_i_o_8hpp-source.html +301 -0
- data/reference/cpp/_i_o_8hpp.html +122 -0
- data/reference/cpp/_image_8hpp-source.html +172 -0
- data/reference/cpp/_image_8hpp.html +96 -0
- data/reference/cpp/_image_data_8hpp-source.html +108 -0
- data/reference/cpp/_image_data_8hpp.html +90 -0
- data/reference/cpp/_input_8hpp-source.html +182 -0
- data/reference/cpp/_input_8hpp.html +102 -0
- data/reference/cpp/_math_8hpp-source.html +147 -0
- data/reference/cpp/_math_8hpp.html +139 -0
- data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
- data/reference/cpp/_platform_8hpp.html +136 -0
- data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
- data/reference/cpp/_rot_flip_8hpp.html +123 -0
- data/reference/cpp/_sockets_8hpp-source.html +174 -0
- data/reference/cpp/_sockets_8hpp.html +117 -0
- data/reference/cpp/_text_8hpp-source.html +102 -0
- data/reference/cpp/_text_8hpp.html +99 -0
- data/reference/cpp/_text_input_8hpp-source.html +110 -0
- data/reference/cpp/_text_input_8hpp.html +87 -0
- data/reference/cpp/_timing_8hpp-source.html +82 -0
- data/reference/cpp/_timing_8hpp.html +90 -0
- data/reference/cpp/_utility_8hpp-source.html +89 -0
- data/reference/cpp/_utility_8hpp.html +96 -0
- data/reference/cpp/_win_utility_8hpp-source.html +125 -0
- data/reference/cpp/_win_utility_8hpp.html +116 -0
- data/reference/cpp/_window_8hpp-source.html +157 -0
- data/reference/cpp/_window_8hpp.html +87 -0
- data/reference/cpp/annotated.html +98 -0
- data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
- data/reference/cpp/class_gosu_1_1_audio.html +132 -0
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
- data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
- data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
- data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
- data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
- data/reference/cpp/class_gosu_1_1_button.html +195 -0
- data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
- data/reference/cpp/class_gosu_1_1_color.html +758 -0
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
- data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
- data/reference/cpp/class_gosu_1_1_file.html +275 -0
- data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
- data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
- data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
- data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
- data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_image.html +771 -0
- data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
- data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
- data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
- data/reference/cpp/class_gosu_1_1_input.html +417 -0
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
- data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
- data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
- data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
- data/reference/cpp/class_gosu_1_1_reader.html +322 -0
- data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
- data/reference/cpp/class_gosu_1_1_resource.html +305 -0
- data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
- data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
- data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
- data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
- data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
- data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
- data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
- data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
- data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
- data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
- data/reference/cpp/class_gosu_1_1_window.html +533 -0
- data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
- data/reference/cpp/class_gosu_1_1_writer.html +292 -0
- data/reference/cpp/classes.html +86 -0
- data/reference/cpp/closed.gif +0 -0
- data/reference/cpp/cpp.css +155 -0
- data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
- data/reference/cpp/files.html +97 -0
- data/reference/cpp/functions.html +127 -0
- data/reference/cpp/functions_0x62.html +137 -0
- data/reference/cpp/functions_0x63.html +140 -0
- data/reference/cpp/functions_0x64.html +142 -0
- data/reference/cpp/functions_0x65.html +119 -0
- data/reference/cpp/functions_0x66.html +137 -0
- data/reference/cpp/functions_0x67.html +131 -0
- data/reference/cpp/functions_0x68.html +121 -0
- data/reference/cpp/functions_0x69.html +123 -0
- data/reference/cpp/functions_0x6b.html +115 -0
- data/reference/cpp/functions_0x6c.html +117 -0
- data/reference/cpp/functions_0x6d.html +125 -0
- data/reference/cpp/functions_0x6e.html +117 -0
- data/reference/cpp/functions_0x6f.html +126 -0
- data/reference/cpp/functions_0x70.html +136 -0
- data/reference/cpp/functions_0x72.html +154 -0
- data/reference/cpp/functions_0x73.html +179 -0
- data/reference/cpp/functions_0x74.html +127 -0
- data/reference/cpp/functions_0x75.html +121 -0
- data/reference/cpp/functions_0x76.html +117 -0
- data/reference/cpp/functions_0x77.html +129 -0
- data/reference/cpp/functions_0x78.html +115 -0
- data/reference/cpp/functions_0x79.html +115 -0
- data/reference/cpp/functions_0x7e.html +143 -0
- data/reference/cpp/functions_enum.html +87 -0
- data/reference/cpp/functions_eval.html +89 -0
- data/reference/cpp/functions_func.html +125 -0
- data/reference/cpp/functions_func_0x62.html +133 -0
- data/reference/cpp/functions_func_0x63.html +136 -0
- data/reference/cpp/functions_func_0x64.html +140 -0
- data/reference/cpp/functions_func_0x65.html +117 -0
- data/reference/cpp/functions_func_0x66.html +135 -0
- data/reference/cpp/functions_func_0x67.html +129 -0
- data/reference/cpp/functions_func_0x68.html +119 -0
- data/reference/cpp/functions_func_0x69.html +119 -0
- data/reference/cpp/functions_func_0x6b.html +113 -0
- data/reference/cpp/functions_func_0x6c.html +113 -0
- data/reference/cpp/functions_func_0x6d.html +123 -0
- data/reference/cpp/functions_func_0x6e.html +115 -0
- data/reference/cpp/functions_func_0x6f.html +113 -0
- data/reference/cpp/functions_func_0x70.html +134 -0
- data/reference/cpp/functions_func_0x72.html +150 -0
- data/reference/cpp/functions_func_0x73.html +173 -0
- data/reference/cpp/functions_func_0x74.html +119 -0
- data/reference/cpp/functions_func_0x75.html +119 -0
- data/reference/cpp/functions_func_0x76.html +115 -0
- data/reference/cpp/functions_func_0x77.html +127 -0
- data/reference/cpp/functions_func_0x7e.html +141 -0
- data/reference/cpp/functions_type.html +87 -0
- data/reference/cpp/functions_vars.html +112 -0
- data/reference/cpp/globals.html +84 -0
- data/reference/cpp/globals_defs.html +84 -0
- data/reference/cpp/hierarchy.html +100 -0
- data/reference/cpp/index.html +66 -0
- data/reference/cpp/open.gif +0 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
- data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
- data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
- data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
- data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
- data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
- data/reference/{tabs.css → cpp/tabs.css} +5 -2
- data/windows/Gosu.sln +5 -0
- data/windows/Gosu.vcproj +3 -3
- data/windows/RubyGosu.vcproj +103 -1
- metadata +178 -176
- data/reference/Async_8hpp-source.html +0 -70
- data/reference/Audio_8hpp-source.html +0 -125
- data/reference/Audio_8hpp.html +0 -50
- data/reference/AutoLink_8hpp-source.html +0 -38
- data/reference/AutoLink_8hpp.html +0 -34
- data/reference/Bitmap_8hpp-source.html +0 -84
- data/reference/Bitmap_8hpp.html +0 -58
- data/reference/ButtonsWin_8hpp-source.html +0 -159
- data/reference/ButtonsX_8hpp-source.html +0 -160
- data/reference/Color_8hpp-source.html +0 -169
- data/reference/Color_8hpp.html +0 -85
- data/reference/Directories_8hpp-source.html +0 -42
- data/reference/Directories_8hpp.html +0 -46
- data/reference/Font_8hpp-source.html +0 -65
- data/reference/Font_8hpp.html +0 -41
- data/reference/Fwd_8hpp.html +0 -37
- data/reference/Gosu_8hpp-source.html +0 -49
- data/reference/Gosu_8hpp.html +0 -34
- data/reference/GraphicsBase_8hpp-source.html +0 -59
- data/reference/GraphicsBase_8hpp.html +0 -59
- data/reference/Graphics_8hpp-source.html +0 -99
- data/reference/Graphics_8hpp.html +0 -60
- data/reference/IO_8hpp-source.html +0 -255
- data/reference/IO_8hpp.html +0 -74
- data/reference/ImageData_8hpp-source.html +0 -62
- data/reference/ImageData_8hpp.html +0 -43
- data/reference/Image_8hpp-source.html +0 -126
- data/reference/Image_8hpp.html +0 -48
- data/reference/Input_8hpp-source.html +0 -131
- data/reference/Input_8hpp.html +0 -56
- data/reference/Math_8hpp-source.html +0 -101
- data/reference/Math_8hpp.html +0 -78
- data/reference/Platform_8hpp.html +0 -73
- data/reference/RotFlip_8hpp-source.html +0 -138
- data/reference/RotFlip_8hpp.html +0 -77
- data/reference/Sockets_8hpp-source.html +0 -130
- data/reference/Sockets_8hpp.html +0 -66
- data/reference/TextInput_8hpp-source.html +0 -64
- data/reference/TextInput_8hpp.html +0 -41
- data/reference/Text_8hpp-source.html +0 -56
- data/reference/Text_8hpp.html +0 -48
- data/reference/Timing_8hpp-source.html +0 -36
- data/reference/Timing_8hpp.html +0 -42
- data/reference/Utility_8hpp-source.html +0 -43
- data/reference/Utility_8hpp.html +0 -46
- data/reference/WinUtility_8hpp-source.html +0 -79
- data/reference/WinUtility_8hpp.html +0 -64
- data/reference/Window_8hpp-source.html +0 -110
- data/reference/Window_8hpp.html +0 -41
- data/reference/annotated.html +0 -51
- data/reference/classGosu_1_1Audio-members.html +0 -34
- data/reference/classGosu_1_1Audio.html +0 -46
- data/reference/classGosu_1_1Bitmap-members.html +0 -45
- data/reference/classGosu_1_1Bitmap.html +0 -266
- data/reference/classGosu_1_1Buffer-members.html +0 -44
- data/reference/classGosu_1_1Buffer.html +0 -78
- data/reference/classGosu_1_1Button-members.html +0 -36
- data/reference/classGosu_1_1Button.html +0 -143
- data/reference/classGosu_1_1Color-members.html +0 -56
- data/reference/classGosu_1_1Color.html +0 -387
- data/reference/classGosu_1_1File-members.html +0 -41
- data/reference/classGosu_1_1File.html +0 -69
- data/reference/classGosu_1_1Font-members.html +0 -39
- data/reference/classGosu_1_1Graphics-members.html +0 -50
- data/reference/classGosu_1_1Graphics.html +0 -234
- data/reference/classGosu_1_1Image-members.html +0 -45
- data/reference/classGosu_1_1Image.html +0 -518
- data/reference/classGosu_1_1ImageData-members.html +0 -37
- data/reference/classGosu_1_1ImageData.html +0 -60
- data/reference/classGosu_1_1Input-members.html +0 -45
- data/reference/classGosu_1_1Input.html +0 -256
- data/reference/classGosu_1_1MessageSocket-members.html +0 -40
- data/reference/classGosu_1_1Resource-members.html +0 -39
- data/reference/classGosu_1_1Resource.html +0 -116
- data/reference/classGosu_1_1Sample-members.html +0 -37
- data/reference/classGosu_1_1SampleInstance-members.html +0 -41
- data/reference/classGosu_1_1SampleInstance.html +0 -178
- data/reference/classGosu_1_1Song-members.html +0 -46
- data/reference/classGosu_1_1TextInput-members.html +0 -38
- data/reference/classGosu_1_1TextInput.html +0 -121
- data/reference/classGosu_1_1Window-members.html +0 -50
- data/reference/classGosu_1_1Window.html +0 -289
- data/reference/doxyfile +0 -233
- data/reference/doxygen.css +0 -433
- data/reference/files.html +0 -54
- data/reference/functions.html +0 -249
- data/reference/functions_enum.html +0 -45
- data/reference/functions_func.html +0 -240
- data/reference/functions_vars.html +0 -47
- data/reference/hierarchy.html +0 -53
- data/reference/index.html +0 -26
- data/reference/namespaceGosu.html +0 -3363
- data/reference/namespaceGosu_1_1Colors.html +0 -70
- data/reference/namespaceGosu_1_1Win.html +0 -275
- data/reference/namespacemembers.html +0 -229
- data/reference/namespacemembers_enum.html +0 -52
- data/reference/namespacemembers_eval.html +0 -54
- data/reference/namespacemembers_func.html +0 -196
- data/reference/namespacemembers_type.html +0 -46
- data/reference/namespacemembers_vars.html +0 -48
- data/reference/namespaces.html +0 -35
data/GosuImpl/RubyGosuStub.mm
CHANGED
@@ -1,17 +1,49 @@
|
|
1
1
|
#include <Gosu/Directories.hpp>
|
2
2
|
#include <Gosu/Utility.hpp>
|
3
3
|
#include <unistd.h>
|
4
|
-
#include
|
4
|
+
#include "ruby.h"
|
5
|
+
#include "oniguruma.h"
|
6
|
+
|
7
|
+
extern "C" void Init_gosu();
|
8
|
+
|
9
|
+
extern "C" int rb_enc_register(const char *, OnigEncodingType*);
|
10
|
+
extern "C" void rb_encdb_declare(const char *name);
|
11
|
+
extern OnigEncodingType OnigEncodingASCII;
|
12
|
+
extern OnigEncodingType OnigEncodingUS_ASCII;
|
13
|
+
extern OnigEncodingType OnigEncodingUTF_8;
|
14
|
+
extern OnigEncodingType OnigEncodingUTF_16BE;
|
15
|
+
extern OnigEncodingType OnigEncodingUTF_16LE;
|
16
|
+
extern OnigEncodingType OnigEncodingUTF_32BE;
|
17
|
+
extern OnigEncodingType OnigEncodingUTF_32LE;
|
5
18
|
|
6
19
|
int main()
|
7
20
|
{
|
8
|
-
std::string resourcePath = Gosu::
|
9
|
-
std::string mainPath = resourcePath + "Main.rb";
|
10
|
-
char* argv[] = { "ruby", const_cast<char*>(mainPath.c_str()) };
|
21
|
+
std::string resourcePath = Gosu::wstringToUTF8(Gosu::resourcePrefix());
|
11
22
|
chdir(resourcePath.c_str());
|
12
23
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
24
|
+
std::string mainPath = resourcePath + "Main.rb";
|
25
|
+
|
26
|
+
char* argv[] = { "ruby", const_cast<char*>(mainPath.c_str()), 0 };
|
27
|
+
int argc = 2;
|
28
|
+
|
29
|
+
char** argvPointer = argv;
|
30
|
+
ruby_sysinit(&argc, &argvPointer);
|
31
|
+
{
|
32
|
+
RUBY_INIT_STACK;
|
33
|
+
|
34
|
+
ruby_init();
|
35
|
+
|
36
|
+
rb_encdb_declare(OnigEncodingASCII.name);
|
37
|
+
rb_encdb_declare(OnigEncodingUS_ASCII.name);
|
38
|
+
rb_encdb_declare(OnigEncodingUTF_8.name);
|
39
|
+
rb_enc_register(OnigEncodingUTF_16BE.name, &OnigEncodingUTF_16BE);
|
40
|
+
rb_enc_register(OnigEncodingUTF_16LE.name, &OnigEncodingUTF_16LE);
|
41
|
+
rb_enc_register(OnigEncodingUTF_32BE.name, &OnigEncodingUTF_32BE);
|
42
|
+
rb_enc_register(OnigEncodingUTF_32LE.name, &OnigEncodingUTF_32LE);
|
43
|
+
|
44
|
+
Init_gosu();
|
45
|
+
rb_eval_string("$LOADED_FEATURES << 'gosu.bundle'");
|
46
|
+
|
47
|
+
return ruby_run_node(ruby_options(argc, argv));
|
48
|
+
}
|
17
49
|
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
Index: GosuImpl/RubyGosu_wrap.cxx
|
2
|
+
===================================================================
|
3
|
+
--- GosuImpl/RubyGosu_wrap.cxx (Revision 993)
|
4
|
+
+++ GosuImpl/RubyGosu_wrap.cxx (Arbeitskopie)
|
5
|
+
@@ -8,6 +8,10 @@
|
6
|
+
* interface file instead.
|
7
|
+
* ----------------------------------------------------------------------------- */
|
8
|
+
|
9
|
+
+// This file was afterwards patched using the following instructions:
|
10
|
+
+// http://sourceforge.net/tracker/index.php?func=detail&aid=2034216&group_id=1645&atid=101645
|
11
|
+
+// (Many thanks to Kevin Burge for that.)
|
12
|
+
+
|
13
|
+
#define SWIGRUBY
|
14
|
+
#define SWIG_DIRECTORS
|
15
|
+
|
16
|
+
@@ -855,6 +859,7 @@
|
17
|
+
|
18
|
+
|
19
|
+
#include <ruby.h>
|
20
|
+
+#include <map>
|
21
|
+
|
22
|
+
/* Remove global macros defined in Ruby's win32.h */
|
23
|
+
#ifdef write
|
24
|
+
@@ -1183,7 +1188,7 @@
|
25
|
+
/* Global Ruby hash table to store Trackings from C/C++
|
26
|
+
structs to Ruby Objects.
|
27
|
+
*/
|
28
|
+
-static VALUE swig_ruby_trackings = Qnil;
|
29
|
+
+static std::map<void*, VALUE> swig_ruby_trackings;
|
30
|
+
|
31
|
+
/* Global variable that stores a reference to the ruby
|
32
|
+
hash table delete function. */
|
33
|
+
@@ -1200,34 +1205,18 @@
|
34
|
+
This is done to allow multiple DSOs to share the same
|
35
|
+
tracking table.
|
36
|
+
*/
|
37
|
+
- ID trackings_id = rb_intern( "@__trackings__" );
|
38
|
+
VALUE verbose = rb_gv_get("VERBOSE");
|
39
|
+
rb_gv_set("VERBOSE", Qfalse);
|
40
|
+
- swig_ruby_trackings = rb_ivar_get( _mSWIG, trackings_id );
|
41
|
+
rb_gv_set("VERBOSE", verbose);
|
42
|
+
|
43
|
+
/* No, it hasn't. Create one ourselves */
|
44
|
+
- if ( swig_ruby_trackings == Qnil )
|
45
|
+
- {
|
46
|
+
- swig_ruby_trackings = rb_hash_new();
|
47
|
+
- rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
|
48
|
+
- }
|
49
|
+
+ swig_ruby_trackings.clear();
|
50
|
+
|
51
|
+
/* Now store a reference to the hash table delete function
|
52
|
+
so that we only have to look it up once.*/
|
53
|
+
swig_ruby_hash_delete = rb_intern("delete");
|
54
|
+
}
|
55
|
+
|
56
|
+
-/* Get a Ruby number to reference a pointer */
|
57
|
+
-SWIGRUNTIME VALUE SWIG_RubyPtrToReference(void* ptr) {
|
58
|
+
- /* We cast the pointer to an unsigned long
|
59
|
+
- and then store a reference to it using
|
60
|
+
- a Ruby number object. */
|
61
|
+
-
|
62
|
+
- /* Convert the pointer to a Ruby number */
|
63
|
+
- return SWIG2NUM(ptr);
|
64
|
+
-}
|
65
|
+
-
|
66
|
+
/* Get a Ruby number to reference an object */
|
67
|
+
SWIGRUNTIME VALUE SWIG_RubyObjectToReference(VALUE object) {
|
68
|
+
/* We cast the object to an unsigned long
|
69
|
+
@@ -1249,39 +1238,16 @@
|
70
|
+
|
71
|
+
/* Add a Tracking from a C/C++ struct to a Ruby object */
|
72
|
+
SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
|
73
|
+
- /* In a Ruby hash table we store the pointer and
|
74
|
+
- the associated Ruby object. The trick here is
|
75
|
+
- that we cannot store the Ruby object directly - if
|
76
|
+
- we do then it cannot be garbage collected. So
|
77
|
+
- instead we typecast it as a unsigned long and
|
78
|
+
- convert it to a Ruby number object.*/
|
79
|
+
-
|
80
|
+
- /* Get a reference to the pointer as a Ruby number */
|
81
|
+
- VALUE key = SWIG_RubyPtrToReference(ptr);
|
82
|
+
-
|
83
|
+
- /* Get a reference to the Ruby object as a Ruby number */
|
84
|
+
- VALUE value = SWIG_RubyObjectToReference(object);
|
85
|
+
-
|
86
|
+
/* Store the mapping to the global hash table. */
|
87
|
+
- rb_hash_aset(swig_ruby_trackings, key, value);
|
88
|
+
+ swig_ruby_trackings[ptr] = object;
|
89
|
+
}
|
90
|
+
|
91
|
+
/* Get the Ruby object that owns the specified C/C++ struct */
|
92
|
+
SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
|
93
|
+
- /* Get a reference to the pointer as a Ruby number */
|
94
|
+
- VALUE key = SWIG_RubyPtrToReference(ptr);
|
95
|
+
-
|
96
|
+
- /* Now lookup the value stored in the global hash table */
|
97
|
+
- VALUE value = rb_hash_aref(swig_ruby_trackings, key);
|
98
|
+
-
|
99
|
+
- if (value == Qnil) {
|
100
|
+
- /* No object exists - return nil. */
|
101
|
+
+ if (swig_ruby_trackings.count(ptr) == 0)
|
102
|
+
return Qnil;
|
103
|
+
- }
|
104
|
+
- else {
|
105
|
+
- /* Convert this value to Ruby object */
|
106
|
+
- return SWIG_RubyReferenceToObject(value);
|
107
|
+
- }
|
108
|
+
+ else
|
109
|
+
+ return swig_ruby_trackings[ptr];
|
110
|
+
}
|
111
|
+
|
112
|
+
/* Remove a Tracking from a C/C++ struct to a Ruby object. It
|
113
|
+
@@ -1289,12 +1255,7 @@
|
114
|
+
since the same memory address may be reused later to create
|
115
|
+
a new object. */
|
116
|
+
SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
|
117
|
+
- /* Get a reference to the pointer as a Ruby number */
|
118
|
+
- VALUE key = SWIG_RubyPtrToReference(ptr);
|
119
|
+
-
|
120
|
+
- /* Delete the object from the hash table by calling Ruby's
|
121
|
+
- do this we need to call the Hash.delete method.*/
|
122
|
+
- rb_funcall(swig_ruby_trackings, swig_ruby_hash_delete, 1, key);
|
123
|
+
+ swig_ruby_trackings.erase(ptr);
|
124
|
+
}
|
125
|
+
|
126
|
+
/* This is a helper method that unlinks a Ruby object from its
|
data/GosuImpl/RubyGosu_wrap.cxx
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version 1.3.
|
3
|
+
* Version 1.3.39
|
4
4
|
*
|
5
5
|
* This file is not intended to be easily readable and contains a number of
|
6
6
|
* coding conventions designed to improve portability and efficiency. Do not make
|
@@ -8,6 +8,10 @@
|
|
8
8
|
* interface file instead.
|
9
9
|
* ----------------------------------------------------------------------------- */
|
10
10
|
|
11
|
+
// This file was afterwards patched using the following instructions:
|
12
|
+
// http://sourceforge.net/tracker/index.php?func=detail&aid=2034216&group_id=1645&atid=101645
|
13
|
+
// (Many thanks to Kevin Burge for that.)
|
14
|
+
|
11
15
|
#define SWIGRUBY
|
12
16
|
#define SWIG_DIRECTORS
|
13
17
|
|
@@ -855,6 +859,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
855
859
|
|
856
860
|
|
857
861
|
#include <ruby.h>
|
862
|
+
#include <map>
|
858
863
|
|
859
864
|
/* Remove global macros defined in Ruby's win32.h */
|
860
865
|
#ifdef write
|
@@ -863,6 +868,9 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
863
868
|
#ifdef read
|
864
869
|
# undef read
|
865
870
|
#endif
|
871
|
+
#ifdef bind
|
872
|
+
# undef bind
|
873
|
+
#endif
|
866
874
|
|
867
875
|
|
868
876
|
/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
|
@@ -1180,7 +1188,7 @@ extern "C" {
|
|
1180
1188
|
/* Global Ruby hash table to store Trackings from C/C++
|
1181
1189
|
structs to Ruby Objects.
|
1182
1190
|
*/
|
1183
|
-
static VALUE swig_ruby_trackings
|
1191
|
+
static std::map<void*, VALUE> swig_ruby_trackings;
|
1184
1192
|
|
1185
1193
|
/* Global variable that stores a reference to the ruby
|
1186
1194
|
hash table delete function. */
|
@@ -1197,34 +1205,18 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
|
1197
1205
|
This is done to allow multiple DSOs to share the same
|
1198
1206
|
tracking table.
|
1199
1207
|
*/
|
1200
|
-
ID trackings_id = rb_intern( "@__trackings__" );
|
1201
1208
|
VALUE verbose = rb_gv_get("VERBOSE");
|
1202
1209
|
rb_gv_set("VERBOSE", Qfalse);
|
1203
|
-
swig_ruby_trackings = rb_ivar_get( _mSWIG, trackings_id );
|
1204
1210
|
rb_gv_set("VERBOSE", verbose);
|
1205
1211
|
|
1206
1212
|
/* No, it hasn't. Create one ourselves */
|
1207
|
-
|
1208
|
-
{
|
1209
|
-
swig_ruby_trackings = rb_hash_new();
|
1210
|
-
rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
|
1211
|
-
}
|
1213
|
+
swig_ruby_trackings.clear();
|
1212
1214
|
|
1213
1215
|
/* Now store a reference to the hash table delete function
|
1214
1216
|
so that we only have to look it up once.*/
|
1215
1217
|
swig_ruby_hash_delete = rb_intern("delete");
|
1216
1218
|
}
|
1217
1219
|
|
1218
|
-
/* Get a Ruby number to reference a pointer */
|
1219
|
-
SWIGRUNTIME VALUE SWIG_RubyPtrToReference(void* ptr) {
|
1220
|
-
/* We cast the pointer to an unsigned long
|
1221
|
-
and then store a reference to it using
|
1222
|
-
a Ruby number object. */
|
1223
|
-
|
1224
|
-
/* Convert the pointer to a Ruby number */
|
1225
|
-
return SWIG2NUM(ptr);
|
1226
|
-
}
|
1227
|
-
|
1228
1220
|
/* Get a Ruby number to reference an object */
|
1229
1221
|
SWIGRUNTIME VALUE SWIG_RubyObjectToReference(VALUE object) {
|
1230
1222
|
/* We cast the object to an unsigned long
|
@@ -1246,39 +1238,16 @@ SWIGRUNTIME VALUE SWIG_RubyReferenceToObject(VALUE reference) {
|
|
1246
1238
|
|
1247
1239
|
/* Add a Tracking from a C/C++ struct to a Ruby object */
|
1248
1240
|
SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
|
1249
|
-
/* In a Ruby hash table we store the pointer and
|
1250
|
-
the associated Ruby object. The trick here is
|
1251
|
-
that we cannot store the Ruby object directly - if
|
1252
|
-
we do then it cannot be garbage collected. So
|
1253
|
-
instead we typecast it as a unsigned long and
|
1254
|
-
convert it to a Ruby number object.*/
|
1255
|
-
|
1256
|
-
/* Get a reference to the pointer as a Ruby number */
|
1257
|
-
VALUE key = SWIG_RubyPtrToReference(ptr);
|
1258
|
-
|
1259
|
-
/* Get a reference to the Ruby object as a Ruby number */
|
1260
|
-
VALUE value = SWIG_RubyObjectToReference(object);
|
1261
|
-
|
1262
1241
|
/* Store the mapping to the global hash table. */
|
1263
|
-
|
1242
|
+
swig_ruby_trackings[ptr] = object;
|
1264
1243
|
}
|
1265
1244
|
|
1266
1245
|
/* Get the Ruby object that owns the specified C/C++ struct */
|
1267
1246
|
SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
|
1268
|
-
|
1269
|
-
VALUE key = SWIG_RubyPtrToReference(ptr);
|
1270
|
-
|
1271
|
-
/* Now lookup the value stored in the global hash table */
|
1272
|
-
VALUE value = rb_hash_aref(swig_ruby_trackings, key);
|
1273
|
-
|
1274
|
-
if (value == Qnil) {
|
1275
|
-
/* No object exists - return nil. */
|
1247
|
+
if (swig_ruby_trackings.count(ptr) == 0)
|
1276
1248
|
return Qnil;
|
1277
|
-
|
1278
|
-
|
1279
|
-
/* Convert this value to Ruby object */
|
1280
|
-
return SWIG_RubyReferenceToObject(value);
|
1281
|
-
}
|
1249
|
+
else
|
1250
|
+
return swig_ruby_trackings[ptr];
|
1282
1251
|
}
|
1283
1252
|
|
1284
1253
|
/* Remove a Tracking from a C/C++ struct to a Ruby object. It
|
@@ -1286,12 +1255,7 @@ SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
|
|
1286
1255
|
since the same memory address may be reused later to create
|
1287
1256
|
a new object. */
|
1288
1257
|
SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
|
1289
|
-
|
1290
|
-
VALUE key = SWIG_RubyPtrToReference(ptr);
|
1291
|
-
|
1292
|
-
/* Delete the object from the hash table by calling Ruby's
|
1293
|
-
do this we need to call the Hash.delete method.*/
|
1294
|
-
rb_funcall(swig_ruby_trackings, swig_ruby_hash_delete, 1, key);
|
1258
|
+
swig_ruby_trackings.erase(ptr);
|
1295
1259
|
}
|
1296
1260
|
|
1297
1261
|
/* This is a helper method that unlinks a Ruby object from its
|
@@ -2217,7 +2181,7 @@ static VALUE mGosu;
|
|
2217
2181
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
2218
2182
|
|
2219
2183
|
|
2220
|
-
#define SWIGVERSION
|
2184
|
+
#define SWIGVERSION 0x010339
|
2221
2185
|
#define SWIG_VERSION SWIGVERSION
|
2222
2186
|
|
2223
2187
|
|
@@ -2234,6 +2198,14 @@ static VALUE mGosu;
|
|
2234
2198
|
#undef read
|
2235
2199
|
#undef sleep
|
2236
2200
|
#undef Sleep
|
2201
|
+
#undef int8_t
|
2202
|
+
#undef uint8_t
|
2203
|
+
#undef int16_t
|
2204
|
+
#undef uint16_t
|
2205
|
+
#undef int32_t
|
2206
|
+
#undef uint32_t
|
2207
|
+
#undef int64_t
|
2208
|
+
#undef uint64_t
|
2237
2209
|
|
2238
2210
|
//#ifndef WIN32
|
2239
2211
|
//#include <Gosu/Async.hpp>
|
@@ -2349,7 +2321,7 @@ SWIG_ruby_failed(void)
|
|
2349
2321
|
}
|
2350
2322
|
|
2351
2323
|
|
2352
|
-
/*@SWIG:/usr/local/share/swig/1.3.
|
2324
|
+
/*@SWIG:/usr/local/share/swig/1.3.39/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
|
2353
2325
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
|
2354
2326
|
{
|
2355
2327
|
VALUE obj = args[0];
|
@@ -2391,7 +2363,7 @@ SWIG_From_unsigned_SS_int (unsigned int value)
|
|
2391
2363
|
#include <string>
|
2392
2364
|
|
2393
2365
|
|
2394
|
-
/*@SWIG:/usr/local/share/swig/1.3.
|
2366
|
+
/*@SWIG:/usr/local/share/swig/1.3.39/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
|
2395
2367
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
|
2396
2368
|
{
|
2397
2369
|
VALUE obj = args[0];
|
@@ -2492,7 +2464,7 @@ SWIG_From_std_string (const std::string& s)
|
|
2492
2464
|
}
|
2493
2465
|
|
2494
2466
|
|
2495
|
-
/*@SWIG:/usr/local/share/swig/1.3.
|
2467
|
+
/*@SWIG:/usr/local/share/swig/1.3.39/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
|
2496
2468
|
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2497
2469
|
{
|
2498
2470
|
VALUE obj = args[0];
|
@@ -2582,12 +2554,12 @@ SWIG_AsVal_bool (VALUE obj, bool *val)
|
|
2582
2554
|
return SWIG_TypeError;
|
2583
2555
|
}
|
2584
2556
|
|
2585
|
-
SWIGINTERN Gosu::Image *new_Gosu_Image__SWIG_0(Gosu::Window &window,VALUE source,bool
|
2586
|
-
return new Gosu::Image(window.graphics(), Gosu::loadBitmap(source),
|
2557
|
+
SWIGINTERN Gosu::Image *new_Gosu_Image__SWIG_0(Gosu::Window &window,VALUE source,bool tileable=false){
|
2558
|
+
return new Gosu::Image(window.graphics(), Gosu::loadBitmap(source), tileable);
|
2587
2559
|
}
|
2588
|
-
SWIGINTERN Gosu::Image *new_Gosu_Image__SWIG_1(Gosu::Window &window,VALUE source,bool
|
2560
|
+
SWIGINTERN Gosu::Image *new_Gosu_Image__SWIG_1(Gosu::Window &window,VALUE source,bool tileable,unsigned int srcX,unsigned int srcY,unsigned int srcWidth,unsigned int srcHeight){
|
2589
2561
|
return new Gosu::Image(window.graphics(), Gosu::loadBitmap(source),
|
2590
|
-
srcX, srcY, srcWidth, srcHeight,
|
2562
|
+
srcX, srcY, srcWidth, srcHeight, tileable);
|
2591
2563
|
}
|
2592
2564
|
SWIGINTERN void Gosu_Image_drawAsQuad(Gosu::Image *self,double x1,double y1,Gosu::Color c1,double x2,double y2,Gosu::Color c2,double x3,double y3,Gosu::Color c3,double x4,double y4,Gosu::Color c4,Gosu::ZPos z,Gosu::AlphaMode mode=Gosu::amDefault){
|
2593
2565
|
self->getData().draw(x1, y1, c1, x2, y2, c2, x3, y3, c3, x4, y4, c4, z, mode);
|
@@ -2607,11 +2579,11 @@ SWIGINTERN Gosu::Image *Gosu_Image_fromText7(Gosu::Window &window,std::wstring c
|
|
2607
2579
|
Gosu::Bitmap bmp = Gosu::createText(text, fontName, fontHeight, lineSpacing, maxWidth, align);
|
2608
2580
|
return new Gosu::Image(window.graphics(), bmp);
|
2609
2581
|
}
|
2610
|
-
SWIGINTERN std::vector< Gosu::Image * > Gosu_Image_loadTiles(Gosu::Window &window,VALUE source,int tileWidth,int tileHeight,bool
|
2582
|
+
SWIGINTERN std::vector< Gosu::Image * > Gosu_Image_loadTiles(Gosu::Window &window,VALUE source,int tileWidth,int tileHeight,bool tileable){
|
2611
2583
|
std::vector<Gosu::Image*> vec;
|
2612
2584
|
// TODO: const correctness (<- did I mean exception safety?)
|
2613
2585
|
Gosu::imagesFromTiledBitmap(window.graphics(), Gosu::loadBitmap(source),
|
2614
|
-
tileWidth, tileHeight,
|
2586
|
+
tileWidth, tileHeight, tileable, vec);
|
2615
2587
|
return vec;
|
2616
2588
|
}
|
2617
2589
|
|
@@ -2844,6 +2816,16 @@ void SwigDirector_Window::buttonUp(Gosu::Button arg0) {
|
|
2844
2816
|
}
|
2845
2817
|
|
2846
2818
|
|
2819
|
+
|
2820
|
+
/*
|
2821
|
+
Document-method: Gosu::Gosu.milliseconds
|
2822
|
+
|
2823
|
+
call-seq:
|
2824
|
+
milliseconds -> unsigned long
|
2825
|
+
|
2826
|
+
A module function.
|
2827
|
+
|
2828
|
+
*/
|
2847
2829
|
SWIGINTERN VALUE
|
2848
2830
|
_wrap_milliseconds(int argc, VALUE *argv, VALUE self) {
|
2849
2831
|
unsigned long result;
|
@@ -2866,6 +2848,16 @@ fail:
|
|
2866
2848
|
}
|
2867
2849
|
|
2868
2850
|
|
2851
|
+
|
2852
|
+
/*
|
2853
|
+
Document-method: Gosu::Gosu.random
|
2854
|
+
|
2855
|
+
call-seq:
|
2856
|
+
random(double min, double max) -> double
|
2857
|
+
|
2858
|
+
A module function.
|
2859
|
+
|
2860
|
+
*/
|
2869
2861
|
SWIGINTERN VALUE
|
2870
2862
|
_wrap_random(int argc, VALUE *argv, VALUE self) {
|
2871
2863
|
double arg1 ;
|
@@ -2904,6 +2896,16 @@ fail:
|
|
2904
2896
|
}
|
2905
2897
|
|
2906
2898
|
|
2899
|
+
|
2900
|
+
/*
|
2901
|
+
Document-method: Gosu::Gosu.offset_x
|
2902
|
+
|
2903
|
+
call-seq:
|
2904
|
+
offset_x(double angle, double radius) -> double
|
2905
|
+
|
2906
|
+
A module function.
|
2907
|
+
|
2908
|
+
*/
|
2907
2909
|
SWIGINTERN VALUE
|
2908
2910
|
_wrap_offset_x(int argc, VALUE *argv, VALUE self) {
|
2909
2911
|
double arg1 ;
|
@@ -2942,6 +2944,16 @@ fail:
|
|
2942
2944
|
}
|
2943
2945
|
|
2944
2946
|
|
2947
|
+
|
2948
|
+
/*
|
2949
|
+
Document-method: Gosu::Gosu.offset_y
|
2950
|
+
|
2951
|
+
call-seq:
|
2952
|
+
offset_y(double angle, double radius) -> double
|
2953
|
+
|
2954
|
+
A module function.
|
2955
|
+
|
2956
|
+
*/
|
2945
2957
|
SWIGINTERN VALUE
|
2946
2958
|
_wrap_offset_y(int argc, VALUE *argv, VALUE self) {
|
2947
2959
|
double arg1 ;
|
@@ -2980,6 +2992,17 @@ fail:
|
|
2980
2992
|
}
|
2981
2993
|
|
2982
2994
|
|
2995
|
+
|
2996
|
+
/*
|
2997
|
+
Document-method: Gosu::Gosu.angle
|
2998
|
+
|
2999
|
+
call-seq:
|
3000
|
+
angle(double fromX, double fromY, double toX, double toY,
|
3001
|
+
double def=0) -> double
|
3002
|
+
|
3003
|
+
A module function.
|
3004
|
+
|
3005
|
+
*/
|
2983
3006
|
SWIGINTERN VALUE
|
2984
3007
|
_wrap_angle(int argc, VALUE *argv, VALUE self) {
|
2985
3008
|
double arg1 ;
|
@@ -3044,6 +3067,16 @@ fail:
|
|
3044
3067
|
}
|
3045
3068
|
|
3046
3069
|
|
3070
|
+
|
3071
|
+
/*
|
3072
|
+
Document-method: Gosu::Gosu.angle_diff
|
3073
|
+
|
3074
|
+
call-seq:
|
3075
|
+
angle_diff(double angle1, double angle2) -> double
|
3076
|
+
|
3077
|
+
A module function.
|
3078
|
+
|
3079
|
+
*/
|
3047
3080
|
SWIGINTERN VALUE
|
3048
3081
|
_wrap_angle_diff(int argc, VALUE *argv, VALUE self) {
|
3049
3082
|
double arg1 ;
|
@@ -3082,6 +3115,16 @@ fail:
|
|
3082
3115
|
}
|
3083
3116
|
|
3084
3117
|
|
3118
|
+
|
3119
|
+
/*
|
3120
|
+
Document-method: Gosu::Gosu.normalize_angle
|
3121
|
+
|
3122
|
+
call-seq:
|
3123
|
+
normalize_angle(double angle) -> double
|
3124
|
+
|
3125
|
+
A module function.
|
3126
|
+
|
3127
|
+
*/
|
3085
3128
|
SWIGINTERN VALUE
|
3086
3129
|
_wrap_normalize_angle(int argc, VALUE *argv, VALUE self) {
|
3087
3130
|
double arg1 ;
|
@@ -3112,6 +3155,16 @@ fail:
|
|
3112
3155
|
}
|
3113
3156
|
|
3114
3157
|
|
3158
|
+
|
3159
|
+
/*
|
3160
|
+
Document-method: Gosu::Gosu.distance
|
3161
|
+
|
3162
|
+
call-seq:
|
3163
|
+
distance(double x1, double y1, double x2, double y2) -> double
|
3164
|
+
|
3165
|
+
A module function.
|
3166
|
+
|
3167
|
+
*/
|
3115
3168
|
SWIGINTERN VALUE
|
3116
3169
|
_wrap_distance(int argc, VALUE *argv, VALUE self) {
|
3117
3170
|
double arg1 ;
|
@@ -3166,6 +3219,16 @@ fail:
|
|
3166
3219
|
}
|
3167
3220
|
|
3168
3221
|
|
3222
|
+
|
3223
|
+
/*
|
3224
|
+
Document-method: Gosu::Gosu.default_font_name
|
3225
|
+
|
3226
|
+
call-seq:
|
3227
|
+
default_font_name -> std::wstring
|
3228
|
+
|
3229
|
+
A module function.
|
3230
|
+
|
3231
|
+
*/
|
3169
3232
|
SWIGINTERN VALUE
|
3170
3233
|
_wrap_default_font_name(int argc, VALUE *argv, VALUE self) {
|
3171
3234
|
std::wstring result;
|
@@ -3190,6 +3253,16 @@ fail:
|
|
3190
3253
|
}
|
3191
3254
|
|
3192
3255
|
|
3256
|
+
|
3257
|
+
/*
|
3258
|
+
Document-method: Gosu::Gosu.screen_width
|
3259
|
+
|
3260
|
+
call-seq:
|
3261
|
+
screen_width -> unsigned int
|
3262
|
+
|
3263
|
+
A module function.
|
3264
|
+
|
3265
|
+
*/
|
3193
3266
|
SWIGINTERN VALUE
|
3194
3267
|
_wrap_screen_width(int argc, VALUE *argv, VALUE self) {
|
3195
3268
|
unsigned int result;
|
@@ -3212,6 +3285,16 @@ fail:
|
|
3212
3285
|
}
|
3213
3286
|
|
3214
3287
|
|
3288
|
+
|
3289
|
+
/*
|
3290
|
+
Document-method: Gosu::Gosu.screen_height
|
3291
|
+
|
3292
|
+
call-seq:
|
3293
|
+
screen_height -> unsigned int
|
3294
|
+
|
3295
|
+
A module function.
|
3296
|
+
|
3297
|
+
*/
|
3215
3298
|
SWIGINTERN VALUE
|
3216
3299
|
_wrap_screen_height(int argc, VALUE *argv, VALUE self) {
|
3217
3300
|
unsigned int result;
|
@@ -3234,8 +3317,29 @@ fail:
|
|
3234
3317
|
}
|
3235
3318
|
|
3236
3319
|
|
3237
|
-
swig_class cColor;
|
3238
3320
|
|
3321
|
+
/*
|
3322
|
+
Document-class: Gosu::Color
|
3323
|
+
|
3324
|
+
Proxy of C++ Gosu::Color class
|
3325
|
+
|
3326
|
+
|
3327
|
+
*/
|
3328
|
+
swig_class SwigClassColor;
|
3329
|
+
|
3330
|
+
|
3331
|
+
/*
|
3332
|
+
Document-method: Gosu::Color.new
|
3333
|
+
|
3334
|
+
call-seq:
|
3335
|
+
Color.new
|
3336
|
+
Color.new(boost::uint32_t argb)
|
3337
|
+
Color.new(Channel red, Channel green, Channel blue)
|
3338
|
+
Color.new(Channel alpha, Channel red, Channel green, Channel blue)
|
3339
|
+
|
3340
|
+
Class constructor.
|
3341
|
+
|
3342
|
+
*/
|
3239
3343
|
SWIGINTERN VALUE
|
3240
3344
|
_wrap_new_Color__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
3241
3345
|
const char *classname SWIGUNUSED = "Gosu::Color";
|
@@ -3494,6 +3598,16 @@ fail:
|
|
3494
3598
|
}
|
3495
3599
|
|
3496
3600
|
|
3601
|
+
|
3602
|
+
/*
|
3603
|
+
Document-method: Gosu::Color.from_hsv
|
3604
|
+
|
3605
|
+
call-seq:
|
3606
|
+
from_hsv(double h, double s, double v) -> Color
|
3607
|
+
|
3608
|
+
A class method.
|
3609
|
+
|
3610
|
+
*/
|
3497
3611
|
SWIGINTERN VALUE
|
3498
3612
|
_wrap_Color_from_hsv(int argc, VALUE *argv, VALUE self) {
|
3499
3613
|
double arg1 ;
|
@@ -3540,6 +3654,16 @@ fail:
|
|
3540
3654
|
}
|
3541
3655
|
|
3542
3656
|
|
3657
|
+
|
3658
|
+
/*
|
3659
|
+
Document-method: Gosu::Color.from_ahsv
|
3660
|
+
|
3661
|
+
call-seq:
|
3662
|
+
from_ahsv(Channel alpha, double h, double s, double v) -> Color
|
3663
|
+
|
3664
|
+
A class method.
|
3665
|
+
|
3666
|
+
*/
|
3543
3667
|
SWIGINTERN VALUE
|
3544
3668
|
_wrap_Color_from_ahsv(int argc, VALUE *argv, VALUE self) {
|
3545
3669
|
Gosu::Color::Channel arg1 ;
|
@@ -3594,6 +3718,16 @@ fail:
|
|
3594
3718
|
}
|
3595
3719
|
|
3596
3720
|
|
3721
|
+
|
3722
|
+
/*
|
3723
|
+
Document-method: Gosu::Color.alpha
|
3724
|
+
|
3725
|
+
call-seq:
|
3726
|
+
alpha -> Channel
|
3727
|
+
|
3728
|
+
An instance method.
|
3729
|
+
|
3730
|
+
*/
|
3597
3731
|
SWIGINTERN VALUE
|
3598
3732
|
_wrap_Color_alpha(int argc, VALUE *argv, VALUE self) {
|
3599
3733
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3624,6 +3758,16 @@ fail:
|
|
3624
3758
|
}
|
3625
3759
|
|
3626
3760
|
|
3761
|
+
|
3762
|
+
/*
|
3763
|
+
Document-method: Gosu::Color.red
|
3764
|
+
|
3765
|
+
call-seq:
|
3766
|
+
red -> Channel
|
3767
|
+
|
3768
|
+
An instance method.
|
3769
|
+
|
3770
|
+
*/
|
3627
3771
|
SWIGINTERN VALUE
|
3628
3772
|
_wrap_Color_red(int argc, VALUE *argv, VALUE self) {
|
3629
3773
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3654,6 +3798,16 @@ fail:
|
|
3654
3798
|
}
|
3655
3799
|
|
3656
3800
|
|
3801
|
+
|
3802
|
+
/*
|
3803
|
+
Document-method: Gosu::Color.green
|
3804
|
+
|
3805
|
+
call-seq:
|
3806
|
+
green -> Channel
|
3807
|
+
|
3808
|
+
An instance method.
|
3809
|
+
|
3810
|
+
*/
|
3657
3811
|
SWIGINTERN VALUE
|
3658
3812
|
_wrap_Color_green(int argc, VALUE *argv, VALUE self) {
|
3659
3813
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3684,6 +3838,16 @@ fail:
|
|
3684
3838
|
}
|
3685
3839
|
|
3686
3840
|
|
3841
|
+
|
3842
|
+
/*
|
3843
|
+
Document-method: Gosu::Color.blue
|
3844
|
+
|
3845
|
+
call-seq:
|
3846
|
+
blue -> Channel
|
3847
|
+
|
3848
|
+
An instance method.
|
3849
|
+
|
3850
|
+
*/
|
3687
3851
|
SWIGINTERN VALUE
|
3688
3852
|
_wrap_Color_blue(int argc, VALUE *argv, VALUE self) {
|
3689
3853
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3714,6 +3878,16 @@ fail:
|
|
3714
3878
|
}
|
3715
3879
|
|
3716
3880
|
|
3881
|
+
|
3882
|
+
/*
|
3883
|
+
Document-method: Gosu::Color.alpha=
|
3884
|
+
|
3885
|
+
call-seq:
|
3886
|
+
alpha=(Channel value)
|
3887
|
+
|
3888
|
+
An instance method.
|
3889
|
+
|
3890
|
+
*/
|
3717
3891
|
SWIGINTERN VALUE
|
3718
3892
|
_wrap_Color_alphae___(int argc, VALUE *argv, VALUE self) {
|
3719
3893
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3749,6 +3923,16 @@ fail:
|
|
3749
3923
|
}
|
3750
3924
|
|
3751
3925
|
|
3926
|
+
|
3927
|
+
/*
|
3928
|
+
Document-method: Gosu::Color.red=
|
3929
|
+
|
3930
|
+
call-seq:
|
3931
|
+
red=(Channel value)
|
3932
|
+
|
3933
|
+
An instance method.
|
3934
|
+
|
3935
|
+
*/
|
3752
3936
|
SWIGINTERN VALUE
|
3753
3937
|
_wrap_Color_rede___(int argc, VALUE *argv, VALUE self) {
|
3754
3938
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3784,6 +3968,16 @@ fail:
|
|
3784
3968
|
}
|
3785
3969
|
|
3786
3970
|
|
3971
|
+
|
3972
|
+
/*
|
3973
|
+
Document-method: Gosu::Color.green=
|
3974
|
+
|
3975
|
+
call-seq:
|
3976
|
+
green=(Channel value)
|
3977
|
+
|
3978
|
+
An instance method.
|
3979
|
+
|
3980
|
+
*/
|
3787
3981
|
SWIGINTERN VALUE
|
3788
3982
|
_wrap_Color_greene___(int argc, VALUE *argv, VALUE self) {
|
3789
3983
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3819,6 +4013,16 @@ fail:
|
|
3819
4013
|
}
|
3820
4014
|
|
3821
4015
|
|
4016
|
+
|
4017
|
+
/*
|
4018
|
+
Document-method: Gosu::Color.blue=
|
4019
|
+
|
4020
|
+
call-seq:
|
4021
|
+
blue=(Channel value)
|
4022
|
+
|
4023
|
+
An instance method.
|
4024
|
+
|
4025
|
+
*/
|
3822
4026
|
SWIGINTERN VALUE
|
3823
4027
|
_wrap_Color_bluee___(int argc, VALUE *argv, VALUE self) {
|
3824
4028
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3854,6 +4058,16 @@ fail:
|
|
3854
4058
|
}
|
3855
4059
|
|
3856
4060
|
|
4061
|
+
|
4062
|
+
/*
|
4063
|
+
Document-method: Gosu::Color.hue
|
4064
|
+
|
4065
|
+
call-seq:
|
4066
|
+
hue -> double
|
4067
|
+
|
4068
|
+
An instance method.
|
4069
|
+
|
4070
|
+
*/
|
3857
4071
|
SWIGINTERN VALUE
|
3858
4072
|
_wrap_Color_hue(int argc, VALUE *argv, VALUE self) {
|
3859
4073
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3884,6 +4098,16 @@ fail:
|
|
3884
4098
|
}
|
3885
4099
|
|
3886
4100
|
|
4101
|
+
|
4102
|
+
/*
|
4103
|
+
Document-method: Gosu::Color.hue=
|
4104
|
+
|
4105
|
+
call-seq:
|
4106
|
+
hue=(double h)
|
4107
|
+
|
4108
|
+
An instance method.
|
4109
|
+
|
4110
|
+
*/
|
3887
4111
|
SWIGINTERN VALUE
|
3888
4112
|
_wrap_Color_huee___(int argc, VALUE *argv, VALUE self) {
|
3889
4113
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3919,6 +4143,16 @@ fail:
|
|
3919
4143
|
}
|
3920
4144
|
|
3921
4145
|
|
4146
|
+
|
4147
|
+
/*
|
4148
|
+
Document-method: Gosu::Color.saturation
|
4149
|
+
|
4150
|
+
call-seq:
|
4151
|
+
saturation -> double
|
4152
|
+
|
4153
|
+
An instance method.
|
4154
|
+
|
4155
|
+
*/
|
3922
4156
|
SWIGINTERN VALUE
|
3923
4157
|
_wrap_Color_saturation(int argc, VALUE *argv, VALUE self) {
|
3924
4158
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3949,6 +4183,16 @@ fail:
|
|
3949
4183
|
}
|
3950
4184
|
|
3951
4185
|
|
4186
|
+
|
4187
|
+
/*
|
4188
|
+
Document-method: Gosu::Color.saturation=
|
4189
|
+
|
4190
|
+
call-seq:
|
4191
|
+
saturation=(double s)
|
4192
|
+
|
4193
|
+
An instance method.
|
4194
|
+
|
4195
|
+
*/
|
3952
4196
|
SWIGINTERN VALUE
|
3953
4197
|
_wrap_Color_saturatione___(int argc, VALUE *argv, VALUE self) {
|
3954
4198
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -3984,6 +4228,16 @@ fail:
|
|
3984
4228
|
}
|
3985
4229
|
|
3986
4230
|
|
4231
|
+
|
4232
|
+
/*
|
4233
|
+
Document-method: Gosu::Color.value
|
4234
|
+
|
4235
|
+
call-seq:
|
4236
|
+
value -> double
|
4237
|
+
|
4238
|
+
An instance method.
|
4239
|
+
|
4240
|
+
*/
|
3987
4241
|
SWIGINTERN VALUE
|
3988
4242
|
_wrap_Color_value(int argc, VALUE *argv, VALUE self) {
|
3989
4243
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4014,6 +4268,16 @@ fail:
|
|
4014
4268
|
}
|
4015
4269
|
|
4016
4270
|
|
4271
|
+
|
4272
|
+
/*
|
4273
|
+
Document-method: Gosu::Color.value=
|
4274
|
+
|
4275
|
+
call-seq:
|
4276
|
+
value=(double v)
|
4277
|
+
|
4278
|
+
An instance method.
|
4279
|
+
|
4280
|
+
*/
|
4017
4281
|
SWIGINTERN VALUE
|
4018
4282
|
_wrap_Color_valuee___(int argc, VALUE *argv, VALUE self) {
|
4019
4283
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4049,6 +4313,16 @@ fail:
|
|
4049
4313
|
}
|
4050
4314
|
|
4051
4315
|
|
4316
|
+
|
4317
|
+
/*
|
4318
|
+
Document-method: Gosu::Color.argb
|
4319
|
+
|
4320
|
+
call-seq:
|
4321
|
+
argb -> boost::uint32_t
|
4322
|
+
|
4323
|
+
An instance method.
|
4324
|
+
|
4325
|
+
*/
|
4052
4326
|
SWIGINTERN VALUE
|
4053
4327
|
_wrap_Color_argb(int argc, VALUE *argv, VALUE self) {
|
4054
4328
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4079,6 +4353,16 @@ fail:
|
|
4079
4353
|
}
|
4080
4354
|
|
4081
4355
|
|
4356
|
+
|
4357
|
+
/*
|
4358
|
+
Document-method: Gosu::Color.bgr
|
4359
|
+
|
4360
|
+
call-seq:
|
4361
|
+
bgr -> boost::uint32_t
|
4362
|
+
|
4363
|
+
An instance method.
|
4364
|
+
|
4365
|
+
*/
|
4082
4366
|
SWIGINTERN VALUE
|
4083
4367
|
_wrap_Color_bgr(int argc, VALUE *argv, VALUE self) {
|
4084
4368
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4109,6 +4393,16 @@ fail:
|
|
4109
4393
|
}
|
4110
4394
|
|
4111
4395
|
|
4396
|
+
|
4397
|
+
/*
|
4398
|
+
Document-method: Gosu::Color.abgr
|
4399
|
+
|
4400
|
+
call-seq:
|
4401
|
+
abgr -> boost::uint32_t
|
4402
|
+
|
4403
|
+
An instance method.
|
4404
|
+
|
4405
|
+
*/
|
4112
4406
|
SWIGINTERN VALUE
|
4113
4407
|
_wrap_Color_abgr(int argc, VALUE *argv, VALUE self) {
|
4114
4408
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4139,6 +4433,16 @@ fail:
|
|
4139
4433
|
}
|
4140
4434
|
|
4141
4435
|
|
4436
|
+
|
4437
|
+
/*
|
4438
|
+
Document-method: Gosu::Color.to_s
|
4439
|
+
|
4440
|
+
call-seq:
|
4441
|
+
to_s -> string
|
4442
|
+
|
4443
|
+
An instance method.
|
4444
|
+
|
4445
|
+
*/
|
4142
4446
|
SWIGINTERN VALUE
|
4143
4447
|
_wrap_Color_to_s(int argc, VALUE *argv, VALUE self) {
|
4144
4448
|
Gosu::Color *arg1 = (Gosu::Color *) 0 ;
|
@@ -4175,6 +4479,16 @@ free_Gosu_Color(Gosu::Color *arg1) {
|
|
4175
4479
|
delete arg1;
|
4176
4480
|
}
|
4177
4481
|
|
4482
|
+
|
4483
|
+
/*
|
4484
|
+
Document-method: Gosu::Gosu.interpolate
|
4485
|
+
|
4486
|
+
call-seq:
|
4487
|
+
interpolate(Color a, Color b, double weight=0.5) -> Color
|
4488
|
+
|
4489
|
+
A module function.
|
4490
|
+
|
4491
|
+
*/
|
4178
4492
|
SWIGINTERN VALUE
|
4179
4493
|
_wrap_interpolate(int argc, VALUE *argv, VALUE self) {
|
4180
4494
|
Gosu::Color arg1 ;
|
@@ -4231,6 +4545,16 @@ fail:
|
|
4231
4545
|
}
|
4232
4546
|
|
4233
4547
|
|
4548
|
+
|
4549
|
+
/*
|
4550
|
+
Document-method: Gosu::Gosu.multiply
|
4551
|
+
|
4552
|
+
call-seq:
|
4553
|
+
multiply(Color a, Color b) -> Color
|
4554
|
+
|
4555
|
+
A module function.
|
4556
|
+
|
4557
|
+
*/
|
4234
4558
|
SWIGINTERN VALUE
|
4235
4559
|
_wrap_multiply(int argc, VALUE *argv, VALUE self) {
|
4236
4560
|
Gosu::Color arg1 ;
|
@@ -4277,6 +4601,16 @@ fail:
|
|
4277
4601
|
}
|
4278
4602
|
|
4279
4603
|
|
4604
|
+
|
4605
|
+
/*
|
4606
|
+
Document-method: Gosu::Colors.none
|
4607
|
+
|
4608
|
+
call-seq:
|
4609
|
+
none -> Color
|
4610
|
+
|
4611
|
+
Get value of attribute.
|
4612
|
+
|
4613
|
+
*/
|
4280
4614
|
SWIGINTERN VALUE
|
4281
4615
|
_wrap_none_get(VALUE self) {
|
4282
4616
|
VALUE _val;
|
@@ -4286,6 +4620,16 @@ _wrap_none_get(VALUE self) {
|
|
4286
4620
|
}
|
4287
4621
|
|
4288
4622
|
|
4623
|
+
|
4624
|
+
/*
|
4625
|
+
Document-method: Gosu::Colors.black
|
4626
|
+
|
4627
|
+
call-seq:
|
4628
|
+
black -> Color
|
4629
|
+
|
4630
|
+
Get value of attribute.
|
4631
|
+
|
4632
|
+
*/
|
4289
4633
|
SWIGINTERN VALUE
|
4290
4634
|
_wrap_black_get(VALUE self) {
|
4291
4635
|
VALUE _val;
|
@@ -4295,6 +4639,16 @@ _wrap_black_get(VALUE self) {
|
|
4295
4639
|
}
|
4296
4640
|
|
4297
4641
|
|
4642
|
+
|
4643
|
+
/*
|
4644
|
+
Document-method: Gosu::Colors.gray
|
4645
|
+
|
4646
|
+
call-seq:
|
4647
|
+
gray -> Color
|
4648
|
+
|
4649
|
+
Get value of attribute.
|
4650
|
+
|
4651
|
+
*/
|
4298
4652
|
SWIGINTERN VALUE
|
4299
4653
|
_wrap_gray_get(VALUE self) {
|
4300
4654
|
VALUE _val;
|
@@ -4304,6 +4658,16 @@ _wrap_gray_get(VALUE self) {
|
|
4304
4658
|
}
|
4305
4659
|
|
4306
4660
|
|
4661
|
+
|
4662
|
+
/*
|
4663
|
+
Document-method: Gosu::Colors.white
|
4664
|
+
|
4665
|
+
call-seq:
|
4666
|
+
white -> Color
|
4667
|
+
|
4668
|
+
Get value of attribute.
|
4669
|
+
|
4670
|
+
*/
|
4307
4671
|
SWIGINTERN VALUE
|
4308
4672
|
_wrap_white_get(VALUE self) {
|
4309
4673
|
VALUE _val;
|
@@ -4313,15 +4677,35 @@ _wrap_white_get(VALUE self) {
|
|
4313
4677
|
}
|
4314
4678
|
|
4315
4679
|
|
4316
|
-
|
4317
|
-
|
4318
|
-
|
4319
|
-
|
4320
|
-
|
4680
|
+
|
4681
|
+
/*
|
4682
|
+
Document-method: Gosu::Colors.red
|
4683
|
+
|
4684
|
+
call-seq:
|
4685
|
+
red -> Color
|
4686
|
+
|
4687
|
+
Get value of attribute.
|
4688
|
+
|
4689
|
+
*/
|
4690
|
+
SWIGINTERN VALUE
|
4691
|
+
_wrap_red_get(VALUE self) {
|
4692
|
+
VALUE _val;
|
4693
|
+
|
4694
|
+
_val = SWIG_NewPointerObj(SWIG_as_voidptr(&Gosu::Colors::red), SWIGTYPE_p_Gosu__Color, 0 );
|
4321
4695
|
return _val;
|
4322
4696
|
}
|
4323
4697
|
|
4324
4698
|
|
4699
|
+
|
4700
|
+
/*
|
4701
|
+
Document-method: Gosu::Colors.green
|
4702
|
+
|
4703
|
+
call-seq:
|
4704
|
+
green -> Color
|
4705
|
+
|
4706
|
+
Get value of attribute.
|
4707
|
+
|
4708
|
+
*/
|
4325
4709
|
SWIGINTERN VALUE
|
4326
4710
|
_wrap_green_get(VALUE self) {
|
4327
4711
|
VALUE _val;
|
@@ -4331,6 +4715,16 @@ _wrap_green_get(VALUE self) {
|
|
4331
4715
|
}
|
4332
4716
|
|
4333
4717
|
|
4718
|
+
|
4719
|
+
/*
|
4720
|
+
Document-method: Gosu::Colors.blue
|
4721
|
+
|
4722
|
+
call-seq:
|
4723
|
+
blue -> Color
|
4724
|
+
|
4725
|
+
Get value of attribute.
|
4726
|
+
|
4727
|
+
*/
|
4334
4728
|
SWIGINTERN VALUE
|
4335
4729
|
_wrap_blue_get(VALUE self) {
|
4336
4730
|
VALUE _val;
|
@@ -4340,6 +4734,16 @@ _wrap_blue_get(VALUE self) {
|
|
4340
4734
|
}
|
4341
4735
|
|
4342
4736
|
|
4737
|
+
|
4738
|
+
/*
|
4739
|
+
Document-method: Gosu::Colors.yellow
|
4740
|
+
|
4741
|
+
call-seq:
|
4742
|
+
yellow -> Color
|
4743
|
+
|
4744
|
+
Get value of attribute.
|
4745
|
+
|
4746
|
+
*/
|
4343
4747
|
SWIGINTERN VALUE
|
4344
4748
|
_wrap_yellow_get(VALUE self) {
|
4345
4749
|
VALUE _val;
|
@@ -4349,6 +4753,16 @@ _wrap_yellow_get(VALUE self) {
|
|
4349
4753
|
}
|
4350
4754
|
|
4351
4755
|
|
4756
|
+
|
4757
|
+
/*
|
4758
|
+
Document-method: Gosu::Colors.fuchsia
|
4759
|
+
|
4760
|
+
call-seq:
|
4761
|
+
fuchsia -> Color
|
4762
|
+
|
4763
|
+
Get value of attribute.
|
4764
|
+
|
4765
|
+
*/
|
4352
4766
|
SWIGINTERN VALUE
|
4353
4767
|
_wrap_fuchsia_get(VALUE self) {
|
4354
4768
|
VALUE _val;
|
@@ -4358,6 +4772,16 @@ _wrap_fuchsia_get(VALUE self) {
|
|
4358
4772
|
}
|
4359
4773
|
|
4360
4774
|
|
4775
|
+
|
4776
|
+
/*
|
4777
|
+
Document-method: Gosu::Colors.cyan
|
4778
|
+
|
4779
|
+
call-seq:
|
4780
|
+
cyan -> Color
|
4781
|
+
|
4782
|
+
Get value of attribute.
|
4783
|
+
|
4784
|
+
*/
|
4361
4785
|
SWIGINTERN VALUE
|
4362
4786
|
_wrap_cyan_get(VALUE self) {
|
4363
4787
|
VALUE _val;
|
@@ -4367,7 +4791,15 @@ _wrap_cyan_get(VALUE self) {
|
|
4367
4791
|
}
|
4368
4792
|
|
4369
4793
|
|
4370
|
-
|
4794
|
+
|
4795
|
+
/*
|
4796
|
+
Document-class: Gosu::Font
|
4797
|
+
|
4798
|
+
Proxy of C++ Gosu::Font class
|
4799
|
+
|
4800
|
+
|
4801
|
+
*/
|
4802
|
+
swig_class SwigClassFont;
|
4371
4803
|
|
4372
4804
|
SWIGINTERN void
|
4373
4805
|
free_Gosu_Font(Gosu::Font *arg1) {
|
@@ -4375,6 +4807,16 @@ free_Gosu_Font(Gosu::Font *arg1) {
|
|
4375
4807
|
delete arg1;
|
4376
4808
|
}
|
4377
4809
|
|
4810
|
+
|
4811
|
+
/*
|
4812
|
+
Document-method: Gosu::Font.height
|
4813
|
+
|
4814
|
+
call-seq:
|
4815
|
+
height -> unsigned int
|
4816
|
+
|
4817
|
+
An instance method.
|
4818
|
+
|
4819
|
+
*/
|
4378
4820
|
SWIGINTERN VALUE
|
4379
4821
|
_wrap_Font_height(int argc, VALUE *argv, VALUE self) {
|
4380
4822
|
Gosu::Font *arg1 = (Gosu::Font *) 0 ;
|
@@ -4405,6 +4847,16 @@ fail:
|
|
4405
4847
|
}
|
4406
4848
|
|
4407
4849
|
|
4850
|
+
|
4851
|
+
/*
|
4852
|
+
Document-method: Gosu::Font.text_width
|
4853
|
+
|
4854
|
+
call-seq:
|
4855
|
+
text_width(std::wstring text, double factorX=1) -> double
|
4856
|
+
|
4857
|
+
An instance method.
|
4858
|
+
|
4859
|
+
*/
|
4408
4860
|
SWIGINTERN VALUE
|
4409
4861
|
_wrap_Font_text_width(int argc, VALUE *argv, VALUE self) {
|
4410
4862
|
Gosu::Font *arg1 = (Gosu::Font *) 0 ;
|
@@ -4452,6 +4904,18 @@ fail:
|
|
4452
4904
|
}
|
4453
4905
|
|
4454
4906
|
|
4907
|
+
|
4908
|
+
/*
|
4909
|
+
Document-method: Gosu::Font.draw
|
4910
|
+
|
4911
|
+
call-seq:
|
4912
|
+
draw(std::wstring text, double x, double y, ZPos z, double factorX=1,
|
4913
|
+
double factorY=1, Color c=white,
|
4914
|
+
mode=AmDefault)
|
4915
|
+
|
4916
|
+
An instance method.
|
4917
|
+
|
4918
|
+
*/
|
4455
4919
|
SWIGINTERN VALUE
|
4456
4920
|
_wrap_Font_draw(int argc, VALUE *argv, VALUE self) {
|
4457
4921
|
Gosu::Font *arg1 = (Gosu::Font *) 0 ;
|
@@ -4556,6 +5020,18 @@ fail:
|
|
4556
5020
|
}
|
4557
5021
|
|
4558
5022
|
|
5023
|
+
|
5024
|
+
/*
|
5025
|
+
Document-method: Gosu::Font.draw_rel
|
5026
|
+
|
5027
|
+
call-seq:
|
5028
|
+
draw_rel(std::wstring text, double x, double y, ZPos z, double relX,
|
5029
|
+
double relY, double factorX=1, double factorY=1,
|
5030
|
+
Color c=white, mode=AmDefault)
|
5031
|
+
|
5032
|
+
An instance method.
|
5033
|
+
|
5034
|
+
*/
|
4559
5035
|
SWIGINTERN VALUE
|
4560
5036
|
_wrap_Font_draw_rel(int argc, VALUE *argv, VALUE self) {
|
4561
5037
|
Gosu::Font *arg1 = (Gosu::Font *) 0 ;
|
@@ -4676,6 +5152,18 @@ fail:
|
|
4676
5152
|
}
|
4677
5153
|
|
4678
5154
|
|
5155
|
+
|
5156
|
+
/*
|
5157
|
+
Document-method: Gosu::Font.draw_rot
|
5158
|
+
|
5159
|
+
call-seq:
|
5160
|
+
draw_rot(std::wstring text, double x, double y, ZPos z, double angle,
|
5161
|
+
double factorX=1, double factorY=1,
|
5162
|
+
Color c=white, mode=AmDefault)
|
5163
|
+
|
5164
|
+
An instance method.
|
5165
|
+
|
5166
|
+
*/
|
4679
5167
|
SWIGINTERN VALUE
|
4680
5168
|
_wrap_Font_draw_rot(int argc, VALUE *argv, VALUE self) {
|
4681
5169
|
Gosu::Font *arg1 = (Gosu::Font *) 0 ;
|
@@ -4805,6 +5293,16 @@ _wrap_Font_allocate(VALUE self) {
|
|
4805
5293
|
}
|
4806
5294
|
|
4807
5295
|
|
5296
|
+
|
5297
|
+
/*
|
5298
|
+
Document-method: Gosu::Font.new
|
5299
|
+
|
5300
|
+
call-seq:
|
5301
|
+
Font.new(Window window, std::wstring fontName, unsigned int height)
|
5302
|
+
|
5303
|
+
Class constructor.
|
5304
|
+
|
5305
|
+
*/
|
4808
5306
|
SWIGINTERN VALUE
|
4809
5307
|
_wrap_new_Font(int argc, VALUE *argv, VALUE self) {
|
4810
5308
|
Gosu::Window *arg1 = 0 ;
|
@@ -4854,8 +5352,36 @@ fail:
|
|
4854
5352
|
}
|
4855
5353
|
|
4856
5354
|
|
4857
|
-
swig_class cGLTexInfo;
|
4858
5355
|
|
5356
|
+
/*
|
5357
|
+
Document-class: Gosu::GLTexInfo
|
5358
|
+
|
5359
|
+
Proxy of C++ Gosu::GLTexInfo class
|
5360
|
+
|
5361
|
+
|
5362
|
+
*/
|
5363
|
+
swig_class SwigClassGLTexInfo;
|
5364
|
+
|
5365
|
+
|
5366
|
+
/*
|
5367
|
+
Document-method: Gosu::GLTexInfo.tex_name
|
5368
|
+
|
5369
|
+
call-seq:
|
5370
|
+
tex_name -> int
|
5371
|
+
|
5372
|
+
Get value of attribute.
|
5373
|
+
|
5374
|
+
*/
|
5375
|
+
|
5376
|
+
/*
|
5377
|
+
Document-method: Gosu::GLTexInfo.tex_name=
|
5378
|
+
|
5379
|
+
call-seq:
|
5380
|
+
tex_name=(x) -> int
|
5381
|
+
|
5382
|
+
Set new value for attribute.
|
5383
|
+
|
5384
|
+
*/
|
4859
5385
|
SWIGINTERN VALUE
|
4860
5386
|
_wrap_GLTexInfo_tex_name_set(int argc, VALUE *argv, VALUE self) {
|
4861
5387
|
Gosu::GLTexInfo *arg1 = (Gosu::GLTexInfo *) 0 ;
|
@@ -4909,6 +5435,26 @@ fail:
|
|
4909
5435
|
}
|
4910
5436
|
|
4911
5437
|
|
5438
|
+
|
5439
|
+
/*
|
5440
|
+
Document-method: Gosu::GLTexInfo.left
|
5441
|
+
|
5442
|
+
call-seq:
|
5443
|
+
left -> double
|
5444
|
+
|
5445
|
+
Get value of attribute.
|
5446
|
+
|
5447
|
+
*/
|
5448
|
+
|
5449
|
+
/*
|
5450
|
+
Document-method: Gosu::GLTexInfo.left=
|
5451
|
+
|
5452
|
+
call-seq:
|
5453
|
+
left=(x) -> double
|
5454
|
+
|
5455
|
+
Set new value for attribute.
|
5456
|
+
|
5457
|
+
*/
|
4912
5458
|
SWIGINTERN VALUE
|
4913
5459
|
_wrap_GLTexInfo_left_set(int argc, VALUE *argv, VALUE self) {
|
4914
5460
|
Gosu::GLTexInfo *arg1 = (Gosu::GLTexInfo *) 0 ;
|
@@ -4962,6 +5508,26 @@ fail:
|
|
4962
5508
|
}
|
4963
5509
|
|
4964
5510
|
|
5511
|
+
|
5512
|
+
/*
|
5513
|
+
Document-method: Gosu::GLTexInfo.right
|
5514
|
+
|
5515
|
+
call-seq:
|
5516
|
+
right -> double
|
5517
|
+
|
5518
|
+
Get value of attribute.
|
5519
|
+
|
5520
|
+
*/
|
5521
|
+
|
5522
|
+
/*
|
5523
|
+
Document-method: Gosu::GLTexInfo.right=
|
5524
|
+
|
5525
|
+
call-seq:
|
5526
|
+
right=(x) -> double
|
5527
|
+
|
5528
|
+
Set new value for attribute.
|
5529
|
+
|
5530
|
+
*/
|
4965
5531
|
SWIGINTERN VALUE
|
4966
5532
|
_wrap_GLTexInfo_right_set(int argc, VALUE *argv, VALUE self) {
|
4967
5533
|
Gosu::GLTexInfo *arg1 = (Gosu::GLTexInfo *) 0 ;
|
@@ -5015,6 +5581,26 @@ fail:
|
|
5015
5581
|
}
|
5016
5582
|
|
5017
5583
|
|
5584
|
+
|
5585
|
+
/*
|
5586
|
+
Document-method: Gosu::GLTexInfo.top
|
5587
|
+
|
5588
|
+
call-seq:
|
5589
|
+
top -> double
|
5590
|
+
|
5591
|
+
Get value of attribute.
|
5592
|
+
|
5593
|
+
*/
|
5594
|
+
|
5595
|
+
/*
|
5596
|
+
Document-method: Gosu::GLTexInfo.top=
|
5597
|
+
|
5598
|
+
call-seq:
|
5599
|
+
top=(x) -> double
|
5600
|
+
|
5601
|
+
Set new value for attribute.
|
5602
|
+
|
5603
|
+
*/
|
5018
5604
|
SWIGINTERN VALUE
|
5019
5605
|
_wrap_GLTexInfo_top_set(int argc, VALUE *argv, VALUE self) {
|
5020
5606
|
Gosu::GLTexInfo *arg1 = (Gosu::GLTexInfo *) 0 ;
|
@@ -5068,6 +5654,26 @@ fail:
|
|
5068
5654
|
}
|
5069
5655
|
|
5070
5656
|
|
5657
|
+
|
5658
|
+
/*
|
5659
|
+
Document-method: Gosu::GLTexInfo.bottom
|
5660
|
+
|
5661
|
+
call-seq:
|
5662
|
+
bottom -> double
|
5663
|
+
|
5664
|
+
Get value of attribute.
|
5665
|
+
|
5666
|
+
*/
|
5667
|
+
|
5668
|
+
/*
|
5669
|
+
Document-method: Gosu::GLTexInfo.bottom=
|
5670
|
+
|
5671
|
+
call-seq:
|
5672
|
+
bottom=(x) -> double
|
5673
|
+
|
5674
|
+
Set new value for attribute.
|
5675
|
+
|
5676
|
+
*/
|
5071
5677
|
SWIGINTERN VALUE
|
5072
5678
|
_wrap_GLTexInfo_bottom_set(int argc, VALUE *argv, VALUE self) {
|
5073
5679
|
Gosu::GLTexInfo *arg1 = (Gosu::GLTexInfo *) 0 ;
|
@@ -5138,6 +5744,16 @@ _wrap_GLTexInfo_allocate(VALUE self) {
|
|
5138
5744
|
}
|
5139
5745
|
|
5140
5746
|
|
5747
|
+
|
5748
|
+
/*
|
5749
|
+
Document-method: Gosu::GLTexInfo.new
|
5750
|
+
|
5751
|
+
call-seq:
|
5752
|
+
GLTexInfo.new
|
5753
|
+
|
5754
|
+
Class constructor.
|
5755
|
+
|
5756
|
+
*/
|
5141
5757
|
SWIGINTERN VALUE
|
5142
5758
|
_wrap_new_GLTexInfo(int argc, VALUE *argv, VALUE self) {
|
5143
5759
|
const char *classname SWIGUNUSED = "Gosu::GLTexInfo";
|
@@ -5167,7 +5783,15 @@ free_Gosu_GLTexInfo(Gosu::GLTexInfo *arg1) {
|
|
5167
5783
|
delete arg1;
|
5168
5784
|
}
|
5169
5785
|
|
5170
|
-
|
5786
|
+
|
5787
|
+
/*
|
5788
|
+
Document-class: Gosu::Image
|
5789
|
+
|
5790
|
+
Proxy of C++ Gosu::Image class
|
5791
|
+
|
5792
|
+
|
5793
|
+
*/
|
5794
|
+
swig_class SwigClassImage;
|
5171
5795
|
|
5172
5796
|
SWIGINTERN void
|
5173
5797
|
free_Gosu_Image(Gosu::Image *arg1) {
|
@@ -5175,6 +5799,16 @@ free_Gosu_Image(Gosu::Image *arg1) {
|
|
5175
5799
|
delete arg1;
|
5176
5800
|
}
|
5177
5801
|
|
5802
|
+
|
5803
|
+
/*
|
5804
|
+
Document-method: Gosu::Image.width
|
5805
|
+
|
5806
|
+
call-seq:
|
5807
|
+
width -> unsigned int
|
5808
|
+
|
5809
|
+
An instance method.
|
5810
|
+
|
5811
|
+
*/
|
5178
5812
|
SWIGINTERN VALUE
|
5179
5813
|
_wrap_Image_width(int argc, VALUE *argv, VALUE self) {
|
5180
5814
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5205,6 +5839,16 @@ fail:
|
|
5205
5839
|
}
|
5206
5840
|
|
5207
5841
|
|
5842
|
+
|
5843
|
+
/*
|
5844
|
+
Document-method: Gosu::Image.height
|
5845
|
+
|
5846
|
+
call-seq:
|
5847
|
+
height -> unsigned int
|
5848
|
+
|
5849
|
+
An instance method.
|
5850
|
+
|
5851
|
+
*/
|
5208
5852
|
SWIGINTERN VALUE
|
5209
5853
|
_wrap_Image_height(int argc, VALUE *argv, VALUE self) {
|
5210
5854
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5235,6 +5879,17 @@ fail:
|
|
5235
5879
|
}
|
5236
5880
|
|
5237
5881
|
|
5882
|
+
|
5883
|
+
/*
|
5884
|
+
Document-method: Gosu::Image.draw
|
5885
|
+
|
5886
|
+
call-seq:
|
5887
|
+
draw(double x, double y, ZPos z, double factorX=1, double factorY=1,
|
5888
|
+
Color c=white, mode=AmDefault)
|
5889
|
+
|
5890
|
+
An instance method.
|
5891
|
+
|
5892
|
+
*/
|
5238
5893
|
SWIGINTERN VALUE
|
5239
5894
|
_wrap_Image_draw(int argc, VALUE *argv, VALUE self) {
|
5240
5895
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5332,6 +5987,18 @@ fail:
|
|
5332
5987
|
}
|
5333
5988
|
|
5334
5989
|
|
5990
|
+
|
5991
|
+
/*
|
5992
|
+
Document-method: Gosu::Image.draw_mod
|
5993
|
+
|
5994
|
+
call-seq:
|
5995
|
+
draw_mod(double x, double y, ZPos z, double factorX, double factorY,
|
5996
|
+
Color c1, Color c2, Color c3, Color c4,
|
5997
|
+
mode=AmDefault)
|
5998
|
+
|
5999
|
+
An instance method.
|
6000
|
+
|
6001
|
+
*/
|
5335
6002
|
SWIGINTERN VALUE
|
5336
6003
|
_wrap_Image_draw_mod(int argc, VALUE *argv, VALUE self) {
|
5337
6004
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5459,6 +6126,18 @@ fail:
|
|
5459
6126
|
}
|
5460
6127
|
|
5461
6128
|
|
6129
|
+
|
6130
|
+
/*
|
6131
|
+
Document-method: Gosu::Image.draw_rot
|
6132
|
+
|
6133
|
+
call-seq:
|
6134
|
+
draw_rot(double x, double y, ZPos z, double angle, double centerX=0.5,
|
6135
|
+
double centerY=0.5, double factorX=1,
|
6136
|
+
double factorY=1, Color c=white, mode=AmDefault)
|
6137
|
+
|
6138
|
+
An instance method.
|
6139
|
+
|
6140
|
+
*/
|
5462
6141
|
SWIGINTERN VALUE
|
5463
6142
|
_wrap_Image_draw_rot(int argc, VALUE *argv, VALUE self) {
|
5464
6143
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5584,6 +6263,19 @@ fail:
|
|
5584
6263
|
}
|
5585
6264
|
|
5586
6265
|
|
6266
|
+
|
6267
|
+
/*
|
6268
|
+
Document-method: Gosu::Image.new
|
6269
|
+
|
6270
|
+
call-seq:
|
6271
|
+
Image.new(Window window, VALUE source, bool tileable=false)
|
6272
|
+
Image.new(Window window, VALUE source, bool tileable, unsigned int srcX,
|
6273
|
+
unsigned int srcY, unsigned int srcWidth,
|
6274
|
+
unsigned int srcHeight)
|
6275
|
+
|
6276
|
+
Class constructor.
|
6277
|
+
|
6278
|
+
*/
|
5587
6279
|
SWIGINTERN VALUE
|
5588
6280
|
_wrap_new_Image__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
5589
6281
|
Gosu::Window *arg1 = 0 ;
|
@@ -5799,13 +6491,25 @@ SWIGINTERN VALUE _wrap_new_Image(int nargs, VALUE *args, VALUE self) {
|
|
5799
6491
|
|
5800
6492
|
fail:
|
5801
6493
|
Ruby_Format_OverloadedError( argc, 7, "Image.new",
|
5802
|
-
" Image.new(Gosu::Window &window, VALUE source, bool
|
5803
|
-
" Image.new(Gosu::Window &window, VALUE source, bool
|
6494
|
+
" Image.new(Gosu::Window &window, VALUE source, bool tileable)\n"
|
6495
|
+
" Image.new(Gosu::Window &window, VALUE source, bool tileable, unsigned int srcX, unsigned int srcY, unsigned int srcWidth, unsigned int srcHeight)\n");
|
5804
6496
|
|
5805
6497
|
return Qnil;
|
5806
6498
|
}
|
5807
6499
|
|
5808
6500
|
|
6501
|
+
|
6502
|
+
/*
|
6503
|
+
Document-method: Gosu::Image.draw_as_quad
|
6504
|
+
|
6505
|
+
call-seq:
|
6506
|
+
draw_as_quad(double x1, double y1, Color c1, double x2, double y2,
|
6507
|
+
Color c2, double x3, double y3, Color c3,
|
6508
|
+
double x4, double y4, Color c4, ZPos z, mode=AmDefault)
|
6509
|
+
|
6510
|
+
An instance method.
|
6511
|
+
|
6512
|
+
*/
|
5809
6513
|
SWIGINTERN VALUE
|
5810
6514
|
_wrap_Image_draw_as_quad(int argc, VALUE *argv, VALUE self) {
|
5811
6515
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5965,6 +6669,16 @@ fail:
|
|
5965
6669
|
}
|
5966
6670
|
|
5967
6671
|
|
6672
|
+
|
6673
|
+
/*
|
6674
|
+
Document-method: Gosu::Image.gl_tex_info
|
6675
|
+
|
6676
|
+
call-seq:
|
6677
|
+
gl_tex_info -> GLTexInfo
|
6678
|
+
|
6679
|
+
An instance method.
|
6680
|
+
|
6681
|
+
*/
|
5968
6682
|
SWIGINTERN VALUE
|
5969
6683
|
_wrap_Image_gl_tex_info(int argc, VALUE *argv, VALUE self) {
|
5970
6684
|
Gosu::Image *arg1 = (Gosu::Image *) 0 ;
|
@@ -5995,6 +6709,17 @@ fail:
|
|
5995
6709
|
}
|
5996
6710
|
|
5997
6711
|
|
6712
|
+
|
6713
|
+
/*
|
6714
|
+
Document-method: Gosu::Image.from_text4
|
6715
|
+
|
6716
|
+
call-seq:
|
6717
|
+
from_text4(Window window, std::wstring text, std::wstring fontName,
|
6718
|
+
unsigned int fontHeight) -> Image
|
6719
|
+
|
6720
|
+
A class method.
|
6721
|
+
|
6722
|
+
*/
|
5998
6723
|
SWIGINTERN VALUE
|
5999
6724
|
_wrap_Image_from_text4(int argc, VALUE *argv, VALUE self) {
|
6000
6725
|
Gosu::Window *arg1 = 0 ;
|
@@ -6050,6 +6775,18 @@ fail:
|
|
6050
6775
|
}
|
6051
6776
|
|
6052
6777
|
|
6778
|
+
|
6779
|
+
/*
|
6780
|
+
Document-method: Gosu::Image.from_text7
|
6781
|
+
|
6782
|
+
call-seq:
|
6783
|
+
from_text7(Window window, std::wstring text, std::wstring fontName,
|
6784
|
+
unsigned int fontHeight, unsigned int lineSpacing,
|
6785
|
+
unsigned int maxWidth, align) -> Image
|
6786
|
+
|
6787
|
+
A class method.
|
6788
|
+
|
6789
|
+
*/
|
6053
6790
|
SWIGINTERN VALUE
|
6054
6791
|
_wrap_Image_from_text7(int argc, VALUE *argv, VALUE self) {
|
6055
6792
|
Gosu::Window *arg1 = 0 ;
|
@@ -6135,6 +6872,17 @@ fail:
|
|
6135
6872
|
}
|
6136
6873
|
|
6137
6874
|
|
6875
|
+
|
6876
|
+
/*
|
6877
|
+
Document-method: Gosu::Image.load_tiles
|
6878
|
+
|
6879
|
+
call-seq:
|
6880
|
+
load_tiles(Window window, VALUE source, int tileWidth, int tileHeight,
|
6881
|
+
bool tileable) -> std::vector<(p.Gosu::Image)>
|
6882
|
+
|
6883
|
+
A class method.
|
6884
|
+
|
6885
|
+
*/
|
6138
6886
|
SWIGINTERN VALUE
|
6139
6887
|
_wrap_Image_load_tiles(int argc, VALUE *argv, VALUE self) {
|
6140
6888
|
Gosu::Window *arg1 = 0 ;
|
@@ -6200,7 +6948,15 @@ fail:
|
|
6200
6948
|
}
|
6201
6949
|
|
6202
6950
|
|
6203
|
-
|
6951
|
+
|
6952
|
+
/*
|
6953
|
+
Document-class: Gosu::SampleInstance
|
6954
|
+
|
6955
|
+
Proxy of C++ Gosu::SampleInstance class
|
6956
|
+
|
6957
|
+
|
6958
|
+
*/
|
6959
|
+
swig_class SwigClassSampleInstance;
|
6204
6960
|
|
6205
6961
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
6206
6962
|
SWIGINTERN VALUE
|
@@ -6219,6 +6975,16 @@ _wrap_SampleInstance_allocate(VALUE self) {
|
|
6219
6975
|
}
|
6220
6976
|
|
6221
6977
|
|
6978
|
+
|
6979
|
+
/*
|
6980
|
+
Document-method: Gosu::SampleInstance.new
|
6981
|
+
|
6982
|
+
call-seq:
|
6983
|
+
SampleInstance.new(int handle, int extra)
|
6984
|
+
|
6985
|
+
Class constructor.
|
6986
|
+
|
6987
|
+
*/
|
6222
6988
|
SWIGINTERN VALUE
|
6223
6989
|
_wrap_new_SampleInstance(int argc, VALUE *argv, VALUE self) {
|
6224
6990
|
int arg1 ;
|
@@ -6258,6 +7024,16 @@ fail:
|
|
6258
7024
|
}
|
6259
7025
|
|
6260
7026
|
|
7027
|
+
|
7028
|
+
/*
|
7029
|
+
Document-method: Gosu::SampleInstance.playing?
|
7030
|
+
|
7031
|
+
call-seq:
|
7032
|
+
playing? -> bool
|
7033
|
+
|
7034
|
+
An instance method.
|
7035
|
+
|
7036
|
+
*/
|
6261
7037
|
SWIGINTERN VALUE
|
6262
7038
|
_wrap_SampleInstance_playingq___(int argc, VALUE *argv, VALUE self) {
|
6263
7039
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6288,6 +7064,16 @@ fail:
|
|
6288
7064
|
}
|
6289
7065
|
|
6290
7066
|
|
7067
|
+
|
7068
|
+
/*
|
7069
|
+
Document-method: Gosu::SampleInstance.paused?
|
7070
|
+
|
7071
|
+
call-seq:
|
7072
|
+
paused? -> bool
|
7073
|
+
|
7074
|
+
An instance method.
|
7075
|
+
|
7076
|
+
*/
|
6291
7077
|
SWIGINTERN VALUE
|
6292
7078
|
_wrap_SampleInstance_pausedq___(int argc, VALUE *argv, VALUE self) {
|
6293
7079
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6318,11 +7104,21 @@ fail:
|
|
6318
7104
|
}
|
6319
7105
|
|
6320
7106
|
|
6321
|
-
|
6322
|
-
|
6323
|
-
|
6324
|
-
|
6325
|
-
|
7107
|
+
|
7108
|
+
/*
|
7109
|
+
Document-method: Gosu::SampleInstance.pause
|
7110
|
+
|
7111
|
+
call-seq:
|
7112
|
+
pause
|
7113
|
+
|
7114
|
+
An instance method.
|
7115
|
+
|
7116
|
+
*/
|
7117
|
+
SWIGINTERN VALUE
|
7118
|
+
_wrap_SampleInstance_pause(int argc, VALUE *argv, VALUE self) {
|
7119
|
+
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
7120
|
+
void *argp1 = 0 ;
|
7121
|
+
int res1 = 0 ;
|
6326
7122
|
|
6327
7123
|
if ((argc < 0) || (argc > 0)) {
|
6328
7124
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
@@ -6345,6 +7141,16 @@ fail:
|
|
6345
7141
|
}
|
6346
7142
|
|
6347
7143
|
|
7144
|
+
|
7145
|
+
/*
|
7146
|
+
Document-method: Gosu::SampleInstance.resume
|
7147
|
+
|
7148
|
+
call-seq:
|
7149
|
+
resume
|
7150
|
+
|
7151
|
+
An instance method.
|
7152
|
+
|
7153
|
+
*/
|
6348
7154
|
SWIGINTERN VALUE
|
6349
7155
|
_wrap_SampleInstance_resume(int argc, VALUE *argv, VALUE self) {
|
6350
7156
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6372,6 +7178,16 @@ fail:
|
|
6372
7178
|
}
|
6373
7179
|
|
6374
7180
|
|
7181
|
+
|
7182
|
+
/*
|
7183
|
+
Document-method: Gosu::SampleInstance.stop
|
7184
|
+
|
7185
|
+
call-seq:
|
7186
|
+
stop
|
7187
|
+
|
7188
|
+
An instance method.
|
7189
|
+
|
7190
|
+
*/
|
6375
7191
|
SWIGINTERN VALUE
|
6376
7192
|
_wrap_SampleInstance_stop(int argc, VALUE *argv, VALUE self) {
|
6377
7193
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6399,6 +7215,16 @@ fail:
|
|
6399
7215
|
}
|
6400
7216
|
|
6401
7217
|
|
7218
|
+
|
7219
|
+
/*
|
7220
|
+
Document-method: Gosu::SampleInstance.volume=
|
7221
|
+
|
7222
|
+
call-seq:
|
7223
|
+
volume=(double volume)
|
7224
|
+
|
7225
|
+
An instance method.
|
7226
|
+
|
7227
|
+
*/
|
6402
7228
|
SWIGINTERN VALUE
|
6403
7229
|
_wrap_SampleInstance_volumee___(int argc, VALUE *argv, VALUE self) {
|
6404
7230
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6434,6 +7260,16 @@ fail:
|
|
6434
7260
|
}
|
6435
7261
|
|
6436
7262
|
|
7263
|
+
|
7264
|
+
/*
|
7265
|
+
Document-method: Gosu::SampleInstance.pan=
|
7266
|
+
|
7267
|
+
call-seq:
|
7268
|
+
pan=(double pan)
|
7269
|
+
|
7270
|
+
An instance method.
|
7271
|
+
|
7272
|
+
*/
|
6437
7273
|
SWIGINTERN VALUE
|
6438
7274
|
_wrap_SampleInstance_pane___(int argc, VALUE *argv, VALUE self) {
|
6439
7275
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6469,6 +7305,16 @@ fail:
|
|
6469
7305
|
}
|
6470
7306
|
|
6471
7307
|
|
7308
|
+
|
7309
|
+
/*
|
7310
|
+
Document-method: Gosu::SampleInstance.speed=
|
7311
|
+
|
7312
|
+
call-seq:
|
7313
|
+
speed=(double speed)
|
7314
|
+
|
7315
|
+
An instance method.
|
7316
|
+
|
7317
|
+
*/
|
6472
7318
|
SWIGINTERN VALUE
|
6473
7319
|
_wrap_SampleInstance_speede___(int argc, VALUE *argv, VALUE self) {
|
6474
7320
|
Gosu::SampleInstance *arg1 = (Gosu::SampleInstance *) 0 ;
|
@@ -6510,7 +7356,15 @@ free_Gosu_SampleInstance(Gosu::SampleInstance *arg1) {
|
|
6510
7356
|
delete arg1;
|
6511
7357
|
}
|
6512
7358
|
|
6513
|
-
|
7359
|
+
|
7360
|
+
/*
|
7361
|
+
Document-class: Gosu::Sample
|
7362
|
+
|
7363
|
+
Proxy of C++ Gosu::Sample class
|
7364
|
+
|
7365
|
+
|
7366
|
+
*/
|
7367
|
+
swig_class SwigClassSample;
|
6514
7368
|
|
6515
7369
|
SWIGINTERN void
|
6516
7370
|
free_Gosu_Sample(Gosu::Sample *arg1) {
|
@@ -6518,6 +7372,16 @@ free_Gosu_Sample(Gosu::Sample *arg1) {
|
|
6518
7372
|
delete arg1;
|
6519
7373
|
}
|
6520
7374
|
|
7375
|
+
|
7376
|
+
/*
|
7377
|
+
Document-method: Gosu::Sample.play
|
7378
|
+
|
7379
|
+
call-seq:
|
7380
|
+
play(double volume=1, double speed=1, bool looping=false) -> SampleInstance
|
7381
|
+
|
7382
|
+
An instance method.
|
7383
|
+
|
7384
|
+
*/
|
6521
7385
|
SWIGINTERN VALUE
|
6522
7386
|
_wrap_Sample_play(int argc, VALUE *argv, VALUE self) {
|
6523
7387
|
Gosu::Sample *arg1 = (Gosu::Sample *) 0 ;
|
@@ -6578,6 +7442,16 @@ fail:
|
|
6578
7442
|
}
|
6579
7443
|
|
6580
7444
|
|
7445
|
+
|
7446
|
+
/*
|
7447
|
+
Document-method: Gosu::Sample.play_pan
|
7448
|
+
|
7449
|
+
call-seq:
|
7450
|
+
play_pan(double pan, double volume=1, double speed=1, bool looping=false) -> SampleInstance
|
7451
|
+
|
7452
|
+
An instance method.
|
7453
|
+
|
7454
|
+
*/
|
6581
7455
|
SWIGINTERN VALUE
|
6582
7456
|
_wrap_Sample_play_pan(int argc, VALUE *argv, VALUE self) {
|
6583
7457
|
Gosu::Sample *arg1 = (Gosu::Sample *) 0 ;
|
@@ -6663,6 +7537,16 @@ _wrap_Sample_allocate(VALUE self) {
|
|
6663
7537
|
}
|
6664
7538
|
|
6665
7539
|
|
7540
|
+
|
7541
|
+
/*
|
7542
|
+
Document-method: Gosu::Sample.new
|
7543
|
+
|
7544
|
+
call-seq:
|
7545
|
+
Sample.new(Window window, string filename)
|
7546
|
+
|
7547
|
+
Class constructor.
|
7548
|
+
|
7549
|
+
*/
|
6666
7550
|
SWIGINTERN VALUE
|
6667
7551
|
_wrap_new_Sample(int argc, VALUE *argv, VALUE self) {
|
6668
7552
|
Gosu::Window *arg1 = 0 ;
|
@@ -6712,14 +7596,52 @@ fail:
|
|
6712
7596
|
}
|
6713
7597
|
|
6714
7598
|
|
6715
|
-
swig_class cSong;
|
6716
7599
|
|
7600
|
+
/*
|
7601
|
+
Document-class: Gosu::Song
|
7602
|
+
|
7603
|
+
Proxy of C++ Gosu::Song class
|
7604
|
+
|
7605
|
+
|
7606
|
+
*/
|
7607
|
+
swig_class SwigClassSong;
|
7608
|
+
|
7609
|
+
|
7610
|
+
/*
|
7611
|
+
Document-method: Gosu::Type.StStream
|
7612
|
+
|
7613
|
+
call-seq:
|
7614
|
+
StStream -> int
|
7615
|
+
|
7616
|
+
A class method.
|
7617
|
+
|
7618
|
+
*/
|
7619
|
+
|
7620
|
+
/*
|
7621
|
+
Document-method: Gosu::Type.StModule
|
7622
|
+
|
7623
|
+
call-seq:
|
7624
|
+
StModule -> int
|
7625
|
+
|
7626
|
+
A class method.
|
7627
|
+
|
7628
|
+
*/
|
6717
7629
|
SWIGINTERN void
|
6718
7630
|
free_Gosu_Song(Gosu::Song *arg1) {
|
6719
7631
|
SWIG_RubyRemoveTracking(arg1);
|
6720
7632
|
delete arg1;
|
6721
7633
|
}
|
6722
7634
|
|
7635
|
+
|
7636
|
+
/*
|
7637
|
+
Document-method: Gosu::Song.current_song
|
7638
|
+
|
7639
|
+
call-seq:
|
7640
|
+
current_song -> Song
|
7641
|
+
|
7642
|
+
A class method.
|
7643
|
+
|
7644
|
+
*/
|
6723
7645
|
SWIGINTERN VALUE
|
6724
7646
|
_wrap_Song_current_song(int argc, VALUE *argv, VALUE self) {
|
6725
7647
|
Gosu::Song *result = 0 ;
|
@@ -6742,6 +7664,16 @@ fail:
|
|
6742
7664
|
}
|
6743
7665
|
|
6744
7666
|
|
7667
|
+
|
7668
|
+
/*
|
7669
|
+
Document-method: Gosu::Song.play
|
7670
|
+
|
7671
|
+
call-seq:
|
7672
|
+
play(bool looping=false)
|
7673
|
+
|
7674
|
+
An instance method.
|
7675
|
+
|
7676
|
+
*/
|
6745
7677
|
SWIGINTERN VALUE
|
6746
7678
|
_wrap_Song_play(int argc, VALUE *argv, VALUE self) {
|
6747
7679
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6779,6 +7711,16 @@ fail:
|
|
6779
7711
|
}
|
6780
7712
|
|
6781
7713
|
|
7714
|
+
|
7715
|
+
/*
|
7716
|
+
Document-method: Gosu::Song.pause
|
7717
|
+
|
7718
|
+
call-seq:
|
7719
|
+
pause
|
7720
|
+
|
7721
|
+
An instance method.
|
7722
|
+
|
7723
|
+
*/
|
6782
7724
|
SWIGINTERN VALUE
|
6783
7725
|
_wrap_Song_pause(int argc, VALUE *argv, VALUE self) {
|
6784
7726
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6806,6 +7748,16 @@ fail:
|
|
6806
7748
|
}
|
6807
7749
|
|
6808
7750
|
|
7751
|
+
|
7752
|
+
/*
|
7753
|
+
Document-method: Gosu::Song.paused?
|
7754
|
+
|
7755
|
+
call-seq:
|
7756
|
+
paused? -> bool
|
7757
|
+
|
7758
|
+
An instance method.
|
7759
|
+
|
7760
|
+
*/
|
6809
7761
|
SWIGINTERN VALUE
|
6810
7762
|
_wrap_Song_pausedq___(int argc, VALUE *argv, VALUE self) {
|
6811
7763
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6836,6 +7788,16 @@ fail:
|
|
6836
7788
|
}
|
6837
7789
|
|
6838
7790
|
|
7791
|
+
|
7792
|
+
/*
|
7793
|
+
Document-method: Gosu::Song.stop
|
7794
|
+
|
7795
|
+
call-seq:
|
7796
|
+
stop
|
7797
|
+
|
7798
|
+
An instance method.
|
7799
|
+
|
7800
|
+
*/
|
6839
7801
|
SWIGINTERN VALUE
|
6840
7802
|
_wrap_Song_stop(int argc, VALUE *argv, VALUE self) {
|
6841
7803
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6863,6 +7825,16 @@ fail:
|
|
6863
7825
|
}
|
6864
7826
|
|
6865
7827
|
|
7828
|
+
|
7829
|
+
/*
|
7830
|
+
Document-method: Gosu::Song.playing?
|
7831
|
+
|
7832
|
+
call-seq:
|
7833
|
+
playing? -> bool
|
7834
|
+
|
7835
|
+
An instance method.
|
7836
|
+
|
7837
|
+
*/
|
6866
7838
|
SWIGINTERN VALUE
|
6867
7839
|
_wrap_Song_playingq___(int argc, VALUE *argv, VALUE self) {
|
6868
7840
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6893,6 +7865,16 @@ fail:
|
|
6893
7865
|
}
|
6894
7866
|
|
6895
7867
|
|
7868
|
+
|
7869
|
+
/*
|
7870
|
+
Document-method: Gosu::Song.volume
|
7871
|
+
|
7872
|
+
call-seq:
|
7873
|
+
volume -> double
|
7874
|
+
|
7875
|
+
An instance method.
|
7876
|
+
|
7877
|
+
*/
|
6896
7878
|
SWIGINTERN VALUE
|
6897
7879
|
_wrap_Song_volume(int argc, VALUE *argv, VALUE self) {
|
6898
7880
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6923,6 +7905,16 @@ fail:
|
|
6923
7905
|
}
|
6924
7906
|
|
6925
7907
|
|
7908
|
+
|
7909
|
+
/*
|
7910
|
+
Document-method: Gosu::Song.volume=
|
7911
|
+
|
7912
|
+
call-seq:
|
7913
|
+
volume=(double volume)
|
7914
|
+
|
7915
|
+
An instance method.
|
7916
|
+
|
7917
|
+
*/
|
6926
7918
|
SWIGINTERN VALUE
|
6927
7919
|
_wrap_Song_volumee___(int argc, VALUE *argv, VALUE self) {
|
6928
7920
|
Gosu::Song *arg1 = (Gosu::Song *) 0 ;
|
@@ -6975,6 +7967,16 @@ _wrap_Song_allocate(VALUE self) {
|
|
6975
7967
|
}
|
6976
7968
|
|
6977
7969
|
|
7970
|
+
|
7971
|
+
/*
|
7972
|
+
Document-method: Gosu::Song.new
|
7973
|
+
|
7974
|
+
call-seq:
|
7975
|
+
Song.new(Window window, string filename)
|
7976
|
+
|
7977
|
+
Class constructor.
|
7978
|
+
|
7979
|
+
*/
|
6978
7980
|
SWIGINTERN VALUE
|
6979
7981
|
_wrap_new_Song(int argc, VALUE *argv, VALUE self) {
|
6980
7982
|
Gosu::Window *arg1 = 0 ;
|
@@ -7024,7 +8026,15 @@ fail:
|
|
7024
8026
|
}
|
7025
8027
|
|
7026
8028
|
|
7027
|
-
|
8029
|
+
|
8030
|
+
/*
|
8031
|
+
Document-class: Gosu::TextInput
|
8032
|
+
|
8033
|
+
Proxy of C++ Gosu::TextInput class
|
8034
|
+
|
8035
|
+
|
8036
|
+
*/
|
8037
|
+
swig_class SwigClassTextInput;
|
7028
8038
|
|
7029
8039
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
7030
8040
|
SWIGINTERN VALUE
|
@@ -7043,6 +8053,16 @@ _wrap_TextInput_allocate(VALUE self) {
|
|
7043
8053
|
}
|
7044
8054
|
|
7045
8055
|
|
8056
|
+
|
8057
|
+
/*
|
8058
|
+
Document-method: Gosu::TextInput.new
|
8059
|
+
|
8060
|
+
call-seq:
|
8061
|
+
TextInput.new
|
8062
|
+
|
8063
|
+
Class constructor.
|
8064
|
+
|
8065
|
+
*/
|
7046
8066
|
SWIGINTERN VALUE
|
7047
8067
|
_wrap_new_TextInput(int argc, VALUE *argv, VALUE self) {
|
7048
8068
|
const char *classname SWIGUNUSED = "Gosu::TextInput";
|
@@ -7072,6 +8092,16 @@ free_Gosu_TextInput(Gosu::TextInput *arg1) {
|
|
7072
8092
|
delete arg1;
|
7073
8093
|
}
|
7074
8094
|
|
8095
|
+
|
8096
|
+
/*
|
8097
|
+
Document-method: Gosu::TextInput.text
|
8098
|
+
|
8099
|
+
call-seq:
|
8100
|
+
text -> std::wstring
|
8101
|
+
|
8102
|
+
An instance method.
|
8103
|
+
|
8104
|
+
*/
|
7075
8105
|
SWIGINTERN VALUE
|
7076
8106
|
_wrap_TextInput_text(int argc, VALUE *argv, VALUE self) {
|
7077
8107
|
Gosu::TextInput *arg1 = (Gosu::TextInput *) 0 ;
|
@@ -7104,6 +8134,16 @@ fail:
|
|
7104
8134
|
}
|
7105
8135
|
|
7106
8136
|
|
8137
|
+
|
8138
|
+
/*
|
8139
|
+
Document-method: Gosu::TextInput.text=
|
8140
|
+
|
8141
|
+
call-seq:
|
8142
|
+
text=(std::wstring text)
|
8143
|
+
|
8144
|
+
An instance method.
|
8145
|
+
|
8146
|
+
*/
|
7107
8147
|
SWIGINTERN VALUE
|
7108
8148
|
_wrap_TextInput_texte___(int argc, VALUE *argv, VALUE self) {
|
7109
8149
|
Gosu::TextInput *arg1 = (Gosu::TextInput *) 0 ;
|
@@ -7138,6 +8178,16 @@ fail:
|
|
7138
8178
|
}
|
7139
8179
|
|
7140
8180
|
|
8181
|
+
|
8182
|
+
/*
|
8183
|
+
Document-method: Gosu::TextInput.caret_pos
|
8184
|
+
|
8185
|
+
call-seq:
|
8186
|
+
caret_pos -> unsigned int
|
8187
|
+
|
8188
|
+
An instance method.
|
8189
|
+
|
8190
|
+
*/
|
7141
8191
|
SWIGINTERN VALUE
|
7142
8192
|
_wrap_TextInput_caret_pos(int argc, VALUE *argv, VALUE self) {
|
7143
8193
|
Gosu::TextInput *arg1 = (Gosu::TextInput *) 0 ;
|
@@ -7168,6 +8218,16 @@ fail:
|
|
7168
8218
|
}
|
7169
8219
|
|
7170
8220
|
|
8221
|
+
|
8222
|
+
/*
|
8223
|
+
Document-method: Gosu::TextInput.selection_start
|
8224
|
+
|
8225
|
+
call-seq:
|
8226
|
+
selection_start -> unsigned int
|
8227
|
+
|
8228
|
+
An instance method.
|
8229
|
+
|
8230
|
+
*/
|
7171
8231
|
SWIGINTERN VALUE
|
7172
8232
|
_wrap_TextInput_selection_start(int argc, VALUE *argv, VALUE self) {
|
7173
8233
|
Gosu::TextInput *arg1 = (Gosu::TextInput *) 0 ;
|
@@ -7198,7 +8258,15 @@ fail:
|
|
7198
8258
|
}
|
7199
8259
|
|
7200
8260
|
|
7201
|
-
|
8261
|
+
|
8262
|
+
/*
|
8263
|
+
Document-class: Gosu::Window
|
8264
|
+
|
8265
|
+
Proxy of C++ Gosu::Window class
|
8266
|
+
|
8267
|
+
|
8268
|
+
*/
|
8269
|
+
swig_class SwigClassWindow;
|
7202
8270
|
|
7203
8271
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
7204
8272
|
SWIGINTERN VALUE
|
@@ -7217,6 +8285,17 @@ _wrap_Window_allocate(VALUE self) {
|
|
7217
8285
|
}
|
7218
8286
|
|
7219
8287
|
|
8288
|
+
|
8289
|
+
/*
|
8290
|
+
Document-method: Gosu::Window.new
|
8291
|
+
|
8292
|
+
call-seq:
|
8293
|
+
Window.new(unsigned int width, unsigned int height, bool fullscreen,
|
8294
|
+
double updateInterval=16.666666)
|
8295
|
+
|
8296
|
+
Class constructor.
|
8297
|
+
|
8298
|
+
*/
|
7220
8299
|
SWIGINTERN VALUE
|
7221
8300
|
_wrap_new_Window(int argc, VALUE *argv, VALUE self) {
|
7222
8301
|
VALUE arg1 = (VALUE) 0 ;
|
@@ -7288,6 +8367,16 @@ free_Gosu_Window(Gosu::Window *arg1) {
|
|
7288
8367
|
delete arg1;
|
7289
8368
|
}
|
7290
8369
|
|
8370
|
+
|
8371
|
+
/*
|
8372
|
+
Document-method: Gosu::Window.caption
|
8373
|
+
|
8374
|
+
call-seq:
|
8375
|
+
caption -> std::wstring
|
8376
|
+
|
8377
|
+
An instance method.
|
8378
|
+
|
8379
|
+
*/
|
7291
8380
|
SWIGINTERN VALUE
|
7292
8381
|
_wrap_Window_caption(int argc, VALUE *argv, VALUE self) {
|
7293
8382
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7320,6 +8409,16 @@ fail:
|
|
7320
8409
|
}
|
7321
8410
|
|
7322
8411
|
|
8412
|
+
|
8413
|
+
/*
|
8414
|
+
Document-method: Gosu::Window.caption=
|
8415
|
+
|
8416
|
+
call-seq:
|
8417
|
+
caption=(std::wstring caption)
|
8418
|
+
|
8419
|
+
An instance method.
|
8420
|
+
|
8421
|
+
*/
|
7323
8422
|
SWIGINTERN VALUE
|
7324
8423
|
_wrap_Window_captione___(int argc, VALUE *argv, VALUE self) {
|
7325
8424
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7354,6 +8453,16 @@ fail:
|
|
7354
8453
|
}
|
7355
8454
|
|
7356
8455
|
|
8456
|
+
|
8457
|
+
/*
|
8458
|
+
Document-method: Gosu::Window.update_interval
|
8459
|
+
|
8460
|
+
call-seq:
|
8461
|
+
update_interval -> double
|
8462
|
+
|
8463
|
+
An instance method.
|
8464
|
+
|
8465
|
+
*/
|
7357
8466
|
SWIGINTERN VALUE
|
7358
8467
|
_wrap_Window_update_interval(int argc, VALUE *argv, VALUE self) {
|
7359
8468
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7384,6 +8493,16 @@ fail:
|
|
7384
8493
|
}
|
7385
8494
|
|
7386
8495
|
|
8496
|
+
|
8497
|
+
/*
|
8498
|
+
Document-method: Gosu::Window.show
|
8499
|
+
|
8500
|
+
call-seq:
|
8501
|
+
show
|
8502
|
+
|
8503
|
+
An instance method.
|
8504
|
+
|
8505
|
+
*/
|
7387
8506
|
SWIGINTERN VALUE
|
7388
8507
|
_wrap_Window_show(int argc, VALUE *argv, VALUE self) {
|
7389
8508
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7411,6 +8530,16 @@ fail:
|
|
7411
8530
|
}
|
7412
8531
|
|
7413
8532
|
|
8533
|
+
|
8534
|
+
/*
|
8535
|
+
Document-method: Gosu::Window.close
|
8536
|
+
|
8537
|
+
call-seq:
|
8538
|
+
close
|
8539
|
+
|
8540
|
+
An instance method.
|
8541
|
+
|
8542
|
+
*/
|
7414
8543
|
SWIGINTERN VALUE
|
7415
8544
|
_wrap_Window_close(int argc, VALUE *argv, VALUE self) {
|
7416
8545
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7438,6 +8567,16 @@ fail:
|
|
7438
8567
|
}
|
7439
8568
|
|
7440
8569
|
|
8570
|
+
|
8571
|
+
/*
|
8572
|
+
Document-method: Gosu::Window.update
|
8573
|
+
|
8574
|
+
call-seq:
|
8575
|
+
update
|
8576
|
+
|
8577
|
+
An instance method.
|
8578
|
+
|
8579
|
+
*/
|
7441
8580
|
SWIGINTERN VALUE
|
7442
8581
|
_wrap_Window_update(int argc, VALUE *argv, VALUE self) {
|
7443
8582
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7478,6 +8617,16 @@ fail:
|
|
7478
8617
|
}
|
7479
8618
|
|
7480
8619
|
|
8620
|
+
|
8621
|
+
/*
|
8622
|
+
Document-method: Gosu::Window.draw
|
8623
|
+
|
8624
|
+
call-seq:
|
8625
|
+
draw
|
8626
|
+
|
8627
|
+
An instance method.
|
8628
|
+
|
8629
|
+
*/
|
7481
8630
|
SWIGINTERN VALUE
|
7482
8631
|
_wrap_Window_draw(int argc, VALUE *argv, VALUE self) {
|
7483
8632
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7518,6 +8667,16 @@ fail:
|
|
7518
8667
|
}
|
7519
8668
|
|
7520
8669
|
|
8670
|
+
|
8671
|
+
/*
|
8672
|
+
Document-method: Gosu::Window.needs_redraw?
|
8673
|
+
|
8674
|
+
call-seq:
|
8675
|
+
needs_redraw? -> bool
|
8676
|
+
|
8677
|
+
An instance method.
|
8678
|
+
|
8679
|
+
*/
|
7521
8680
|
SWIGINTERN VALUE
|
7522
8681
|
_wrap_Window_needs_redrawq___(int argc, VALUE *argv, VALUE self) {
|
7523
8682
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7561,6 +8720,16 @@ fail:
|
|
7561
8720
|
}
|
7562
8721
|
|
7563
8722
|
|
8723
|
+
|
8724
|
+
/*
|
8725
|
+
Document-method: Gosu::Window.button_down
|
8726
|
+
|
8727
|
+
call-seq:
|
8728
|
+
button_down(Gosu::Button arg0)
|
8729
|
+
|
8730
|
+
An instance method.
|
8731
|
+
|
8732
|
+
*/
|
7564
8733
|
SWIGINTERN VALUE
|
7565
8734
|
_wrap_Window_button_down(int argc, VALUE *argv, VALUE self) {
|
7566
8735
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7608,6 +8777,16 @@ fail:
|
|
7608
8777
|
}
|
7609
8778
|
|
7610
8779
|
|
8780
|
+
|
8781
|
+
/*
|
8782
|
+
Document-method: Gosu::Window.button_up
|
8783
|
+
|
8784
|
+
call-seq:
|
8785
|
+
button_up(Gosu::Button arg0)
|
8786
|
+
|
8787
|
+
An instance method.
|
8788
|
+
|
8789
|
+
*/
|
7611
8790
|
SWIGINTERN VALUE
|
7612
8791
|
_wrap_Window_button_up(int argc, VALUE *argv, VALUE self) {
|
7613
8792
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7655,6 +8834,17 @@ fail:
|
|
7655
8834
|
}
|
7656
8835
|
|
7657
8836
|
|
8837
|
+
|
8838
|
+
/*
|
8839
|
+
Document-method: Gosu::Window.draw_line
|
8840
|
+
|
8841
|
+
call-seq:
|
8842
|
+
draw_line(double x1, double y1, Color c1, double x2, double y2,
|
8843
|
+
Color c2, ZPos z=0, mode=AmDefault)
|
8844
|
+
|
8845
|
+
An instance method.
|
8846
|
+
|
8847
|
+
*/
|
7658
8848
|
SWIGINTERN VALUE
|
7659
8849
|
_wrap_Window_draw_line(int argc, VALUE *argv, VALUE self) {
|
7660
8850
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7760,6 +8950,18 @@ fail:
|
|
7760
8950
|
}
|
7761
8951
|
|
7762
8952
|
|
8953
|
+
|
8954
|
+
/*
|
8955
|
+
Document-method: Gosu::Window.draw_triangle
|
8956
|
+
|
8957
|
+
call-seq:
|
8958
|
+
draw_triangle(double x1, double y1, Color c1, double x2, double y2,
|
8959
|
+
Color c2, double x3, double y3, Color c3,
|
8960
|
+
ZPos z=0, mode=AmDefault)
|
8961
|
+
|
8962
|
+
An instance method.
|
8963
|
+
|
8964
|
+
*/
|
7763
8965
|
SWIGINTERN VALUE
|
7764
8966
|
_wrap_Window_draw_triangle(int argc, VALUE *argv, VALUE self) {
|
7765
8967
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -7893,6 +9095,18 @@ fail:
|
|
7893
9095
|
}
|
7894
9096
|
|
7895
9097
|
|
9098
|
+
|
9099
|
+
/*
|
9100
|
+
Document-method: Gosu::Window.draw_quad
|
9101
|
+
|
9102
|
+
call-seq:
|
9103
|
+
draw_quad(double x1, double y1, Color c1, double x2, double y2,
|
9104
|
+
Color c2, double x3, double y3, Color c3,
|
9105
|
+
double x4, double y4, Color c4, ZPos z=0, mode=AmDefault)
|
9106
|
+
|
9107
|
+
An instance method.
|
9108
|
+
|
9109
|
+
*/
|
7896
9110
|
SWIGINTERN VALUE
|
7897
9111
|
_wrap_Window_draw_quad(int argc, VALUE *argv, VALUE self) {
|
7898
9112
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8054,6 +9268,16 @@ fail:
|
|
8054
9268
|
}
|
8055
9269
|
|
8056
9270
|
|
9271
|
+
|
9272
|
+
/*
|
9273
|
+
Document-method: Gosu::Window.button_down?
|
9274
|
+
|
9275
|
+
call-seq:
|
9276
|
+
button_down?(Gosu::Button btn) -> bool
|
9277
|
+
|
9278
|
+
An instance method.
|
9279
|
+
|
9280
|
+
*/
|
8057
9281
|
SWIGINTERN VALUE
|
8058
9282
|
_wrap_Window_button_downq___(int argc, VALUE *argv, VALUE self) {
|
8059
9283
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8091,6 +9315,16 @@ fail:
|
|
8091
9315
|
}
|
8092
9316
|
|
8093
9317
|
|
9318
|
+
|
9319
|
+
/*
|
9320
|
+
Document-method: Gosu::Window.char_to_button_id
|
9321
|
+
|
9322
|
+
call-seq:
|
9323
|
+
char_to_button_id(wchar_t ch) -> Gosu::Button
|
9324
|
+
|
9325
|
+
A class method.
|
9326
|
+
|
9327
|
+
*/
|
8094
9328
|
SWIGINTERN VALUE
|
8095
9329
|
_wrap_Window_char_to_button_id(int argc, VALUE *argv, VALUE self) {
|
8096
9330
|
wchar_t arg1 ;
|
@@ -8123,6 +9357,16 @@ fail:
|
|
8123
9357
|
}
|
8124
9358
|
|
8125
9359
|
|
9360
|
+
|
9361
|
+
/*
|
9362
|
+
Document-method: Gosu::Window.button_id_to_char
|
9363
|
+
|
9364
|
+
call-seq:
|
9365
|
+
button_id_to_char(Gosu::Button btn) -> wchar_t
|
9366
|
+
|
9367
|
+
A class method.
|
9368
|
+
|
9369
|
+
*/
|
8126
9370
|
SWIGINTERN VALUE
|
8127
9371
|
_wrap_Window_button_id_to_char(int argc, VALUE *argv, VALUE self) {
|
8128
9372
|
Gosu::Button arg1 ;
|
@@ -8157,6 +9401,16 @@ fail:
|
|
8157
9401
|
}
|
8158
9402
|
|
8159
9403
|
|
9404
|
+
|
9405
|
+
/*
|
9406
|
+
Document-method: Gosu::Window.text_input
|
9407
|
+
|
9408
|
+
call-seq:
|
9409
|
+
text_input -> TextInput
|
9410
|
+
|
9411
|
+
An instance method.
|
9412
|
+
|
9413
|
+
*/
|
8160
9414
|
SWIGINTERN VALUE
|
8161
9415
|
_wrap_Window_text_input(int argc, VALUE *argv, VALUE self) {
|
8162
9416
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8187,6 +9441,16 @@ fail:
|
|
8187
9441
|
}
|
8188
9442
|
|
8189
9443
|
|
9444
|
+
|
9445
|
+
/*
|
9446
|
+
Document-method: Gosu::Window.text_input=
|
9447
|
+
|
9448
|
+
call-seq:
|
9449
|
+
text_input=(TextInput ti)
|
9450
|
+
|
9451
|
+
An instance method.
|
9452
|
+
|
9453
|
+
*/
|
8190
9454
|
SWIGINTERN VALUE
|
8191
9455
|
_wrap_Window_text_inpute___(int argc, VALUE *argv, VALUE self) {
|
8192
9456
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8222,6 +9486,16 @@ fail:
|
|
8222
9486
|
}
|
8223
9487
|
|
8224
9488
|
|
9489
|
+
|
9490
|
+
/*
|
9491
|
+
Document-method: Gosu::Window.mouse_x
|
9492
|
+
|
9493
|
+
call-seq:
|
9494
|
+
mouse_x -> double
|
9495
|
+
|
9496
|
+
An instance method.
|
9497
|
+
|
9498
|
+
*/
|
8225
9499
|
SWIGINTERN VALUE
|
8226
9500
|
_wrap_Window_mouse_x(int argc, VALUE *argv, VALUE self) {
|
8227
9501
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8252,6 +9526,16 @@ fail:
|
|
8252
9526
|
}
|
8253
9527
|
|
8254
9528
|
|
9529
|
+
|
9530
|
+
/*
|
9531
|
+
Document-method: Gosu::Window.mouse_y
|
9532
|
+
|
9533
|
+
call-seq:
|
9534
|
+
mouse_y -> double
|
9535
|
+
|
9536
|
+
An instance method.
|
9537
|
+
|
9538
|
+
*/
|
8255
9539
|
SWIGINTERN VALUE
|
8256
9540
|
_wrap_Window_mouse_y(int argc, VALUE *argv, VALUE self) {
|
8257
9541
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8282,6 +9566,16 @@ fail:
|
|
8282
9566
|
}
|
8283
9567
|
|
8284
9568
|
|
9569
|
+
|
9570
|
+
/*
|
9571
|
+
Document-method: Gosu::Window.set_mouse_position
|
9572
|
+
|
9573
|
+
call-seq:
|
9574
|
+
set_mouse_position(double x, double y)
|
9575
|
+
|
9576
|
+
An instance method.
|
9577
|
+
|
9578
|
+
*/
|
8285
9579
|
SWIGINTERN VALUE
|
8286
9580
|
_wrap_Window_set_mouse_position(int argc, VALUE *argv, VALUE self) {
|
8287
9581
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8325,6 +9619,16 @@ fail:
|
|
8325
9619
|
}
|
8326
9620
|
|
8327
9621
|
|
9622
|
+
|
9623
|
+
/*
|
9624
|
+
Document-method: Gosu::Window.mouse_x=
|
9625
|
+
|
9626
|
+
call-seq:
|
9627
|
+
mouse_x=(double x)
|
9628
|
+
|
9629
|
+
An instance method.
|
9630
|
+
|
9631
|
+
*/
|
8328
9632
|
SWIGINTERN VALUE
|
8329
9633
|
_wrap_Window_mouse_xe___(int argc, VALUE *argv, VALUE self) {
|
8330
9634
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8360,6 +9664,16 @@ fail:
|
|
8360
9664
|
}
|
8361
9665
|
|
8362
9666
|
|
9667
|
+
|
9668
|
+
/*
|
9669
|
+
Document-method: Gosu::Window.mouse_y=
|
9670
|
+
|
9671
|
+
call-seq:
|
9672
|
+
mouse_y=(double y)
|
9673
|
+
|
9674
|
+
An instance method.
|
9675
|
+
|
9676
|
+
*/
|
8363
9677
|
SWIGINTERN VALUE
|
8364
9678
|
_wrap_Window_mouse_ye___(int argc, VALUE *argv, VALUE self) {
|
8365
9679
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8395,6 +9709,16 @@ fail:
|
|
8395
9709
|
}
|
8396
9710
|
|
8397
9711
|
|
9712
|
+
|
9713
|
+
/*
|
9714
|
+
Document-method: Gosu::Window.width
|
9715
|
+
|
9716
|
+
call-seq:
|
9717
|
+
width -> int
|
9718
|
+
|
9719
|
+
An instance method.
|
9720
|
+
|
9721
|
+
*/
|
8398
9722
|
SWIGINTERN VALUE
|
8399
9723
|
_wrap_Window_width(int argc, VALUE *argv, VALUE self) {
|
8400
9724
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8425,6 +9749,16 @@ fail:
|
|
8425
9749
|
}
|
8426
9750
|
|
8427
9751
|
|
9752
|
+
|
9753
|
+
/*
|
9754
|
+
Document-method: Gosu::Window.height
|
9755
|
+
|
9756
|
+
call-seq:
|
9757
|
+
height -> int
|
9758
|
+
|
9759
|
+
An instance method.
|
9760
|
+
|
9761
|
+
*/
|
8428
9762
|
SWIGINTERN VALUE
|
8429
9763
|
_wrap_Window_height(int argc, VALUE *argv, VALUE self) {
|
8430
9764
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8455,6 +9789,16 @@ fail:
|
|
8455
9789
|
}
|
8456
9790
|
|
8457
9791
|
|
9792
|
+
|
9793
|
+
/*
|
9794
|
+
Document-method: Gosu::Window.gl
|
9795
|
+
|
9796
|
+
call-seq:
|
9797
|
+
gl
|
9798
|
+
|
9799
|
+
An instance method.
|
9800
|
+
|
9801
|
+
*/
|
8458
9802
|
SWIGINTERN VALUE
|
8459
9803
|
_wrap_Window_gl(int argc, VALUE *argv, VALUE self) {
|
8460
9804
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8482,6 +9826,16 @@ fail:
|
|
8482
9826
|
}
|
8483
9827
|
|
8484
9828
|
|
9829
|
+
|
9830
|
+
/*
|
9831
|
+
Document-method: Gosu::Window.clip_to
|
9832
|
+
|
9833
|
+
call-seq:
|
9834
|
+
clip_to(int x, int y, unsigned int width, unsigned int height)
|
9835
|
+
|
9836
|
+
An instance method.
|
9837
|
+
|
9838
|
+
*/
|
8485
9839
|
SWIGINTERN VALUE
|
8486
9840
|
_wrap_Window_clip_to(int argc, VALUE *argv, VALUE self) {
|
8487
9841
|
Gosu::Window *arg1 = (Gosu::Window *) 0 ;
|
@@ -8903,33 +10257,33 @@ SWIGEXPORT void Init_gosu(void) {
|
|
8903
10257
|
rb_define_module_function(mGosu, "screen_width", VALUEFUNC(_wrap_screen_width), -1);
|
8904
10258
|
rb_define_module_function(mGosu, "screen_height", VALUEFUNC(_wrap_screen_height), -1);
|
8905
10259
|
|
8906
|
-
|
8907
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Color, (void *) &
|
8908
|
-
rb_define_alloc_func(
|
8909
|
-
rb_define_method(
|
8910
|
-
rb_define_singleton_method(
|
8911
|
-
rb_define_singleton_method(
|
8912
|
-
rb_define_method(
|
8913
|
-
rb_define_method(
|
8914
|
-
rb_define_method(
|
8915
|
-
rb_define_method(
|
8916
|
-
rb_define_method(
|
8917
|
-
rb_define_method(
|
8918
|
-
rb_define_method(
|
8919
|
-
rb_define_method(
|
8920
|
-
rb_define_method(
|
8921
|
-
rb_define_method(
|
8922
|
-
rb_define_method(
|
8923
|
-
rb_define_method(
|
8924
|
-
rb_define_method(
|
8925
|
-
rb_define_method(
|
8926
|
-
rb_define_method(
|
8927
|
-
rb_define_method(
|
8928
|
-
rb_define_method(
|
8929
|
-
rb_define_method(
|
8930
|
-
|
8931
|
-
|
8932
|
-
|
10260
|
+
SwigClassColor.klass = rb_define_class_under(mGosu, "Color", rb_cObject);
|
10261
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Color, (void *) &SwigClassColor);
|
10262
|
+
rb_define_alloc_func(SwigClassColor.klass, _wrap_Color_allocate);
|
10263
|
+
rb_define_method(SwigClassColor.klass, "initialize", VALUEFUNC(_wrap_new_Color), -1);
|
10264
|
+
rb_define_singleton_method(SwigClassColor.klass, "from_hsv", VALUEFUNC(_wrap_Color_from_hsv), -1);
|
10265
|
+
rb_define_singleton_method(SwigClassColor.klass, "from_ahsv", VALUEFUNC(_wrap_Color_from_ahsv), -1);
|
10266
|
+
rb_define_method(SwigClassColor.klass, "alpha", VALUEFUNC(_wrap_Color_alpha), -1);
|
10267
|
+
rb_define_method(SwigClassColor.klass, "red", VALUEFUNC(_wrap_Color_red), -1);
|
10268
|
+
rb_define_method(SwigClassColor.klass, "green", VALUEFUNC(_wrap_Color_green), -1);
|
10269
|
+
rb_define_method(SwigClassColor.klass, "blue", VALUEFUNC(_wrap_Color_blue), -1);
|
10270
|
+
rb_define_method(SwigClassColor.klass, "alpha=", VALUEFUNC(_wrap_Color_alphae___), -1);
|
10271
|
+
rb_define_method(SwigClassColor.klass, "red=", VALUEFUNC(_wrap_Color_rede___), -1);
|
10272
|
+
rb_define_method(SwigClassColor.klass, "green=", VALUEFUNC(_wrap_Color_greene___), -1);
|
10273
|
+
rb_define_method(SwigClassColor.klass, "blue=", VALUEFUNC(_wrap_Color_bluee___), -1);
|
10274
|
+
rb_define_method(SwigClassColor.klass, "hue", VALUEFUNC(_wrap_Color_hue), -1);
|
10275
|
+
rb_define_method(SwigClassColor.klass, "hue=", VALUEFUNC(_wrap_Color_huee___), -1);
|
10276
|
+
rb_define_method(SwigClassColor.klass, "saturation", VALUEFUNC(_wrap_Color_saturation), -1);
|
10277
|
+
rb_define_method(SwigClassColor.klass, "saturation=", VALUEFUNC(_wrap_Color_saturatione___), -1);
|
10278
|
+
rb_define_method(SwigClassColor.klass, "value", VALUEFUNC(_wrap_Color_value), -1);
|
10279
|
+
rb_define_method(SwigClassColor.klass, "value=", VALUEFUNC(_wrap_Color_valuee___), -1);
|
10280
|
+
rb_define_method(SwigClassColor.klass, "argb", VALUEFUNC(_wrap_Color_argb), -1);
|
10281
|
+
rb_define_method(SwigClassColor.klass, "bgr", VALUEFUNC(_wrap_Color_bgr), -1);
|
10282
|
+
rb_define_method(SwigClassColor.klass, "abgr", VALUEFUNC(_wrap_Color_abgr), -1);
|
10283
|
+
rb_define_method(SwigClassColor.klass, "to_s", VALUEFUNC(_wrap_Color_to_s), -1);
|
10284
|
+
SwigClassColor.mark = 0;
|
10285
|
+
SwigClassColor.destroy = (void (*)(void *)) free_Gosu_Color;
|
10286
|
+
SwigClassColor.trackObjects = 1;
|
8933
10287
|
rb_define_module_function(mGosu, "interpolate", VALUEFUNC(_wrap_interpolate), -1);
|
8934
10288
|
rb_define_module_function(mGosu, "multiply", VALUEFUNC(_wrap_multiply), -1);
|
8935
10289
|
rb_define_singleton_method(mGosu, "none", VALUEFUNC(_wrap_none_get), 0);
|
@@ -8943,98 +10297,98 @@ SWIGEXPORT void Init_gosu(void) {
|
|
8943
10297
|
rb_define_singleton_method(mGosu, "fuchsia", VALUEFUNC(_wrap_fuchsia_get), 0);
|
8944
10298
|
rb_define_singleton_method(mGosu, "cyan", VALUEFUNC(_wrap_cyan_get), 0);
|
8945
10299
|
|
8946
|
-
|
8947
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Font, (void *) &
|
8948
|
-
rb_define_alloc_func(
|
8949
|
-
rb_define_method(
|
8950
|
-
rb_define_method(
|
8951
|
-
rb_define_method(
|
8952
|
-
rb_define_method(
|
8953
|
-
rb_define_method(
|
8954
|
-
rb_define_method(
|
8955
|
-
|
8956
|
-
|
8957
|
-
|
8958
|
-
|
8959
|
-
|
8960
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__GLTexInfo, (void *) &
|
8961
|
-
rb_define_alloc_func(
|
8962
|
-
rb_define_method(
|
8963
|
-
rb_define_method(
|
8964
|
-
rb_define_method(
|
8965
|
-
rb_define_method(
|
8966
|
-
rb_define_method(
|
8967
|
-
rb_define_method(
|
8968
|
-
rb_define_method(
|
8969
|
-
rb_define_method(
|
8970
|
-
rb_define_method(
|
8971
|
-
rb_define_method(
|
8972
|
-
rb_define_method(
|
8973
|
-
|
8974
|
-
|
8975
|
-
|
8976
|
-
|
8977
|
-
|
8978
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Image, (void *) &
|
8979
|
-
rb_define_alloc_func(
|
8980
|
-
rb_define_method(
|
8981
|
-
rb_define_method(
|
8982
|
-
rb_define_method(
|
8983
|
-
rb_define_method(
|
8984
|
-
rb_define_method(
|
8985
|
-
rb_define_method(
|
8986
|
-
rb_define_method(
|
8987
|
-
rb_define_method(
|
8988
|
-
rb_define_singleton_method(
|
8989
|
-
rb_define_singleton_method(
|
8990
|
-
rb_define_singleton_method(
|
8991
|
-
|
8992
|
-
|
8993
|
-
|
8994
|
-
|
8995
|
-
|
8996
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__SampleInstance, (void *) &
|
8997
|
-
rb_define_alloc_func(
|
8998
|
-
rb_define_method(
|
8999
|
-
rb_define_method(
|
9000
|
-
rb_define_method(
|
9001
|
-
rb_define_method(
|
9002
|
-
rb_define_method(
|
9003
|
-
rb_define_method(
|
9004
|
-
rb_define_method(
|
9005
|
-
rb_define_method(
|
9006
|
-
rb_define_method(
|
9007
|
-
|
9008
|
-
|
9009
|
-
|
9010
|
-
|
9011
|
-
|
9012
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Sample, (void *) &
|
9013
|
-
rb_define_alloc_func(
|
9014
|
-
rb_define_method(
|
9015
|
-
rb_define_method(
|
9016
|
-
rb_define_method(
|
9017
|
-
|
9018
|
-
|
9019
|
-
|
9020
|
-
|
9021
|
-
|
9022
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Song, (void *) &
|
9023
|
-
rb_define_alloc_func(
|
9024
|
-
rb_define_method(
|
9025
|
-
rb_define_const(
|
9026
|
-
rb_define_const(
|
9027
|
-
rb_define_singleton_method(
|
9028
|
-
rb_define_method(
|
9029
|
-
rb_define_method(
|
9030
|
-
rb_define_method(
|
9031
|
-
rb_define_method(
|
9032
|
-
rb_define_method(
|
9033
|
-
rb_define_method(
|
9034
|
-
rb_define_method(
|
9035
|
-
|
9036
|
-
|
9037
|
-
|
10300
|
+
SwigClassFont.klass = rb_define_class_under(mGosu, "Font", rb_cObject);
|
10301
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Font, (void *) &SwigClassFont);
|
10302
|
+
rb_define_alloc_func(SwigClassFont.klass, _wrap_Font_allocate);
|
10303
|
+
rb_define_method(SwigClassFont.klass, "initialize", VALUEFUNC(_wrap_new_Font), -1);
|
10304
|
+
rb_define_method(SwigClassFont.klass, "height", VALUEFUNC(_wrap_Font_height), -1);
|
10305
|
+
rb_define_method(SwigClassFont.klass, "text_width", VALUEFUNC(_wrap_Font_text_width), -1);
|
10306
|
+
rb_define_method(SwigClassFont.klass, "draw", VALUEFUNC(_wrap_Font_draw), -1);
|
10307
|
+
rb_define_method(SwigClassFont.klass, "draw_rel", VALUEFUNC(_wrap_Font_draw_rel), -1);
|
10308
|
+
rb_define_method(SwigClassFont.klass, "draw_rot", VALUEFUNC(_wrap_Font_draw_rot), -1);
|
10309
|
+
SwigClassFont.mark = 0;
|
10310
|
+
SwigClassFont.destroy = (void (*)(void *)) free_Gosu_Font;
|
10311
|
+
SwigClassFont.trackObjects = 1;
|
10312
|
+
|
10313
|
+
SwigClassGLTexInfo.klass = rb_define_class_under(mGosu, "GLTexInfo", rb_cObject);
|
10314
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__GLTexInfo, (void *) &SwigClassGLTexInfo);
|
10315
|
+
rb_define_alloc_func(SwigClassGLTexInfo.klass, _wrap_GLTexInfo_allocate);
|
10316
|
+
rb_define_method(SwigClassGLTexInfo.klass, "initialize", VALUEFUNC(_wrap_new_GLTexInfo), -1);
|
10317
|
+
rb_define_method(SwigClassGLTexInfo.klass, "tex_name=", VALUEFUNC(_wrap_GLTexInfo_tex_name_set), -1);
|
10318
|
+
rb_define_method(SwigClassGLTexInfo.klass, "tex_name", VALUEFUNC(_wrap_GLTexInfo_tex_name_get), -1);
|
10319
|
+
rb_define_method(SwigClassGLTexInfo.klass, "left=", VALUEFUNC(_wrap_GLTexInfo_left_set), -1);
|
10320
|
+
rb_define_method(SwigClassGLTexInfo.klass, "left", VALUEFUNC(_wrap_GLTexInfo_left_get), -1);
|
10321
|
+
rb_define_method(SwigClassGLTexInfo.klass, "right=", VALUEFUNC(_wrap_GLTexInfo_right_set), -1);
|
10322
|
+
rb_define_method(SwigClassGLTexInfo.klass, "right", VALUEFUNC(_wrap_GLTexInfo_right_get), -1);
|
10323
|
+
rb_define_method(SwigClassGLTexInfo.klass, "top=", VALUEFUNC(_wrap_GLTexInfo_top_set), -1);
|
10324
|
+
rb_define_method(SwigClassGLTexInfo.klass, "top", VALUEFUNC(_wrap_GLTexInfo_top_get), -1);
|
10325
|
+
rb_define_method(SwigClassGLTexInfo.klass, "bottom=", VALUEFUNC(_wrap_GLTexInfo_bottom_set), -1);
|
10326
|
+
rb_define_method(SwigClassGLTexInfo.klass, "bottom", VALUEFUNC(_wrap_GLTexInfo_bottom_get), -1);
|
10327
|
+
SwigClassGLTexInfo.mark = 0;
|
10328
|
+
SwigClassGLTexInfo.destroy = (void (*)(void *)) free_Gosu_GLTexInfo;
|
10329
|
+
SwigClassGLTexInfo.trackObjects = 1;
|
10330
|
+
|
10331
|
+
SwigClassImage.klass = rb_define_class_under(mGosu, "Image", rb_cObject);
|
10332
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Image, (void *) &SwigClassImage);
|
10333
|
+
rb_define_alloc_func(SwigClassImage.klass, _wrap_Image_allocate);
|
10334
|
+
rb_define_method(SwigClassImage.klass, "initialize", VALUEFUNC(_wrap_new_Image), -1);
|
10335
|
+
rb_define_method(SwigClassImage.klass, "width", VALUEFUNC(_wrap_Image_width), -1);
|
10336
|
+
rb_define_method(SwigClassImage.klass, "height", VALUEFUNC(_wrap_Image_height), -1);
|
10337
|
+
rb_define_method(SwigClassImage.klass, "draw", VALUEFUNC(_wrap_Image_draw), -1);
|
10338
|
+
rb_define_method(SwigClassImage.klass, "draw_mod", VALUEFUNC(_wrap_Image_draw_mod), -1);
|
10339
|
+
rb_define_method(SwigClassImage.klass, "draw_rot", VALUEFUNC(_wrap_Image_draw_rot), -1);
|
10340
|
+
rb_define_method(SwigClassImage.klass, "draw_as_quad", VALUEFUNC(_wrap_Image_draw_as_quad), -1);
|
10341
|
+
rb_define_method(SwigClassImage.klass, "gl_tex_info", VALUEFUNC(_wrap_Image_gl_tex_info), -1);
|
10342
|
+
rb_define_singleton_method(SwigClassImage.klass, "from_text4", VALUEFUNC(_wrap_Image_from_text4), -1);
|
10343
|
+
rb_define_singleton_method(SwigClassImage.klass, "from_text7", VALUEFUNC(_wrap_Image_from_text7), -1);
|
10344
|
+
rb_define_singleton_method(SwigClassImage.klass, "load_tiles", VALUEFUNC(_wrap_Image_load_tiles), -1);
|
10345
|
+
SwigClassImage.mark = 0;
|
10346
|
+
SwigClassImage.destroy = (void (*)(void *)) free_Gosu_Image;
|
10347
|
+
SwigClassImage.trackObjects = 1;
|
10348
|
+
|
10349
|
+
SwigClassSampleInstance.klass = rb_define_class_under(mGosu, "SampleInstance", rb_cObject);
|
10350
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__SampleInstance, (void *) &SwigClassSampleInstance);
|
10351
|
+
rb_define_alloc_func(SwigClassSampleInstance.klass, _wrap_SampleInstance_allocate);
|
10352
|
+
rb_define_method(SwigClassSampleInstance.klass, "initialize", VALUEFUNC(_wrap_new_SampleInstance), -1);
|
10353
|
+
rb_define_method(SwigClassSampleInstance.klass, "playing?", VALUEFUNC(_wrap_SampleInstance_playingq___), -1);
|
10354
|
+
rb_define_method(SwigClassSampleInstance.klass, "paused?", VALUEFUNC(_wrap_SampleInstance_pausedq___), -1);
|
10355
|
+
rb_define_method(SwigClassSampleInstance.klass, "pause", VALUEFUNC(_wrap_SampleInstance_pause), -1);
|
10356
|
+
rb_define_method(SwigClassSampleInstance.klass, "resume", VALUEFUNC(_wrap_SampleInstance_resume), -1);
|
10357
|
+
rb_define_method(SwigClassSampleInstance.klass, "stop", VALUEFUNC(_wrap_SampleInstance_stop), -1);
|
10358
|
+
rb_define_method(SwigClassSampleInstance.klass, "volume=", VALUEFUNC(_wrap_SampleInstance_volumee___), -1);
|
10359
|
+
rb_define_method(SwigClassSampleInstance.klass, "pan=", VALUEFUNC(_wrap_SampleInstance_pane___), -1);
|
10360
|
+
rb_define_method(SwigClassSampleInstance.klass, "speed=", VALUEFUNC(_wrap_SampleInstance_speede___), -1);
|
10361
|
+
SwigClassSampleInstance.mark = 0;
|
10362
|
+
SwigClassSampleInstance.destroy = (void (*)(void *)) free_Gosu_SampleInstance;
|
10363
|
+
SwigClassSampleInstance.trackObjects = 1;
|
10364
|
+
|
10365
|
+
SwigClassSample.klass = rb_define_class_under(mGosu, "Sample", rb_cObject);
|
10366
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Sample, (void *) &SwigClassSample);
|
10367
|
+
rb_define_alloc_func(SwigClassSample.klass, _wrap_Sample_allocate);
|
10368
|
+
rb_define_method(SwigClassSample.klass, "initialize", VALUEFUNC(_wrap_new_Sample), -1);
|
10369
|
+
rb_define_method(SwigClassSample.klass, "play", VALUEFUNC(_wrap_Sample_play), -1);
|
10370
|
+
rb_define_method(SwigClassSample.klass, "play_pan", VALUEFUNC(_wrap_Sample_play_pan), -1);
|
10371
|
+
SwigClassSample.mark = 0;
|
10372
|
+
SwigClassSample.destroy = (void (*)(void *)) free_Gosu_Sample;
|
10373
|
+
SwigClassSample.trackObjects = 1;
|
10374
|
+
|
10375
|
+
SwigClassSong.klass = rb_define_class_under(mGosu, "Song", rb_cObject);
|
10376
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Song, (void *) &SwigClassSong);
|
10377
|
+
rb_define_alloc_func(SwigClassSong.klass, _wrap_Song_allocate);
|
10378
|
+
rb_define_method(SwigClassSong.klass, "initialize", VALUEFUNC(_wrap_new_Song), -1);
|
10379
|
+
rb_define_const(SwigClassSong.klass, "StStream", SWIG_From_int(static_cast< int >(Gosu::Song::stStream)));
|
10380
|
+
rb_define_const(SwigClassSong.klass, "StModule", SWIG_From_int(static_cast< int >(Gosu::Song::stModule)));
|
10381
|
+
rb_define_singleton_method(SwigClassSong.klass, "current_song", VALUEFUNC(_wrap_Song_current_song), -1);
|
10382
|
+
rb_define_method(SwigClassSong.klass, "play", VALUEFUNC(_wrap_Song_play), -1);
|
10383
|
+
rb_define_method(SwigClassSong.klass, "pause", VALUEFUNC(_wrap_Song_pause), -1);
|
10384
|
+
rb_define_method(SwigClassSong.klass, "paused?", VALUEFUNC(_wrap_Song_pausedq___), -1);
|
10385
|
+
rb_define_method(SwigClassSong.klass, "stop", VALUEFUNC(_wrap_Song_stop), -1);
|
10386
|
+
rb_define_method(SwigClassSong.klass, "playing?", VALUEFUNC(_wrap_Song_playingq___), -1);
|
10387
|
+
rb_define_method(SwigClassSong.klass, "volume", VALUEFUNC(_wrap_Song_volume), -1);
|
10388
|
+
rb_define_method(SwigClassSong.klass, "volume=", VALUEFUNC(_wrap_Song_volumee___), -1);
|
10389
|
+
SwigClassSong.mark = 0;
|
10390
|
+
SwigClassSong.destroy = (void (*)(void *)) free_Gosu_Song;
|
10391
|
+
SwigClassSong.trackObjects = 1;
|
9038
10392
|
rb_define_const(mGosu, "KbRangeBegin", SWIG_From_int(static_cast< int >(Gosu::kbRangeBegin)));
|
9039
10393
|
rb_define_const(mGosu, "KbEscape", SWIG_From_int(static_cast< int >(Gosu::kbEscape)));
|
9040
10394
|
rb_define_const(mGosu, "KbF1", SWIG_From_int(static_cast< int >(Gosu::kbF1)));
|
@@ -9175,52 +10529,52 @@ SWIGEXPORT void Init_gosu(void) {
|
|
9175
10529
|
GosusDarkSide::oncePerTick = GosusDarkSide::yieldToOtherRubyThreads;
|
9176
10530
|
|
9177
10531
|
|
9178
|
-
|
9179
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__TextInput, (void *) &
|
9180
|
-
rb_define_alloc_func(
|
9181
|
-
rb_define_method(
|
9182
|
-
rb_define_method(
|
9183
|
-
rb_define_method(
|
9184
|
-
rb_define_method(
|
9185
|
-
rb_define_method(
|
9186
|
-
|
9187
|
-
|
9188
|
-
|
10532
|
+
SwigClassTextInput.klass = rb_define_class_under(mGosu, "TextInput", rb_cObject);
|
10533
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__TextInput, (void *) &SwigClassTextInput);
|
10534
|
+
rb_define_alloc_func(SwigClassTextInput.klass, _wrap_TextInput_allocate);
|
10535
|
+
rb_define_method(SwigClassTextInput.klass, "initialize", VALUEFUNC(_wrap_new_TextInput), -1);
|
10536
|
+
rb_define_method(SwigClassTextInput.klass, "text", VALUEFUNC(_wrap_TextInput_text), -1);
|
10537
|
+
rb_define_method(SwigClassTextInput.klass, "text=", VALUEFUNC(_wrap_TextInput_texte___), -1);
|
10538
|
+
rb_define_method(SwigClassTextInput.klass, "caret_pos", VALUEFUNC(_wrap_TextInput_caret_pos), -1);
|
10539
|
+
rb_define_method(SwigClassTextInput.klass, "selection_start", VALUEFUNC(_wrap_TextInput_selection_start), -1);
|
10540
|
+
SwigClassTextInput.mark = 0;
|
10541
|
+
SwigClassTextInput.destroy = (void (*)(void *)) free_Gosu_TextInput;
|
10542
|
+
SwigClassTextInput.trackObjects = 1;
|
9189
10543
|
rb_define_module_function(mGosu, "disown_Window", VALUEFUNC(_wrap_disown_Window), -1);
|
9190
10544
|
|
9191
|
-
|
9192
|
-
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Window, (void *) &
|
9193
|
-
rb_define_alloc_func(
|
9194
|
-
rb_define_method(
|
9195
|
-
rb_define_method(
|
9196
|
-
rb_define_method(
|
9197
|
-
rb_define_method(
|
9198
|
-
rb_define_method(
|
9199
|
-
rb_define_method(
|
9200
|
-
rb_define_method(
|
9201
|
-
rb_define_method(
|
9202
|
-
rb_define_method(
|
9203
|
-
rb_define_method(
|
9204
|
-
rb_define_method(
|
9205
|
-
rb_define_method(
|
9206
|
-
rb_define_method(
|
9207
|
-
rb_define_method(
|
9208
|
-
rb_define_method(
|
9209
|
-
rb_define_singleton_method(
|
9210
|
-
rb_define_singleton_method(
|
9211
|
-
rb_define_method(
|
9212
|
-
rb_define_method(
|
9213
|
-
rb_define_method(
|
9214
|
-
rb_define_method(
|
9215
|
-
rb_define_method(
|
9216
|
-
rb_define_method(
|
9217
|
-
rb_define_method(
|
9218
|
-
rb_define_method(
|
9219
|
-
rb_define_method(
|
9220
|
-
rb_define_method(
|
9221
|
-
rb_define_method(
|
9222
|
-
|
9223
|
-
|
9224
|
-
|
10545
|
+
SwigClassWindow.klass = rb_define_class_under(mGosu, "Window", rb_cObject);
|
10546
|
+
SWIG_TypeClientData(SWIGTYPE_p_Gosu__Window, (void *) &SwigClassWindow);
|
10547
|
+
rb_define_alloc_func(SwigClassWindow.klass, _wrap_Window_allocate);
|
10548
|
+
rb_define_method(SwigClassWindow.klass, "initialize", VALUEFUNC(_wrap_new_Window), -1);
|
10549
|
+
rb_define_method(SwigClassWindow.klass, "caption", VALUEFUNC(_wrap_Window_caption), -1);
|
10550
|
+
rb_define_method(SwigClassWindow.klass, "caption=", VALUEFUNC(_wrap_Window_captione___), -1);
|
10551
|
+
rb_define_method(SwigClassWindow.klass, "update_interval", VALUEFUNC(_wrap_Window_update_interval), -1);
|
10552
|
+
rb_define_method(SwigClassWindow.klass, "show", VALUEFUNC(_wrap_Window_show), -1);
|
10553
|
+
rb_define_method(SwigClassWindow.klass, "close", VALUEFUNC(_wrap_Window_close), -1);
|
10554
|
+
rb_define_method(SwigClassWindow.klass, "update", VALUEFUNC(_wrap_Window_update), -1);
|
10555
|
+
rb_define_method(SwigClassWindow.klass, "draw", VALUEFUNC(_wrap_Window_draw), -1);
|
10556
|
+
rb_define_method(SwigClassWindow.klass, "needs_redraw?", VALUEFUNC(_wrap_Window_needs_redrawq___), -1);
|
10557
|
+
rb_define_method(SwigClassWindow.klass, "button_down", VALUEFUNC(_wrap_Window_button_down), -1);
|
10558
|
+
rb_define_method(SwigClassWindow.klass, "button_up", VALUEFUNC(_wrap_Window_button_up), -1);
|
10559
|
+
rb_define_method(SwigClassWindow.klass, "draw_line", VALUEFUNC(_wrap_Window_draw_line), -1);
|
10560
|
+
rb_define_method(SwigClassWindow.klass, "draw_triangle", VALUEFUNC(_wrap_Window_draw_triangle), -1);
|
10561
|
+
rb_define_method(SwigClassWindow.klass, "draw_quad", VALUEFUNC(_wrap_Window_draw_quad), -1);
|
10562
|
+
rb_define_method(SwigClassWindow.klass, "button_down?", VALUEFUNC(_wrap_Window_button_downq___), -1);
|
10563
|
+
rb_define_singleton_method(SwigClassWindow.klass, "char_to_button_id", VALUEFUNC(_wrap_Window_char_to_button_id), -1);
|
10564
|
+
rb_define_singleton_method(SwigClassWindow.klass, "button_id_to_char", VALUEFUNC(_wrap_Window_button_id_to_char), -1);
|
10565
|
+
rb_define_method(SwigClassWindow.klass, "text_input", VALUEFUNC(_wrap_Window_text_input), -1);
|
10566
|
+
rb_define_method(SwigClassWindow.klass, "text_input=", VALUEFUNC(_wrap_Window_text_inpute___), -1);
|
10567
|
+
rb_define_method(SwigClassWindow.klass, "mouse_x", VALUEFUNC(_wrap_Window_mouse_x), -1);
|
10568
|
+
rb_define_method(SwigClassWindow.klass, "mouse_y", VALUEFUNC(_wrap_Window_mouse_y), -1);
|
10569
|
+
rb_define_method(SwigClassWindow.klass, "set_mouse_position", VALUEFUNC(_wrap_Window_set_mouse_position), -1);
|
10570
|
+
rb_define_method(SwigClassWindow.klass, "mouse_x=", VALUEFUNC(_wrap_Window_mouse_xe___), -1);
|
10571
|
+
rb_define_method(SwigClassWindow.klass, "mouse_y=", VALUEFUNC(_wrap_Window_mouse_ye___), -1);
|
10572
|
+
rb_define_method(SwigClassWindow.klass, "width", VALUEFUNC(_wrap_Window_width), -1);
|
10573
|
+
rb_define_method(SwigClassWindow.klass, "height", VALUEFUNC(_wrap_Window_height), -1);
|
10574
|
+
rb_define_method(SwigClassWindow.klass, "gl", VALUEFUNC(_wrap_Window_gl), -1);
|
10575
|
+
rb_define_method(SwigClassWindow.klass, "clip_to", VALUEFUNC(_wrap_Window_clip_to), -1);
|
10576
|
+
SwigClassWindow.mark = (void (*)(void *)) markWindow;
|
10577
|
+
SwigClassWindow.destroy = (void (*)(void *)) free_Gosu_Window;
|
10578
|
+
SwigClassWindow.trackObjects = 1;
|
9225
10579
|
}
|
9226
10580
|
|