gosu 0.7.45 → 0.7.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. data/COPYING +6 -11
  2. data/Gosu/{ButtonsWin.hpp → Buttons.hpp} +91 -4
  3. data/Gosu/ButtonsMac.hpp +91 -4
  4. data/Gosu/Graphics.hpp +10 -0
  5. data/Gosu/ImageData.hpp +1 -0
  6. data/Gosu/Input.hpp +2 -3
  7. data/Gosu/Version.hpp +2 -2
  8. data/Gosu/Window.hpp +1 -1
  9. data/GosuImpl/Audio/AudioToolboxFile.hpp +4 -0
  10. data/GosuImpl/Graphics/BitmapApple.mm +5 -11
  11. data/GosuImpl/Graphics/ClipRectStack.hpp +2 -2
  12. data/GosuImpl/Graphics/Common.hpp +1 -1
  13. data/GosuImpl/Graphics/DrawOpQueue.hpp +30 -29
  14. data/GosuImpl/Graphics/Graphics.cpp +2 -3
  15. data/GosuImpl/Graphics/TextMac.cpp +9 -5
  16. data/GosuImpl/Graphics/TextTouch.mm +8 -4
  17. data/GosuImpl/Graphics/Texture.cpp +4 -1
  18. data/GosuImpl/InputMac.mm +24 -45
  19. data/GosuImpl/InputX.cpp +25 -39
  20. data/GosuImpl/RubyGosu.swg +11 -0
  21. data/GosuImpl/RubyGosu_wrap.cxx +109 -40
  22. data/GosuImpl/RubyGosu_wrap.h +1 -1
  23. data/GosuImpl/TextInputWin.cpp +1 -1
  24. data/GosuImpl/TextInputX.cpp +3 -1
  25. data/GosuImpl/WinMain.cpp +3 -4
  26. data/GosuImpl/WindowMac.mm +83 -73
  27. data/GosuImpl/WindowWin.cpp +65 -58
  28. data/dependencies/libogg/AUTHORS +4 -0
  29. data/dependencies/libogg/CHANGES +70 -0
  30. data/dependencies/libogg/COPYING +28 -0
  31. data/dependencies/libogg/include/ogg/ogg.h +209 -0
  32. data/dependencies/libogg/include/ogg/os_types.h +147 -0
  33. data/dependencies/libogg/src/bitwise.c +857 -0
  34. data/dependencies/libogg/src/framing.c +2089 -0
  35. data/dependencies/libvorbis/AUTHORS +3 -0
  36. data/dependencies/libvorbis/CHANGES +126 -0
  37. data/dependencies/libvorbis/COPYING +28 -0
  38. data/dependencies/libvorbis/include/vorbis/codec.h +243 -0
  39. data/dependencies/libvorbis/include/vorbis/vorbisenc.h +436 -0
  40. data/dependencies/libvorbis/include/vorbis/vorbisfile.h +206 -0
  41. data/dependencies/libvorbis/lib/analysis.c +120 -0
  42. data/dependencies/libvorbis/lib/backends.h +144 -0
  43. data/dependencies/libvorbis/lib/barkmel.c +64 -0
  44. data/dependencies/libvorbis/lib/bitrate.c +253 -0
  45. data/dependencies/libvorbis/lib/bitrate.h +59 -0
  46. data/dependencies/libvorbis/lib/block.c +1046 -0
  47. data/dependencies/libvorbis/lib/books/coupled/res_books_51.h +12257 -0
  48. data/dependencies/libvorbis/lib/books/coupled/res_books_stereo.h +15783 -0
  49. data/dependencies/libvorbis/lib/books/floor/floor_books.h +1547 -0
  50. data/dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h +7758 -0
  51. data/dependencies/libvorbis/lib/codebook.c +479 -0
  52. data/dependencies/libvorbis/lib/codebook.h +119 -0
  53. data/dependencies/libvorbis/lib/codec_internal.h +167 -0
  54. data/dependencies/libvorbis/lib/envelope.c +375 -0
  55. data/dependencies/libvorbis/lib/envelope.h +80 -0
  56. data/dependencies/libvorbis/lib/floor0.c +222 -0
  57. data/dependencies/libvorbis/lib/floor1.c +1099 -0
  58. data/dependencies/libvorbis/lib/highlevel.h +58 -0
  59. data/dependencies/libvorbis/lib/info.c +664 -0
  60. data/dependencies/libvorbis/lib/lookup.c +94 -0
  61. data/dependencies/libvorbis/lib/lookup.h +32 -0
  62. data/dependencies/libvorbis/lib/lookup_data.h +192 -0
  63. data/dependencies/libvorbis/lib/lpc.c +160 -0
  64. data/dependencies/libvorbis/lib/lpc.h +29 -0
  65. data/dependencies/libvorbis/lib/lsp.c +456 -0
  66. data/dependencies/libvorbis/lib/lsp.h +28 -0
  67. data/dependencies/libvorbis/lib/mapping0.c +816 -0
  68. data/dependencies/libvorbis/lib/masking.h +785 -0
  69. data/dependencies/libvorbis/lib/mdct.c +563 -0
  70. data/dependencies/libvorbis/lib/mdct.h +71 -0
  71. data/dependencies/libvorbis/lib/misc.h +57 -0
  72. data/dependencies/libvorbis/lib/modes/floor_all.h +260 -0
  73. data/dependencies/libvorbis/lib/modes/psych_11.h +51 -0
  74. data/dependencies/libvorbis/lib/modes/psych_16.h +133 -0
  75. data/dependencies/libvorbis/lib/modes/psych_44.h +642 -0
  76. data/dependencies/libvorbis/lib/modes/psych_8.h +101 -0
  77. data/dependencies/libvorbis/lib/modes/residue_16.h +163 -0
  78. data/dependencies/libvorbis/lib/modes/residue_44.h +292 -0
  79. data/dependencies/libvorbis/lib/modes/residue_44p51.h +451 -0
  80. data/dependencies/libvorbis/lib/modes/residue_44u.h +318 -0
  81. data/dependencies/libvorbis/lib/modes/residue_8.h +109 -0
  82. data/dependencies/libvorbis/lib/modes/setup_11.h +143 -0
  83. data/dependencies/libvorbis/lib/modes/setup_16.h +153 -0
  84. data/dependencies/libvorbis/lib/modes/setup_22.h +128 -0
  85. data/dependencies/libvorbis/lib/modes/setup_32.h +132 -0
  86. data/dependencies/libvorbis/lib/modes/setup_44.h +117 -0
  87. data/dependencies/libvorbis/lib/modes/setup_44p51.h +74 -0
  88. data/dependencies/libvorbis/lib/modes/setup_44u.h +74 -0
  89. data/dependencies/libvorbis/lib/modes/setup_8.h +149 -0
  90. data/dependencies/libvorbis/lib/modes/setup_X.h +225 -0
  91. data/dependencies/libvorbis/lib/os.h +186 -0
  92. data/dependencies/libvorbis/lib/psy.c +1203 -0
  93. data/dependencies/libvorbis/lib/psy.h +154 -0
  94. data/dependencies/libvorbis/lib/psytune.c +524 -0
  95. data/dependencies/libvorbis/lib/registry.c +45 -0
  96. data/dependencies/libvorbis/lib/registry.h +32 -0
  97. data/dependencies/libvorbis/lib/res0.c +889 -0
  98. data/dependencies/libvorbis/lib/scales.h +90 -0
  99. data/dependencies/libvorbis/lib/sharedbook.c +579 -0
  100. data/dependencies/libvorbis/lib/smallft.c +1255 -0
  101. data/dependencies/libvorbis/lib/smallft.h +34 -0
  102. data/dependencies/libvorbis/lib/synthesis.c +184 -0
  103. data/dependencies/libvorbis/lib/tone.c +54 -0
  104. data/dependencies/libvorbis/lib/vorbisenc.c +1215 -0
  105. data/dependencies/libvorbis/lib/vorbisfile.c +2337 -0
  106. data/dependencies/libvorbis/lib/window.c +2135 -0
  107. data/dependencies/libvorbis/lib/window.h +26 -0
  108. data/dependencies/ogg_vorbis.license +28 -0
  109. data/lib/gosu/swig_patches.rb +2 -2
  110. data/linux/extconf.rb +17 -3
  111. metadata +96 -17
  112. data/Gosu/ButtonsX.hpp +0 -141
  113. data/GosuImpl/Audio/AudioSDL.cpp +0 -315
@@ -0,0 +1,26 @@
1
+ /********************************************************************
2
+ * *
3
+ * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7
+ * *
8
+ * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9
+ * by the Xiph.Org Foundation http://www.xiph.org/ *
10
+ * *
11
+ ********************************************************************
12
+
13
+ function: window functions
14
+ last mod: $Id: window.h 13293 2007-07-24 00:09:47Z xiphmont $
15
+
16
+ ********************************************************************/
17
+
18
+ #ifndef _V_WINDOW_
19
+ #define _V_WINDOW_
20
+
21
+ extern float *_vorbis_window_get(int n);
22
+ extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
23
+ int lW,int W,int nW);
24
+
25
+
26
+ #endif
@@ -0,0 +1,28 @@
1
+ May contain `ogg', `vorbis' libraries (c) 2002-2008 Xiph.org Foundation
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions
5
+ are met:
6
+
7
+ - Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+
10
+ - Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ - Neither the name of the Xiph.org Foundation nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
22
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -27,8 +27,8 @@ class Gosu::Window
27
27
  end
28
28
 
29
29
  def gl(*args, &block)
30
- $gosu_blocks ||= []
31
- $gosu_blocks << block
30
+ $gosu_gl_blocks ||= []
31
+ $gosu_gl_blocks << block
32
32
  unsafe_gl(*args, &block)
33
33
  end
34
34
 
@@ -58,19 +58,32 @@ LINUX_FILES = %w(
58
58
  WindowX.cpp
59
59
  )
60
60
 
61
+ OGG_VORBIS_FILES = Dir['../dependencies/libogg/src/*.c'] +
62
+ Dir['../dependencies/libvorbis/lib/vorbisfile.c'] +
63
+ %w(analysis bitrate block codebook envelope floor0 floor1
64
+ info lookup lpc lsp mapping0 mdct psy registry res0
65
+ sharedbook smallft synthesis window).map do |basename|
66
+ "../dependencies/libvorbis/lib/#{basename}.c"
67
+ end
68
+
61
69
  require 'mkmf'
62
70
  require 'fileutils'
63
71
 
64
72
  $INCFLAGS << " -I../ -I../GosuImpl"
65
73
 
66
74
  if `uname`.chomp == 'Darwin' then
67
- SOURCE_FILES = BASE_FILES + MAC_FILES
75
+ SOURCE_FILES = BASE_FILES + MAC_FILES + OGG_VORBIS_FILES
68
76
 
69
77
  # Apple curiously distributes libpng only inside X11
70
78
  $INCFLAGS << " -I/usr/X11/include"
79
+ # Use included libogg, libvorbis to make Gosu easier to install on OS X
80
+ $INCFLAGS << " -I../dependencies/libogg/include"
81
+ $INCFLAGS << " -I../dependencies/libvorbis/include"
82
+ $INCFLAGS << " -I../dependencies/libvorbis/lib"
71
83
  # To make everything work with the Objective C runtime
72
- $CFLAGS << " -x objective-c++ -fobjc-gc -DNDEBUG"
73
- $LDFLAGS << " -L/usr/X11/lib -logg -lvorbis -lvorbisfile -liconv"
84
+ $CFLAGS << " -x objective-c -fobjc-gc -DNDEBUG"
85
+ CONFIG['CXXFLAGS'] = "#{CONFIG['CXXFLAGS']} -x objective-c++" # cheat a little here
86
+ $LDFLAGS << " -L/usr/X11/lib -liconv"
74
87
  %w(AudioToolbox IOKit OpenAL OpenGL AppKit ApplicationServices Foundation Carbon).each do |f|
75
88
  $LDFLAGS << " -framework #{f}"
76
89
  end
@@ -88,6 +101,7 @@ else
88
101
  pkg_config("sdl")
89
102
  pkg_config("pangoft2")
90
103
  pkg_config("x11")
104
+ pkg_config("xinerama")
91
105
 
92
106
  pkg_config("gl")
93
107
  pkg_config("vorbisfile")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 89
4
+ hash: 95
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 45
10
- version: 0.7.45
9
+ - 46
10
+ version: 0.7.46
11
11
  platform: ruby
12
12
  authors:
13
13
  - Julian Raschke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-19 00:00:00 Z
18
+ date: 2013-03-31 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: " 2D game development library.\n\n Gosu features easy to use and game-friendly interfaces to 2D graphics\n and text (accelerated by 3D hardware), sound samples and music as well as\n keyboard, mouse and gamepad/joystick input.\n\n Also includes demos for integration with RMagick, Chipmunk and OpenGL.\n"
@@ -34,9 +34,8 @@ files:
34
34
  - Gosu/Audio.hpp
35
35
  - Gosu/AutoLink.hpp
36
36
  - Gosu/Bitmap.hpp
37
+ - Gosu/Buttons.hpp
37
38
  - Gosu/ButtonsMac.hpp
38
- - Gosu/ButtonsWin.hpp
39
- - Gosu/ButtonsX.hpp
40
39
  - Gosu/Color.hpp
41
40
  - Gosu/Directories.hpp
42
41
  - Gosu/Font.hpp
@@ -44,28 +43,28 @@ files:
44
43
  - Gosu/Gosu.hpp
45
44
  - Gosu/Graphics.hpp
46
45
  - Gosu/GraphicsBase.hpp
46
+ - Gosu/IO.hpp
47
47
  - Gosu/Image.hpp
48
48
  - Gosu/ImageData.hpp
49
49
  - Gosu/Input.hpp
50
50
  - Gosu/Inspection.hpp
51
- - Gosu/IO.hpp
52
51
  - Gosu/Math.hpp
53
52
  - Gosu/Platform.hpp
54
53
  - Gosu/Sockets.hpp
54
+ - Gosu/TR1.hpp
55
55
  - Gosu/Text.hpp
56
56
  - Gosu/TextInput.hpp
57
57
  - Gosu/Timing.hpp
58
- - Gosu/TR1.hpp
59
58
  - Gosu/Utility.hpp
60
59
  - Gosu/Version.hpp
61
- - Gosu/Window.hpp
62
60
  - Gosu/WinUtility.hpp
61
+ - Gosu/Window.hpp
62
+ - lib/gosu.rb
63
63
  - lib/gosu/patches.rb
64
64
  - lib/gosu/preview.rb
65
65
  - lib/gosu/run.rb
66
66
  - lib/gosu/swig_patches.rb
67
67
  - lib/gosu/zen.rb
68
- - lib/gosu.rb
69
68
  - examples/ChipmunkIntegration.rb
70
69
  - examples/CptnRuby.rb
71
70
  - examples/GosuZen.rb
@@ -99,7 +98,6 @@ files:
99
98
  - GosuImpl/Audio/AudioFile.hpp
100
99
  - GosuImpl/Audio/AudioOpenAL.cpp
101
100
  - GosuImpl/Audio/AudioOpenAL.mm
102
- - GosuImpl/Audio/AudioSDL.cpp
103
101
  - GosuImpl/Audio/AudioToolboxFile.hpp
104
102
  - GosuImpl/Audio/OggFile.hpp
105
103
  - GosuImpl/Audio/SndFile.hpp
@@ -137,14 +135,15 @@ files:
137
135
  - GosuImpl/Graphics/TexChunk.hpp
138
136
  - GosuImpl/Graphics/Text.cpp
139
137
  - GosuImpl/Graphics/TextMac.cpp
140
- - GosuImpl/Graphics/TextTouch.mm
141
138
  - GosuImpl/Graphics/TextTTFWin.cpp
139
+ - GosuImpl/Graphics/TextTouch.mm
142
140
  - GosuImpl/Graphics/TextUnix.cpp
141
+ - GosuImpl/Graphics/TextWin.cpp
143
142
  - GosuImpl/Graphics/Texture.cpp
144
143
  - GosuImpl/Graphics/Texture.hpp
145
- - GosuImpl/Graphics/TextWin.cpp
146
144
  - GosuImpl/Graphics/Transform.cpp
147
145
  - GosuImpl/Graphics/TransformStack.hpp
146
+ - GosuImpl/IO.cpp
148
147
  - GosuImpl/Iconv.hpp
149
148
  - GosuImpl/Input/AccelerometerReader.hpp
150
149
  - GosuImpl/Input/AccelerometerReader.mm
@@ -153,18 +152,17 @@ files:
153
152
  - GosuImpl/InputWin.cpp
154
153
  - GosuImpl/InputX.cpp
155
154
  - GosuImpl/Inspection.cpp
156
- - GosuImpl/IO.cpp
157
155
  - GosuImpl/MacUtility.hpp
158
156
  - GosuImpl/Math.cpp
159
157
  - GosuImpl/Orientation.hpp
160
158
  - GosuImpl/Orientation.mm
161
159
  - GosuImpl/RubyGosu.swg
160
+ - GosuImpl/RubyGosuStub.mm
162
161
  - GosuImpl/RubyGosu_SWIG_GC_PATCH.patch
163
162
  - GosuImpl/RubyGosu_SWIG_RENAME_PATCH.patch
164
163
  - GosuImpl/RubyGosu_SWIG_TYPE_PATCH.patch
165
164
  - GosuImpl/RubyGosu_wrap.cxx
166
165
  - GosuImpl/RubyGosu_wrap.h
167
- - GosuImpl/RubyGosuStub.mm
168
166
  - GosuImpl/Sockets/CommSocket.cpp
169
167
  - GosuImpl/Sockets/ListenerSocket.cpp
170
168
  - GosuImpl/Sockets/MessageSocket.cpp
@@ -179,14 +177,95 @@ files:
179
177
  - GosuImpl/Utility.cpp
180
178
  - GosuImpl/UtilityApple.mm
181
179
  - GosuImpl/UtilityWin.cpp
180
+ - GosuImpl/WinMain.cpp
181
+ - GosuImpl/WinUtility.cpp
182
182
  - GosuImpl/WindowMac.mm
183
183
  - GosuImpl/WindowTouch.mm
184
184
  - GosuImpl/WindowWin.cpp
185
185
  - GosuImpl/WindowX.cpp
186
- - GosuImpl/WinMain.cpp
187
- - GosuImpl/WinUtility.cpp
188
186
  - GosuImpl/X11vroot.h
189
187
  - linux/extconf.rb
188
+ - dependencies/libogg/AUTHORS
189
+ - dependencies/libogg/CHANGES
190
+ - dependencies/libogg/COPYING
191
+ - dependencies/libogg/include/ogg/ogg.h
192
+ - dependencies/libogg/include/ogg/os_types.h
193
+ - dependencies/libogg/src/bitwise.c
194
+ - dependencies/libogg/src/framing.c
195
+ - dependencies/libvorbis/AUTHORS
196
+ - dependencies/libvorbis/CHANGES
197
+ - dependencies/libvorbis/COPYING
198
+ - dependencies/libvorbis/include/vorbis/codec.h
199
+ - dependencies/libvorbis/include/vorbis/vorbisenc.h
200
+ - dependencies/libvorbis/include/vorbis/vorbisfile.h
201
+ - dependencies/libvorbis/lib/analysis.c
202
+ - dependencies/libvorbis/lib/backends.h
203
+ - dependencies/libvorbis/lib/barkmel.c
204
+ - dependencies/libvorbis/lib/bitrate.c
205
+ - dependencies/libvorbis/lib/bitrate.h
206
+ - dependencies/libvorbis/lib/block.c
207
+ - dependencies/libvorbis/lib/books/coupled/res_books_51.h
208
+ - dependencies/libvorbis/lib/books/coupled/res_books_stereo.h
209
+ - dependencies/libvorbis/lib/books/floor/floor_books.h
210
+ - dependencies/libvorbis/lib/books/uncoupled/res_books_uncoupled.h
211
+ - dependencies/libvorbis/lib/codebook.c
212
+ - dependencies/libvorbis/lib/codebook.h
213
+ - dependencies/libvorbis/lib/codec_internal.h
214
+ - dependencies/libvorbis/lib/envelope.c
215
+ - dependencies/libvorbis/lib/envelope.h
216
+ - dependencies/libvorbis/lib/floor0.c
217
+ - dependencies/libvorbis/lib/floor1.c
218
+ - dependencies/libvorbis/lib/highlevel.h
219
+ - dependencies/libvorbis/lib/info.c
220
+ - dependencies/libvorbis/lib/lookup.c
221
+ - dependencies/libvorbis/lib/lookup.h
222
+ - dependencies/libvorbis/lib/lookup_data.h
223
+ - dependencies/libvorbis/lib/lpc.c
224
+ - dependencies/libvorbis/lib/lpc.h
225
+ - dependencies/libvorbis/lib/lsp.c
226
+ - dependencies/libvorbis/lib/lsp.h
227
+ - dependencies/libvorbis/lib/mapping0.c
228
+ - dependencies/libvorbis/lib/masking.h
229
+ - dependencies/libvorbis/lib/mdct.c
230
+ - dependencies/libvorbis/lib/mdct.h
231
+ - dependencies/libvorbis/lib/misc.h
232
+ - dependencies/libvorbis/lib/modes/floor_all.h
233
+ - dependencies/libvorbis/lib/modes/psych_11.h
234
+ - dependencies/libvorbis/lib/modes/psych_16.h
235
+ - dependencies/libvorbis/lib/modes/psych_44.h
236
+ - dependencies/libvorbis/lib/modes/psych_8.h
237
+ - dependencies/libvorbis/lib/modes/residue_16.h
238
+ - dependencies/libvorbis/lib/modes/residue_44.h
239
+ - dependencies/libvorbis/lib/modes/residue_44p51.h
240
+ - dependencies/libvorbis/lib/modes/residue_44u.h
241
+ - dependencies/libvorbis/lib/modes/residue_8.h
242
+ - dependencies/libvorbis/lib/modes/setup_11.h
243
+ - dependencies/libvorbis/lib/modes/setup_16.h
244
+ - dependencies/libvorbis/lib/modes/setup_22.h
245
+ - dependencies/libvorbis/lib/modes/setup_32.h
246
+ - dependencies/libvorbis/lib/modes/setup_44.h
247
+ - dependencies/libvorbis/lib/modes/setup_44p51.h
248
+ - dependencies/libvorbis/lib/modes/setup_44u.h
249
+ - dependencies/libvorbis/lib/modes/setup_8.h
250
+ - dependencies/libvorbis/lib/modes/setup_X.h
251
+ - dependencies/libvorbis/lib/os.h
252
+ - dependencies/libvorbis/lib/psy.c
253
+ - dependencies/libvorbis/lib/psy.h
254
+ - dependencies/libvorbis/lib/psytune.c
255
+ - dependencies/libvorbis/lib/registry.c
256
+ - dependencies/libvorbis/lib/registry.h
257
+ - dependencies/libvorbis/lib/res0.c
258
+ - dependencies/libvorbis/lib/scales.h
259
+ - dependencies/libvorbis/lib/sharedbook.c
260
+ - dependencies/libvorbis/lib/smallft.c
261
+ - dependencies/libvorbis/lib/smallft.h
262
+ - dependencies/libvorbis/lib/synthesis.c
263
+ - dependencies/libvorbis/lib/tone.c
264
+ - dependencies/libvorbis/lib/vorbisenc.c
265
+ - dependencies/libvorbis/lib/vorbisfile.c
266
+ - dependencies/libvorbis/lib/window.c
267
+ - dependencies/libvorbis/lib/window.h
268
+ - dependencies/ogg_vorbis.license
190
269
  homepage: http://www.libgosu.org/
191
270
  licenses: []
192
271
 
@@ -1,141 +0,0 @@
1
- #ifndef GOSU_BUTTONSX_HPP
2
- #define GOSU_BUTTONSX_HPP
3
-
4
- namespace Gosu
5
- {
6
- //! List of button ids that can be used with Gosu::Input.
7
- //! This enumeration contains ids for keyboard keys (kb*),
8
- //! mouse buttons and mouse wheel (ms*) and gamepad buttons (gp*).
9
- enum ButtonName
10
- {
11
- kbRangeBegin = 0x00,
12
- kbA = 'a',
13
- kbB = 'b',
14
- kbC = 'c',
15
- kbD = 'd',
16
- kbE = 'e',
17
- kbF = 'f',
18
- kbG = 'g',
19
- kbH = 'h',
20
- kbI = 'i',
21
- kbJ = 'j',
22
- kbK = 'k',
23
- kbL = 'l',
24
- kbM = 'm',
25
- kbN = 'n',
26
- kbO = 'o',
27
- kbP = 'p',
28
- kbQ = 'q',
29
- kbR = 'r',
30
- kbS = 's',
31
- kbT = 't',
32
- kbU = 'u',
33
- kbV = 'v',
34
- kbW = 'w',
35
- kbX = 'x',
36
- kbY = 'y',
37
- kbZ = 'z',
38
- kbEscape = XK_Escape,
39
- kbF1 = XK_F1,
40
- kbF2 = XK_F2,
41
- kbF3 = XK_F3,
42
- kbF4 = XK_F4,
43
- kbF5 = XK_F5,
44
- kbF6 = XK_F6,
45
- kbF7 = XK_F7,
46
- kbF8 = XK_F8,
47
- kbF9 = XK_F9,
48
- kbF10 = XK_F10,
49
- kbF11 = XK_F11,
50
- kbF12 = XK_F12,
51
- kb1 = XK_1,
52
- kb2 = XK_2,
53
- kb3 = XK_3,
54
- kb4 = XK_4,
55
- kb5 = XK_5,
56
- kb6 = XK_6,
57
- kb7 = XK_7,
58
- kb8 = XK_8,
59
- kb9 = XK_9,
60
- kb0 = XK_0,
61
- kbTab = XK_Tab,
62
- kbReturn = XK_Return,
63
- kbSpace = XK_space,
64
- kbLeftShift = XK_Shift_L,
65
- kbRightShift = XK_Shift_R,
66
- kbLeftControl = XK_Control_L,
67
- kbRightControl = XK_Control_R,
68
- kbLeftAlt = XK_Alt_L,
69
- kbRightAlt = XK_Alt_R,
70
- kbLeftMeta = XK_Meta_L,
71
- kbRightMeta = XK_Meta_R,
72
- kbBackspace = XK_BackSpace,
73
- kbLeft = XK_Left,
74
- kbRight = XK_Right,
75
- kbUp = XK_Up,
76
- kbDown = XK_Down,
77
- kbHome = XK_Home,
78
- kbEnd = XK_End,
79
- kbInsert = XK_Insert,
80
- kbDelete = XK_Delete,
81
- kbPageUp = XK_Prior,
82
- kbPageDown = XK_Next,
83
- kbEnter = XK_KP_Enter,
84
- kbNumpad1 = XK_KP_1,
85
- kbNumpad2 = XK_KP_2,
86
- kbNumpad3 = XK_KP_3,
87
- kbNumpad4 = XK_KP_4,
88
- kbNumpad5 = XK_KP_5,
89
- kbNumpad6 = XK_KP_6,
90
- kbNumpad7 = XK_KP_7,
91
- kbNumpad8 = XK_KP_8,
92
- kbNumpad9 = XK_KP_9,
93
- kbNumpad0 = XK_KP_0,
94
- kbNumpadAdd = XK_KP_Add,
95
- kbNumpadSubtract = XK_KP_Subtract,
96
- kbNumpadMultiply = XK_KP_Multiply,
97
- kbNumpadDivide = XK_KP_Divide,
98
- kbRangeEnd = 0xffff,
99
-
100
- msRangeBegin,
101
- msLeft = msRangeBegin,
102
- msRight,
103
- msMiddle,
104
- msWheelUp,
105
- msWheelDown,
106
- msRangeEnd,
107
-
108
- gpRangeBegin,
109
- gpLeft = gpRangeBegin,
110
- gpRight,
111
- gpUp,
112
- gpDown,
113
- gpButton0,
114
- gpButton1,
115
- gpButton2,
116
- gpButton3,
117
- gpButton4,
118
- gpButton5,
119
- gpButton6,
120
- gpButton7,
121
- gpButton8,
122
- gpButton9,
123
- gpButton10,
124
- gpButton11,
125
- gpButton12,
126
- gpButton13,
127
- gpButton14,
128
- gpButton15,
129
- gpRangeEnd = gpButton15,
130
-
131
- kbNum = kbRangeEnd - kbRangeBegin + 1,
132
- msNum = msRangeEnd - msRangeBegin + 1,
133
- gpNum = gpRangeEnd - gpRangeBegin + 1,
134
-
135
- numButtons = gpRangeEnd,
136
- noButton = 0xffffffff
137
- };
138
- }
139
-
140
- #endif
141
-