gosu 1.0.0.pre1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gosu/extconf.rb +4 -24
  3. data/include/Gosu/Buttons.hpp +18 -17
  4. data/include/Gosu/Font.hpp +1 -1
  5. data/include/Gosu/Fwd.hpp +0 -5
  6. data/include/Gosu/Input.hpp +13 -40
  7. data/include/Gosu/Utility.hpp +14 -3
  8. data/include/Gosu/Version.hpp +3 -3
  9. data/include/Gosu/Window.hpp +25 -21
  10. data/lib/OpenAL32.dll +0 -0
  11. data/lib/gosu/patches.rb +0 -14
  12. data/lib/gosu/preview.rb +1 -3
  13. data/lib/gosu/swig_patches.rb +11 -10
  14. data/lib64/OpenAL32.dll +0 -0
  15. data/rdoc/gosu.rb +20 -6
  16. data/src/AudioFile.hpp +3 -0
  17. data/src/Input.cpp +28 -38
  18. data/src/Resolution.cpp +8 -8
  19. data/src/RubyGosu.cxx +646 -91
  20. data/src/RubyGosu.h +1 -1
  21. data/src/TrueTypeFontWin.cpp +3 -3
  22. data/src/Window.cpp +60 -31
  23. data/src/WindowUIKit.cpp +21 -9
  24. metadata +5 -31
  25. data/include/Gosu/AutoLink.hpp +0 -14
  26. data/include/Gosu/Channel.h +0 -25
  27. data/include/Gosu/Color.h +0 -38
  28. data/include/Gosu/Font.h +0 -36
  29. data/include/Gosu/Gosu.h +0 -82
  30. data/include/Gosu/Image.h +0 -54
  31. data/include/Gosu/Sample.h +0 -19
  32. data/include/Gosu/Song.h +0 -24
  33. data/include/Gosu/TextInput.h +0 -30
  34. data/include/Gosu/Window.h +0 -63
  35. data/lib/gosu/zen.rb +0 -89
  36. data/lib/libmpg123.dll +0 -0
  37. data/lib/libsndfile.dll +0 -0
  38. data/lib64/libmpg123.dll +0 -0
  39. data/lib64/libsndfile.dll +0 -0
  40. data/src/ChannelWrapper.cpp +0 -50
  41. data/src/ColorWrapper.cpp +0 -126
  42. data/src/Constants.cpp +0 -334
  43. data/src/FontWrapper.cpp +0 -74
  44. data/src/GosuWrapper.cpp +0 -251
  45. data/src/ImageWrapper.cpp +0 -168
  46. data/src/MPEGFile.hpp +0 -90
  47. data/src/SampleWrapper.cpp +0 -30
  48. data/src/SongWrapper.cpp +0 -52
  49. data/src/TextInputWrapper.cpp +0 -101
  50. data/src/WindowWrapper.cpp +0 -317
Binary file
Binary file
Binary file
@@ -1,50 +0,0 @@
1
- #include <Gosu/Audio.hpp>
2
- #include <Gosu/Channel.h>
3
-
4
- extern "C" {
5
-
6
- Gosu_Channel *Gosu_Channel_create(Gosu_Channel *channel)
7
- {
8
- return channel;
9
- }
10
-
11
- bool Gosu_Channel_playing(Gosu_Channel *channel)
12
- {
13
- return reinterpret_cast<Gosu::Channel *>(channel)->playing();
14
- }
15
- void Gosu_Channel_pause(Gosu_Channel *channel)
16
- {
17
- reinterpret_cast<Gosu::Channel *>(channel)->pause();
18
- }
19
- bool Gosu_Channel_paused(Gosu_Channel *channel)
20
- {
21
- return reinterpret_cast<Gosu::Channel *>(channel)->paused();
22
- }
23
- void Gosu_Channel_resume(Gosu_Channel *channel)
24
- {
25
- reinterpret_cast<Gosu::Channel *>(channel)->resume();
26
- }
27
- void Gosu_Channel_stop(Gosu_Channel *channel)
28
- {
29
- reinterpret_cast<Gosu::Channel *>(channel)->stop();
30
- }
31
-
32
- void Gosu_Channel_set_volume(Gosu_Channel *channel, double volume)
33
- {
34
- reinterpret_cast<Gosu::Channel *>(channel)->set_volume(volume);
35
- }
36
- void Gosu_Channel_set_speed(Gosu_Channel *channel, double speed)
37
- {
38
- reinterpret_cast<Gosu::Channel *>(channel)->set_speed(speed);
39
- }
40
- void Gosu_Channel_set_pan(Gosu_Channel *channel, double pan)
41
- {
42
- reinterpret_cast<Gosu::Channel *>(channel)->set_pan(pan);
43
- }
44
-
45
- void Gosu_Channel_destroy(Gosu_Channel *channel)
46
- {
47
- delete (reinterpret_cast<Gosu::Channel *>(channel));
48
- }
49
-
50
- }
@@ -1,126 +0,0 @@
1
- #include <Gosu/Color.hpp>
2
- #include <Gosu/Color.h>
3
-
4
- #ifdef __cplusplus
5
- extern "C" {
6
- #endif
7
-
8
- unsigned Gosu_Color_create(unsigned argb)
9
- {
10
- return Gosu::Color(argb).argb();
11
- }
12
- unsigned Gosu_Color_create_argb(Gosu_Color_Channel a, Gosu_Color_Channel r, Gosu_Color_Channel g, Gosu_Color_Channel b)
13
- {
14
- return Gosu::Color(a, r, g, b).argb();
15
- }
16
- unsigned Gosu_Color_create_from_hsv(double h, double s, double v)
17
- {
18
- return Gosu::Color::from_hsv(h, s, v).argb();
19
- }
20
- unsigned Gosu_Color_create_from_ahsv(Gosu_Color_Channel alpha, double h, double s, double v)
21
- {
22
- return Gosu::Color::from_ahsv(alpha, h, s, v).argb();
23
- }
24
-
25
- Gosu_Color_Channel Gosu_Color_alpha(unsigned color)
26
- {
27
- return Gosu::Color(color).alpha();
28
- }
29
- Gosu_Color_Channel Gosu_Color_red(unsigned color)
30
- {
31
- return Gosu::Color(color).red();
32
- }
33
- Gosu_Color_Channel Gosu_Color_green(unsigned color)
34
- {
35
- return Gosu::Color(color).green();
36
- }
37
- Gosu_Color_Channel Gosu_Color_blue(unsigned color)
38
- {
39
- return Gosu::Color(color).blue();
40
- }
41
-
42
- unsigned Gosu_Color_set_alpha(unsigned color, Gosu_Color_Channel value)
43
- {
44
- Gosu::Color gosu_color = Gosu::Color(color);
45
- gosu_color.set_alpha(value);
46
-
47
- return gosu_color.argb();
48
- }
49
- unsigned Gosu_Color_set_red(unsigned color, Gosu_Color_Channel value)
50
- {
51
- Gosu::Color gosu_color = Gosu::Color(color);
52
- gosu_color.set_red(value);
53
-
54
- return gosu_color.argb();
55
- }
56
- unsigned Gosu_Color_set_green(unsigned color, Gosu_Color_Channel value)
57
- {
58
- Gosu::Color gosu_color = Gosu::Color(color);
59
- gosu_color.set_green(value);
60
-
61
- return gosu_color.argb();
62
- }
63
- unsigned Gosu_Color_set_blue(unsigned color, Gosu_Color_Channel value)
64
- {
65
- Gosu::Color gosu_color = Gosu::Color(color);
66
- gosu_color.set_blue(value);
67
-
68
- return gosu_color.argb();
69
- }
70
-
71
- double Gosu_Color_hue(unsigned color)
72
- {
73
- return Gosu::Color(color).hue();
74
- }
75
- double Gosu_Color_saturation(unsigned color)
76
- {
77
- return Gosu::Color(color).saturation();
78
- }
79
- double Gosu_Color_value(unsigned color)
80
- {
81
- return Gosu::Color(color).value();
82
- }
83
-
84
- unsigned Gosu_Color_set_hue(unsigned color, double value)
85
- {
86
- Gosu::Color gosu_color = Gosu::Color(color);
87
- gosu_color.set_hue(value);
88
-
89
- return gosu_color.argb();
90
- }
91
- unsigned Gosu_Color_set_saturation(unsigned color, double value)
92
- {
93
- Gosu::Color gosu_color = Gosu::Color(color);
94
- gosu_color.set_saturation(value);
95
-
96
- return gosu_color.argb();
97
- }
98
- unsigned Gosu_Color_set_value(unsigned color, double value)
99
- {
100
- Gosu::Color gosu_color = Gosu::Color(color);
101
- gosu_color.set_value(value);
102
-
103
- return gosu_color.argb();
104
- }
105
-
106
- unsigned Gosu_Color_argb(unsigned color)
107
- {
108
- return Gosu::Color(color).argb();
109
- }
110
- unsigned Gosu_Color_bgr(unsigned color)
111
- {
112
- return Gosu::Color(color).bgr();
113
- }
114
- unsigned Gosu_Color_abgr(unsigned color)
115
- {
116
- return Gosu::Color(color).abgr();
117
- }
118
-
119
- unsigned Gosu_Color_gl(unsigned color)
120
- {
121
- return color;
122
- }
123
-
124
- #ifdef __cplusplus
125
- }
126
- #endif
@@ -1,334 +0,0 @@
1
- #include <Gosu/Version.hpp>
2
- #include <Gosu/Buttons.hpp>
3
- #include <Gosu/GraphicsBase.hpp>
4
-
5
- #ifdef __cplusplus
6
- extern "C" {
7
- #endif
8
-
9
- const char *Gosu_version()
10
- {
11
- return Gosu::VERSION.c_str();
12
- }
13
-
14
- const char *Gosu_licenses()
15
- {
16
- return Gosu::LICENSES.c_str();
17
- }
18
-
19
- unsigned Gosu_MAJOR_VERSION = GOSU_MAJOR_VERSION;
20
- unsigned Gosu_MINOR_VERSION = GOSU_MINOR_VERSION;
21
- unsigned Gosu_POINT_VERSION = GOSU_POINT_VERSION;
22
-
23
- // Alpha/Blend Modes
24
- unsigned Gosu_AM_DEFAULT = Gosu::AM_DEFAULT;
25
- unsigned Gosu_AM_INTERPOLATE = Gosu::AM_INTERPOLATE;
26
- unsigned Gosu_AM_ADD = Gosu::AM_ADD;
27
- unsigned Gosu_AM_MULTIPLY = Gosu::AM_MULTIPLY;
28
-
29
- // Font Flags
30
- unsigned Gosu_FF_BOLD = Gosu::FF_BOLD;
31
- unsigned Gosu_FF_ITALIC = Gosu::FF_ITALIC;
32
- unsigned Gosu_FF_UNDERLINE = Gosu::FF_UNDERLINE;
33
- unsigned Gosu_FF_COMBINATIONS = Gosu::FF_COMBINATIONS;
34
-
35
- // Alignment
36
- unsigned Gosu_AL_LEFT = Gosu::AL_LEFT;
37
- unsigned Gosu_AL_RIGHT = Gosu::AL_RIGHT;
38
- unsigned Gosu_AL_CENTER = Gosu::AL_CENTER;
39
- unsigned Gosu_AL_JUSTIFY = Gosu::AL_JUSTIFY;
40
-
41
- // Image Flags
42
- unsigned Gosu_IF_SMOOTH = Gosu::IF_SMOOTH;
43
- unsigned Gosu_IF_TILEABLE_LEFT = Gosu::IF_TILEABLE_LEFT;
44
- unsigned Gosu_IF_TILEABLE_TOP = Gosu::IF_TILEABLE_TOP;
45
- unsigned Gosu_IF_TILEABLE_RIGHT = Gosu::IF_TILEABLE_RIGHT;
46
- unsigned Gosu_IF_TILEABLE_BOTTOM = Gosu::IF_TILEABLE_BOTTOM;
47
- unsigned Gosu_IF_TILEABLE = Gosu::IF_TILEABLE;
48
- unsigned Gosu_IF_RETRO = Gosu::IF_RETRO;
49
-
50
- unsigned Gosu_KB_ESCAPE = Gosu::KB_ESCAPE;
51
- unsigned Gosu_KB_F1 = Gosu::KB_F1;
52
- unsigned Gosu_KB_F2 = Gosu::KB_F2;
53
- unsigned Gosu_KB_F3 = Gosu::KB_F3;
54
- unsigned Gosu_KB_F4 = Gosu::KB_F4;
55
- unsigned Gosu_KB_F5 = Gosu::KB_F5;
56
- unsigned Gosu_KB_F6 = Gosu::KB_F6;
57
- unsigned Gosu_KB_F7 = Gosu::KB_F7;
58
- unsigned Gosu_KB_F8 = Gosu::KB_F8;
59
- unsigned Gosu_KB_F9 = Gosu::KB_F9;
60
- unsigned Gosu_KB_F10 = Gosu::KB_F10;
61
- unsigned Gosu_KB_F11 = Gosu::KB_F11;
62
- unsigned Gosu_KB_F12 = Gosu::KB_F12;
63
- unsigned Gosu_KB_0 = Gosu::KB_0;
64
- unsigned Gosu_KB_1 = Gosu::KB_1;
65
- unsigned Gosu_KB_2 = Gosu::KB_2;
66
- unsigned Gosu_KB_3 = Gosu::KB_3;
67
- unsigned Gosu_KB_4 = Gosu::KB_4;
68
- unsigned Gosu_KB_5 = Gosu::KB_5;
69
- unsigned Gosu_KB_6 = Gosu::KB_6;
70
- unsigned Gosu_KB_7 = Gosu::KB_7;
71
- unsigned Gosu_KB_8 = Gosu::KB_8;
72
- unsigned Gosu_KB_9 = Gosu::KB_9;
73
- unsigned Gosu_KB_TAB = Gosu::KB_TAB;
74
- unsigned Gosu_KB_RETURN = Gosu::KB_RETURN;
75
- unsigned Gosu_KB_SPACE = Gosu::KB_SPACE;
76
- unsigned Gosu_KB_LEFT_SHIFT = Gosu::KB_LEFT_SHIFT;
77
- unsigned Gosu_KB_RIGHT_SHIFT = Gosu::KB_RIGHT_SHIFT;
78
- unsigned Gosu_KB_LEFT_CONTROL = Gosu::KB_LEFT_CONTROL;
79
- unsigned Gosu_KB_RIGHT_CONTROL = Gosu::KB_RIGHT_CONTROL;
80
- unsigned Gosu_KB_LEFT_ALT = Gosu::KB_LEFT_ALT;
81
- unsigned Gosu_KB_RIGHT_ALT = Gosu::KB_RIGHT_ALT;
82
- unsigned Gosu_KB_LEFT_META = Gosu::KB_LEFT_META;
83
- unsigned Gosu_KB_RIGHT_META = Gosu::KB_RIGHT_META;
84
- unsigned Gosu_KB_BACKSPACE = Gosu::KB_BACKSPACE;
85
- unsigned Gosu_KB_LEFT = Gosu::KB_LEFT;
86
- unsigned Gosu_KB_RIGHT = Gosu::KB_RIGHT;
87
- unsigned Gosu_KB_UP = Gosu::KB_UP;
88
- unsigned Gosu_KB_DOWN = Gosu::KB_DOWN;
89
- unsigned Gosu_KB_HOME = Gosu::KB_HOME;
90
- unsigned Gosu_KB_END = Gosu::KB_END;
91
- unsigned Gosu_KB_INSERT = Gosu::KB_INSERT;
92
- unsigned Gosu_KB_DELETE = Gosu::KB_DELETE;
93
- unsigned Gosu_KB_PAGE_UP = Gosu::KB_PAGE_UP;
94
- unsigned Gosu_KB_PAGE_DOWN = Gosu::KB_PAGE_DOWN;
95
- unsigned Gosu_KB_ENTER = Gosu::KB_ENTER;
96
- unsigned Gosu_KB_BACKTICK = Gosu::KB_BACKTICK;
97
- unsigned Gosu_KB_MINUS = Gosu::KB_MINUS;
98
- unsigned Gosu_KB_EQUALS = Gosu::KB_EQUALS;
99
- unsigned Gosu_KB_LEFT_BRACKET = Gosu::KB_LEFT_BRACKET;
100
- unsigned Gosu_KB_RIGHT_BRACKET = Gosu::KB_RIGHT_BRACKET;
101
- unsigned Gosu_KB_BACKSLASH = Gosu::KB_BACKSLASH;
102
- unsigned Gosu_KB_SEMICOLON = Gosu::KB_SEMICOLON;
103
- unsigned Gosu_KB_APOSTROPHE = Gosu::KB_APOSTROPHE;
104
- unsigned Gosu_KB_COMMA = Gosu::KB_COMMA;
105
- unsigned Gosu_KB_PERIOD = Gosu::KB_PERIOD;
106
- unsigned Gosu_KB_SLASH = Gosu::KB_SLASH;
107
- unsigned Gosu_KB_A = Gosu::KB_A;
108
- unsigned Gosu_KB_B = Gosu::KB_B;
109
- unsigned Gosu_KB_C = Gosu::KB_C;
110
- unsigned Gosu_KB_D = Gosu::KB_D;
111
- unsigned Gosu_KB_E = Gosu::KB_E;
112
- unsigned Gosu_KB_F = Gosu::KB_F;
113
- unsigned Gosu_KB_G = Gosu::KB_G;
114
- unsigned Gosu_KB_H = Gosu::KB_H;
115
- unsigned Gosu_KB_I = Gosu::KB_I;
116
- unsigned Gosu_KB_J = Gosu::KB_J;
117
- unsigned Gosu_KB_K = Gosu::KB_K;
118
- unsigned Gosu_KB_L = Gosu::KB_L;
119
- unsigned Gosu_KB_M = Gosu::KB_M;
120
- unsigned Gosu_KB_N = Gosu::KB_N;
121
- unsigned Gosu_KB_O = Gosu::KB_O;
122
- unsigned Gosu_KB_P = Gosu::KB_P;
123
- unsigned Gosu_KB_Q = Gosu::KB_Q;
124
- unsigned Gosu_KB_R = Gosu::KB_R;
125
- unsigned Gosu_KB_S = Gosu::KB_S;
126
- unsigned Gosu_KB_T = Gosu::KB_T;
127
- unsigned Gosu_KB_U = Gosu::KB_U;
128
- unsigned Gosu_KB_V = Gosu::KB_V;
129
- unsigned Gosu_KB_W = Gosu::KB_W;
130
- unsigned Gosu_KB_X = Gosu::KB_X;
131
- unsigned Gosu_KB_Y = Gosu::KB_Y;
132
- unsigned Gosu_KB_Z = Gosu::KB_Z;
133
- unsigned Gosu_KB_ISO = Gosu::KB_ISO;
134
- unsigned Gosu_KB_NUMPAD_0 = Gosu::KB_NUMPAD_0;
135
- unsigned Gosu_KB_NUMPAD_1 = Gosu::KB_NUMPAD_1;
136
- unsigned Gosu_KB_NUMPAD_2 = Gosu::KB_NUMPAD_2;
137
- unsigned Gosu_KB_NUMPAD_3 = Gosu::KB_NUMPAD_3;
138
- unsigned Gosu_KB_NUMPAD_4 = Gosu::KB_NUMPAD_4;
139
- unsigned Gosu_KB_NUMPAD_5 = Gosu::KB_NUMPAD_5;
140
- unsigned Gosu_KB_NUMPAD_6 = Gosu::KB_NUMPAD_6;
141
- unsigned Gosu_KB_NUMPAD_7 = Gosu::KB_NUMPAD_7;
142
- unsigned Gosu_KB_NUMPAD_8 = Gosu::KB_NUMPAD_8;
143
- unsigned Gosu_KB_NUMPAD_9 = Gosu::KB_NUMPAD_9;
144
- unsigned Gosu_KB_NUMPAD_DELETE = Gosu::KB_NUMPAD_DELETE;
145
- unsigned Gosu_KB_NUMPAD_PLUS = Gosu::KB_NUMPAD_PLUS;
146
- unsigned Gosu_KB_NUMPAD_MINUS = Gosu::KB_NUMPAD_MINUS;
147
- unsigned Gosu_KB_NUMPAD_MULTIPLY = Gosu::KB_NUMPAD_MULTIPLY;
148
- unsigned Gosu_KB_NUMPAD_DIVIDE = Gosu::KB_NUMPAD_DIVIDE;
149
-
150
- unsigned Gosu_MS_LEFT = Gosu::MS_LEFT;
151
- unsigned Gosu_MS_MIDDLE = Gosu::MS_MIDDLE;
152
- unsigned Gosu_MS_RIGHT = Gosu::MS_RIGHT;
153
- unsigned Gosu_MS_WHEEL_UP = Gosu::MS_WHEEL_UP;
154
- unsigned Gosu_MS_WHEEL_DOWN = Gosu::MS_WHEEL_DOWN;
155
- unsigned Gosu_MS_OTHER_0 = Gosu::MS_OTHER_0;
156
- unsigned Gosu_MS_OTHER_1 = Gosu::MS_OTHER_1;
157
- unsigned Gosu_MS_OTHER_2 = Gosu::MS_OTHER_2;
158
- unsigned Gosu_MS_OTHER_3 = Gosu::MS_OTHER_3;
159
- unsigned Gosu_MS_OTHER_4 = Gosu::MS_OTHER_4;
160
- unsigned Gosu_MS_OTHER_5 = Gosu::MS_OTHER_5;
161
- unsigned Gosu_MS_OTHER_6 = Gosu::MS_OTHER_6;
162
- unsigned Gosu_MS_OTHER_7 = Gosu::MS_OTHER_7;
163
-
164
- unsigned Gosu_GP_DPAD_LEFT = Gosu::GP_DPAD_LEFT;
165
- unsigned Gosu_GP_DPAD_RIGHT = Gosu::GP_DPAD_RIGHT;
166
- unsigned Gosu_GP_DPAD_UP = Gosu::GP_DPAD_UP;
167
- unsigned Gosu_GP_DPAD_DOWN = Gosu::GP_DPAD_DOWN;
168
- unsigned Gosu_GP_BUTTON_0 = Gosu::GP_BUTTON_0;
169
- unsigned Gosu_GP_BUTTON_1 = Gosu::GP_BUTTON_1;
170
- unsigned Gosu_GP_BUTTON_2 = Gosu::GP_BUTTON_2;
171
- unsigned Gosu_GP_BUTTON_3 = Gosu::GP_BUTTON_3;
172
- unsigned Gosu_GP_BUTTON_4 = Gosu::GP_BUTTON_4;
173
- unsigned Gosu_GP_BUTTON_5 = Gosu::GP_BUTTON_5;
174
- unsigned Gosu_GP_BUTTON_6 = Gosu::GP_BUTTON_6;
175
- unsigned Gosu_GP_BUTTON_7 = Gosu::GP_BUTTON_7;
176
- unsigned Gosu_GP_BUTTON_8 = Gosu::GP_BUTTON_8;
177
- unsigned Gosu_GP_BUTTON_9 = Gosu::GP_BUTTON_9;
178
- unsigned Gosu_GP_BUTTON_10 = Gosu::GP_BUTTON_10;
179
- unsigned Gosu_GP_BUTTON_11 = Gosu::GP_BUTTON_11;
180
- unsigned Gosu_GP_BUTTON_12 = Gosu::GP_BUTTON_12;
181
- unsigned Gosu_GP_BUTTON_13 = Gosu::GP_BUTTON_13;
182
- unsigned Gosu_GP_BUTTON_14 = Gosu::GP_BUTTON_14;
183
- unsigned Gosu_GP_BUTTON_15 = Gosu::GP_BUTTON_15;
184
-
185
- unsigned Gosu_GP_0_DPAD_LEFT = Gosu::GP_0_DPAD_LEFT;
186
- unsigned Gosu_GP_0_DPAD_RIGHT = Gosu::GP_0_DPAD_RIGHT;
187
- unsigned Gosu_GP_0_DPAD_UP = Gosu::GP_0_DPAD_UP;
188
- unsigned Gosu_GP_0_DPAD_DOWN = Gosu::GP_0_DPAD_DOWN;
189
- unsigned Gosu_GP_0_BUTTON_0 = Gosu::GP_0_BUTTON_0;
190
- unsigned Gosu_GP_0_BUTTON_1 = Gosu::GP_0_BUTTON_1;
191
- unsigned Gosu_GP_0_BUTTON_2 = Gosu::GP_0_BUTTON_2;
192
- unsigned Gosu_GP_0_BUTTON_3 = Gosu::GP_0_BUTTON_3;
193
- unsigned Gosu_GP_0_BUTTON_4 = Gosu::GP_0_BUTTON_4;
194
- unsigned Gosu_GP_0_BUTTON_5 = Gosu::GP_0_BUTTON_5;
195
- unsigned Gosu_GP_0_BUTTON_6 = Gosu::GP_0_BUTTON_6;
196
- unsigned Gosu_GP_0_BUTTON_7 = Gosu::GP_0_BUTTON_7;
197
- unsigned Gosu_GP_0_BUTTON_8 = Gosu::GP_0_BUTTON_8;
198
- unsigned Gosu_GP_0_BUTTON_9 = Gosu::GP_0_BUTTON_9;
199
- unsigned Gosu_GP_0_BUTTON_10 = Gosu::GP_0_BUTTON_10;
200
- unsigned Gosu_GP_0_BUTTON_11 = Gosu::GP_0_BUTTON_11;
201
- unsigned Gosu_GP_0_BUTTON_12 = Gosu::GP_0_BUTTON_12;
202
- unsigned Gosu_GP_0_BUTTON_13 = Gosu::GP_0_BUTTON_13;
203
- unsigned Gosu_GP_0_BUTTON_14 = Gosu::GP_0_BUTTON_14;
204
- unsigned Gosu_GP_0_BUTTON_15 = Gosu::GP_0_BUTTON_15;
205
-
206
- unsigned Gosu_GP_1_DPAD_LEFT = Gosu::GP_1_DPAD_LEFT;
207
- unsigned Gosu_GP_1_DPAD_RIGHT = Gosu::GP_1_DPAD_RIGHT;
208
- unsigned Gosu_GP_1_DPAD_UP = Gosu::GP_1_DPAD_UP;
209
- unsigned Gosu_GP_1_DPAD_DOWN = Gosu::GP_1_DPAD_DOWN;
210
- unsigned Gosu_GP_1_BUTTON_0 = Gosu::GP_1_BUTTON_0;
211
- unsigned Gosu_GP_1_BUTTON_1 = Gosu::GP_1_BUTTON_1;
212
- unsigned Gosu_GP_1_BUTTON_2 = Gosu::GP_1_BUTTON_2;
213
- unsigned Gosu_GP_1_BUTTON_3 = Gosu::GP_1_BUTTON_3;
214
- unsigned Gosu_GP_1_BUTTON_4 = Gosu::GP_1_BUTTON_4;
215
- unsigned Gosu_GP_1_BUTTON_5 = Gosu::GP_1_BUTTON_5;
216
- unsigned Gosu_GP_1_BUTTON_6 = Gosu::GP_1_BUTTON_6;
217
- unsigned Gosu_GP_1_BUTTON_7 = Gosu::GP_1_BUTTON_7;
218
- unsigned Gosu_GP_1_BUTTON_8 = Gosu::GP_1_BUTTON_8;
219
- unsigned Gosu_GP_1_BUTTON_9 = Gosu::GP_1_BUTTON_9;
220
- unsigned Gosu_GP_1_BUTTON_10 = Gosu::GP_1_BUTTON_10;
221
- unsigned Gosu_GP_1_BUTTON_11 = Gosu::GP_1_BUTTON_11;
222
- unsigned Gosu_GP_1_BUTTON_12 = Gosu::GP_1_BUTTON_12;
223
- unsigned Gosu_GP_1_BUTTON_13 = Gosu::GP_1_BUTTON_13;
224
- unsigned Gosu_GP_1_BUTTON_14 = Gosu::GP_1_BUTTON_14;
225
- unsigned Gosu_GP_1_BUTTON_15 = Gosu::GP_1_BUTTON_15;
226
-
227
- unsigned Gosu_GP_2_DPAD_LEFT = Gosu::GP_2_DPAD_LEFT;
228
- unsigned Gosu_GP_2_DPAD_RIGHT = Gosu::GP_2_DPAD_RIGHT;
229
- unsigned Gosu_GP_2_DPAD_UP = Gosu::GP_2_DPAD_UP;
230
- unsigned Gosu_GP_2_DPAD_DOWN = Gosu::GP_2_DPAD_DOWN;
231
- unsigned Gosu_GP_2_BUTTON_0 = Gosu::GP_2_BUTTON_0;
232
- unsigned Gosu_GP_2_BUTTON_1 = Gosu::GP_2_BUTTON_1;
233
- unsigned Gosu_GP_2_BUTTON_2 = Gosu::GP_2_BUTTON_2;
234
- unsigned Gosu_GP_2_BUTTON_3 = Gosu::GP_2_BUTTON_3;
235
- unsigned Gosu_GP_2_BUTTON_4 = Gosu::GP_2_BUTTON_4;
236
- unsigned Gosu_GP_2_BUTTON_5 = Gosu::GP_2_BUTTON_5;
237
- unsigned Gosu_GP_2_BUTTON_6 = Gosu::GP_2_BUTTON_6;
238
- unsigned Gosu_GP_2_BUTTON_7 = Gosu::GP_2_BUTTON_7;
239
- unsigned Gosu_GP_2_BUTTON_8 = Gosu::GP_2_BUTTON_8;
240
- unsigned Gosu_GP_2_BUTTON_9 = Gosu::GP_2_BUTTON_9;
241
- unsigned Gosu_GP_2_BUTTON_10 = Gosu::GP_2_BUTTON_10;
242
- unsigned Gosu_GP_2_BUTTON_11 = Gosu::GP_2_BUTTON_11;
243
- unsigned Gosu_GP_2_BUTTON_12 = Gosu::GP_2_BUTTON_12;
244
- unsigned Gosu_GP_2_BUTTON_13 = Gosu::GP_2_BUTTON_13;
245
- unsigned Gosu_GP_2_BUTTON_14 = Gosu::GP_2_BUTTON_14;
246
- unsigned Gosu_GP_2_BUTTON_15 = Gosu::GP_2_BUTTON_15;
247
-
248
- unsigned Gosu_GP_3_DPAD_LEFT = Gosu::GP_3_DPAD_LEFT;
249
- unsigned Gosu_GP_3_DPAD_RIGHT = Gosu::GP_3_DPAD_RIGHT;
250
- unsigned Gosu_GP_3_DPAD_UP = Gosu::GP_3_DPAD_UP;
251
- unsigned Gosu_GP_3_DPAD_DOWN = Gosu::GP_3_DPAD_DOWN;
252
- unsigned Gosu_GP_3_BUTTON_0 = Gosu::GP_3_BUTTON_0;
253
- unsigned Gosu_GP_3_BUTTON_1 = Gosu::GP_3_BUTTON_1;
254
- unsigned Gosu_GP_3_BUTTON_2 = Gosu::GP_3_BUTTON_2;
255
- unsigned Gosu_GP_3_BUTTON_3 = Gosu::GP_3_BUTTON_3;
256
- unsigned Gosu_GP_3_BUTTON_4 = Gosu::GP_3_BUTTON_4;
257
- unsigned Gosu_GP_3_BUTTON_5 = Gosu::GP_3_BUTTON_5;
258
- unsigned Gosu_GP_3_BUTTON_6 = Gosu::GP_3_BUTTON_6;
259
- unsigned Gosu_GP_3_BUTTON_7 = Gosu::GP_3_BUTTON_7;
260
- unsigned Gosu_GP_3_BUTTON_8 = Gosu::GP_3_BUTTON_8;
261
- unsigned Gosu_GP_3_BUTTON_9 = Gosu::GP_3_BUTTON_9;
262
- unsigned Gosu_GP_3_BUTTON_10 = Gosu::GP_3_BUTTON_10;
263
- unsigned Gosu_GP_3_BUTTON_11 = Gosu::GP_3_BUTTON_11;
264
- unsigned Gosu_GP_3_BUTTON_12 = Gosu::GP_3_BUTTON_12;
265
- unsigned Gosu_GP_3_BUTTON_13 = Gosu::GP_3_BUTTON_13;
266
- unsigned Gosu_GP_3_BUTTON_14 = Gosu::GP_3_BUTTON_14;
267
- unsigned Gosu_GP_3_BUTTON_15 = Gosu::GP_3_BUTTON_15;
268
-
269
- unsigned Gosu_GP_LEFT = Gosu::GP_LEFT;
270
- unsigned Gosu_GP_RIGHT = Gosu::GP_RIGHT;
271
- unsigned Gosu_GP_UP = Gosu::GP_UP;
272
- unsigned Gosu_GP_DOWN = Gosu::GP_DOWN;
273
-
274
- unsigned Gosu_GP_0_LEFT = Gosu::GP_0_LEFT;
275
- unsigned Gosu_GP_0_RIGHT = Gosu::GP_0_RIGHT;
276
- unsigned Gosu_GP_0_UP = Gosu::GP_0_UP;
277
- unsigned Gosu_GP_0_DOWN = Gosu::GP_0_DOWN;
278
-
279
- unsigned Gosu_GP_1_LEFT = Gosu::GP_1_LEFT;
280
- unsigned Gosu_GP_1_RIGHT = Gosu::GP_1_RIGHT;
281
- unsigned Gosu_GP_1_UP = Gosu::GP_1_UP;
282
- unsigned Gosu_GP_1_DOWN = Gosu::GP_1_DOWN;
283
-
284
- unsigned Gosu_GP_2_LEFT = Gosu::GP_2_LEFT;
285
- unsigned Gosu_GP_2_RIGHT = Gosu::GP_2_RIGHT;
286
- unsigned Gosu_GP_2_UP = Gosu::GP_2_UP;
287
- unsigned Gosu_GP_2_DOWN = Gosu::GP_2_DOWN;
288
-
289
- unsigned Gosu_GP_3_LEFT = Gosu::GP_3_LEFT;
290
- unsigned Gosu_GP_3_RIGHT = Gosu::GP_3_RIGHT;
291
- unsigned Gosu_GP_3_UP = Gosu::GP_3_UP;
292
- unsigned Gosu_GP_3_DOWN = Gosu::GP_3_DOWN;
293
-
294
- unsigned Gosu_GP_LEFT_STICK_X_AXIS = Gosu::GP_LEFT_STICK_Y_AXIS;
295
- unsigned Gosu_GP_LEFT_STICK_Y_AXIS = Gosu::GP_LEFT_STICK_Y_AXIS;
296
- unsigned Gosu_GP_RIGHT_STICK_X_AXIS = Gosu::GP_RIGHT_STICK_X_AXIS;
297
- unsigned Gosu_GP_RIGHT_STICK_Y_AXIS = Gosu::GP_RIGHT_STICK_Y_AXIS;
298
- unsigned Gosu_GP_LEFT_TRIGGER_AXIS = Gosu::GP_LEFT_TRIGGER_AXIS;
299
- unsigned Gosu_GP_RIGHT_TRIGGER_AXIS = Gosu::GP_RIGHT_TRIGGER_AXIS;
300
-
301
- unsigned Gosu_GP_0_LEFT_STICK_X_AXIS = Gosu::GP_0_LEFT_STICK_Y_AXIS;
302
- unsigned Gosu_GP_0_LEFT_STICK_Y_AXIS = Gosu::GP_0_LEFT_STICK_Y_AXIS;
303
- unsigned Gosu_GP_0_RIGHT_STICK_X_AXIS = Gosu::GP_0_RIGHT_STICK_X_AXIS;
304
- unsigned Gosu_GP_0_RIGHT_STICK_Y_AXIS = Gosu::GP_0_RIGHT_STICK_Y_AXIS;
305
- unsigned Gosu_GP_0_LEFT_TRIGGER_AXIS = Gosu::GP_0_LEFT_TRIGGER_AXIS;
306
- unsigned Gosu_GP_0_RIGHT_TRIGGER_AXIS = Gosu::GP_0_RIGHT_TRIGGER_AXIS;
307
-
308
- unsigned Gosu_GP_1_LEFT_STICK_X_AXIS = Gosu::GP_1_LEFT_STICK_Y_AXIS;
309
- unsigned Gosu_GP_1_LEFT_STICK_Y_AXIS = Gosu::GP_1_LEFT_STICK_Y_AXIS;
310
- unsigned Gosu_GP_1_RIGHT_STICK_X_AXIS = Gosu::GP_1_RIGHT_STICK_X_AXIS;
311
- unsigned Gosu_GP_1_RIGHT_STICK_Y_AXIS = Gosu::GP_1_RIGHT_STICK_Y_AXIS;
312
- unsigned Gosu_GP_1_LEFT_TRIGGER_AXIS = Gosu::GP_1_LEFT_TRIGGER_AXIS;
313
- unsigned Gosu_GP_1_RIGHT_TRIGGER_AXIS = Gosu::GP_1_RIGHT_TRIGGER_AXIS;
314
-
315
- unsigned Gosu_GP_2_LEFT_STICK_X_AXIS = Gosu::GP_2_LEFT_STICK_Y_AXIS;
316
- unsigned Gosu_GP_2_LEFT_STICK_Y_AXIS = Gosu::GP_2_LEFT_STICK_Y_AXIS;
317
- unsigned Gosu_GP_2_RIGHT_STICK_X_AXIS = Gosu::GP_2_RIGHT_STICK_X_AXIS;
318
- unsigned Gosu_GP_2_RIGHT_STICK_Y_AXIS = Gosu::GP_2_RIGHT_STICK_Y_AXIS;
319
- unsigned Gosu_GP_2_LEFT_TRIGGER_AXIS = Gosu::GP_2_LEFT_TRIGGER_AXIS;
320
- unsigned Gosu_GP_2_RIGHT_TRIGGER_AXIS = Gosu::GP_2_RIGHT_TRIGGER_AXIS;
321
-
322
- unsigned Gosu_GP_3_LEFT_STICK_X_AXIS = Gosu::GP_3_LEFT_STICK_Y_AXIS;
323
- unsigned Gosu_GP_3_LEFT_STICK_Y_AXIS = Gosu::GP_3_LEFT_STICK_Y_AXIS;
324
- unsigned Gosu_GP_3_RIGHT_STICK_X_AXIS = Gosu::GP_3_RIGHT_STICK_X_AXIS;
325
- unsigned Gosu_GP_3_RIGHT_STICK_Y_AXIS = Gosu::GP_3_RIGHT_STICK_Y_AXIS;
326
- unsigned Gosu_GP_3_LEFT_TRIGGER_AXIS = Gosu::GP_3_LEFT_TRIGGER_AXIS;
327
- unsigned Gosu_GP_3_RIGHT_TRIGGER_AXIS = Gosu::GP_3_RIGHT_TRIGGER_AXIS;
328
-
329
- unsigned Gosu_NUM_GAMEPADS = Gosu::NUM_GAMEPADS;
330
- unsigned Gosu_NO_BUTTON = Gosu::NO_BUTTON;
331
-
332
- #ifdef __cplusplus
333
- }
334
- #endif