rubygl 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +1 -1
- data/ext/macosx/{SDL2.framework/SDL2 → SDL2} +0 -0
- data/lib/rubygl.rb +1 -1
- data/rubygl.gemspec +1 -1
- metadata +2 -171
- data/ext/macosx/SDL2.framework/Headers/SDL.h +0 -163
- data/ext/macosx/SDL2.framework/Headers/SDL_assert.h +0 -284
- data/ext/macosx/SDL2.framework/Headers/SDL_atomic.h +0 -260
- data/ext/macosx/SDL2.framework/Headers/SDL_audio.h +0 -506
- data/ext/macosx/SDL2.framework/Headers/SDL_bits.h +0 -97
- data/ext/macosx/SDL2.framework/Headers/SDL_blendmode.h +0 -63
- data/ext/macosx/SDL2.framework/Headers/SDL_clipboard.h +0 -71
- data/ext/macosx/SDL2.framework/Headers/SDL_config.h +0 -55
- data/ext/macosx/SDL2.framework/Headers/SDL_config_macosx.h +0 -184
- data/ext/macosx/SDL2.framework/Headers/SDL_copying.h +0 -20
- data/ext/macosx/SDL2.framework/Headers/SDL_cpuinfo.h +0 -156
- data/ext/macosx/SDL2.framework/Headers/SDL_endian.h +0 -239
- data/ext/macosx/SDL2.framework/Headers/SDL_error.h +0 -76
- data/ext/macosx/SDL2.framework/Headers/SDL_events.h +0 -723
- data/ext/macosx/SDL2.framework/Headers/SDL_filesystem.h +0 -136
- data/ext/macosx/SDL2.framework/Headers/SDL_gamecontroller.h +0 -316
- data/ext/macosx/SDL2.framework/Headers/SDL_gesture.h +0 -87
- data/ext/macosx/SDL2.framework/Headers/SDL_haptic.h +0 -1225
- data/ext/macosx/SDL2.framework/Headers/SDL_hints.h +0 -517
- data/ext/macosx/SDL2.framework/Headers/SDL_joystick.h +0 -253
- data/ext/macosx/SDL2.framework/Headers/SDL_keyboard.h +0 -217
- data/ext/macosx/SDL2.framework/Headers/SDL_keycode.h +0 -341
- data/ext/macosx/SDL2.framework/Headers/SDL_loadso.h +0 -81
- data/ext/macosx/SDL2.framework/Headers/SDL_log.h +0 -211
- data/ext/macosx/SDL2.framework/Headers/SDL_main.h +0 -155
- data/ext/macosx/SDL2.framework/Headers/SDL_messagebox.h +0 -144
- data/ext/macosx/SDL2.framework/Headers/SDL_mouse.h +0 -224
- data/ext/macosx/SDL2.framework/Headers/SDL_mutex.h +0 -251
- data/ext/macosx/SDL2.framework/Headers/SDL_name.h +0 -33
- data/ext/macosx/SDL2.framework/Headers/SDL_opengl.h +0 -11126
- data/ext/macosx/SDL2.framework/Headers/SDL_opengles.h +0 -38
- data/ext/macosx/SDL2.framework/Headers/SDL_opengles2.h +0 -2790
- data/ext/macosx/SDL2.framework/Headers/SDL_pixels.h +0 -429
- data/ext/macosx/SDL2.framework/Headers/SDL_platform.h +0 -164
- data/ext/macosx/SDL2.framework/Headers/SDL_power.h +0 -75
- data/ext/macosx/SDL2.framework/Headers/SDL_quit.h +0 -58
- data/ext/macosx/SDL2.framework/Headers/SDL_rect.h +0 -138
- data/ext/macosx/SDL2.framework/Headers/SDL_render.h +0 -870
- data/ext/macosx/SDL2.framework/Headers/SDL_revision.h +0 -2
- data/ext/macosx/SDL2.framework/Headers/SDL_rwops.h +0 -232
- data/ext/macosx/SDL2.framework/Headers/SDL_scancode.h +0 -401
- data/ext/macosx/SDL2.framework/Headers/SDL_shape.h +0 -143
- data/ext/macosx/SDL2.framework/Headers/SDL_stdinc.h +0 -405
- data/ext/macosx/SDL2.framework/Headers/SDL_surface.h +0 -503
- data/ext/macosx/SDL2.framework/Headers/SDL_system.h +0 -191
- data/ext/macosx/SDL2.framework/Headers/SDL_syswm.h +0 -272
- data/ext/macosx/SDL2.framework/Headers/SDL_thread.h +0 -287
- data/ext/macosx/SDL2.framework/Headers/SDL_timer.h +0 -115
- data/ext/macosx/SDL2.framework/Headers/SDL_touch.h +0 -86
- data/ext/macosx/SDL2.framework/Headers/SDL_types.h +0 -29
- data/ext/macosx/SDL2.framework/Headers/SDL_version.h +0 -162
- data/ext/macosx/SDL2.framework/Headers/SDL_video.h +0 -979
- data/ext/macosx/SDL2.framework/Headers/begin_code.h +0 -140
- data/ext/macosx/SDL2.framework/Headers/close_code.h +0 -37
- data/ext/macosx/SDL2.framework/Resources/Info.plist +0 -42
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL.h +0 -163
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_assert.h +0 -284
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_atomic.h +0 -260
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_audio.h +0 -506
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_bits.h +0 -97
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_blendmode.h +0 -63
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_clipboard.h +0 -71
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config.h +0 -55
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h +0 -184
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_copying.h +0 -20
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h +0 -156
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_endian.h +0 -239
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_error.h +0 -76
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_events.h +0 -723
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_filesystem.h +0 -136
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h +0 -316
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gesture.h +0 -87
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_haptic.h +0 -1225
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_hints.h +0 -517
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_joystick.h +0 -253
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keyboard.h +0 -217
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keycode.h +0 -341
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_loadso.h +0 -81
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_log.h +0 -211
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_main.h +0 -155
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_messagebox.h +0 -144
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mouse.h +0 -224
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mutex.h +0 -251
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_name.h +0 -33
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengl.h +0 -11126
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles.h +0 -38
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles2.h +0 -2790
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_pixels.h +0 -429
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_platform.h +0 -164
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_power.h +0 -75
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_quit.h +0 -58
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rect.h +0 -138
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_render.h +0 -870
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_revision.h +0 -2
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rwops.h +0 -232
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_scancode.h +0 -401
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_shape.h +0 -143
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_stdinc.h +0 -405
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_surface.h +0 -503
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_system.h +0 -191
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_syswm.h +0 -272
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_thread.h +0 -287
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_timer.h +0 -115
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_touch.h +0 -86
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_types.h +0 -29
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_version.h +0 -162
- data/ext/macosx/SDL2.framework/Versions/A/Headers/SDL_video.h +0 -979
- data/ext/macosx/SDL2.framework/Versions/A/Headers/begin_code.h +0 -140
- data/ext/macosx/SDL2.framework/Versions/A/Headers/close_code.h +0 -37
- data/ext/macosx/SDL2.framework/Versions/A/Resources/Info.plist +0 -42
- data/ext/macosx/SDL2.framework/Versions/A/SDL2 +0 -0
- data/ext/macosx/SDL2.framework/Versions/A/_CodeSignature/CodeResources +0 -331
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL.h +0 -163
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_assert.h +0 -284
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_atomic.h +0 -260
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_audio.h +0 -506
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_bits.h +0 -97
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_blendmode.h +0 -63
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_clipboard.h +0 -71
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config.h +0 -55
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config_macosx.h +0 -184
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_copying.h +0 -20
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_cpuinfo.h +0 -156
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_endian.h +0 -239
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_error.h +0 -76
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_events.h +0 -723
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_filesystem.h +0 -136
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gamecontroller.h +0 -316
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gesture.h +0 -87
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_haptic.h +0 -1225
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_hints.h +0 -517
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_joystick.h +0 -253
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keyboard.h +0 -217
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keycode.h +0 -341
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_loadso.h +0 -81
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_log.h +0 -211
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_main.h +0 -155
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_messagebox.h +0 -144
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mouse.h +0 -224
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mutex.h +0 -251
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_name.h +0 -33
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengl.h +0 -11126
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles.h +0 -38
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles2.h +0 -2790
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_pixels.h +0 -429
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_platform.h +0 -164
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_power.h +0 -75
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_quit.h +0 -58
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rect.h +0 -138
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_render.h +0 -870
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_revision.h +0 -2
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rwops.h +0 -232
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_scancode.h +0 -401
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_shape.h +0 -143
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_stdinc.h +0 -405
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_surface.h +0 -503
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_system.h +0 -191
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_syswm.h +0 -272
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_thread.h +0 -287
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_timer.h +0 -115
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_touch.h +0 -86
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_types.h +0 -29
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_version.h +0 -162
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_video.h +0 -979
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/begin_code.h +0 -140
- data/ext/macosx/SDL2.framework/Versions/Current/Headers/close_code.h +0 -37
- data/ext/macosx/SDL2.framework/Versions/Current/Resources/Info.plist +0 -42
- data/ext/macosx/SDL2.framework/Versions/Current/SDL2 +0 -0
- data/ext/macosx/SDL2.framework/Versions/Current/_CodeSignature/CodeResources +0 -331
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTAzODk5MThmNjhiNGI2YTk0ZWEwNGNlZjAzMzU4ZDJjYjI4MzU5Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGMxZjMwZWQ3MTlhYzYzNzQxMGYyZjFkYzc5ZTYzMzI1NzFmMTY2OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTkzMWU5ZDMzODg2MGQzNTQwNWQ5Njc1NTEyNTE1ZjQ5YTlhMTBiOWU2Yzhj
|
10
|
+
NGI2NWIxODBmMjRmY2NhNGRjYjcxNGU2N2VjOTRlMWEyNzkxZDJlNTU1N2Nk
|
11
|
+
YWM1MTkzYjVjYWZlMWQzZTA0OGQ3OWQ3ZDEzYTUwMDZiZWQ4NmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTI4NWY4MmFiOWNiN2Q5YmE2YjQyZTRmMzI0YThhM2RkMjMyMWM4OGM5ZTZl
|
14
|
+
MzQ4ODgyMTgzNmUxYTAxZGM0OTNkMDZiMTkwZmIxNDEzYjA3Y2IwNmEzYzky
|
15
|
+
Njk4YzRmZTEyZWQ5OTZjZTM0ZTAzNTVkYTFmOTcwNDVlNGUzODI=
|
data/Rakefile
CHANGED
@@ -54,7 +54,7 @@ task :build do
|
|
54
54
|
-shared -L#{SDL_LIB} -lSDL2main -lSDL2"
|
55
55
|
elsif os == :macosx
|
56
56
|
sh "gcc -o ext/macosx/RubyGL.so #{files.join('.o ') << '.o'} \
|
57
|
-
-shared -
|
57
|
+
-shared -F#{SDL_LIB} -framework SDL2"
|
58
58
|
else
|
59
59
|
abort("No Library Build Command For Current OS")
|
60
60
|
end
|
File without changes
|
data/lib/rubygl.rb
CHANGED
@@ -34,7 +34,7 @@ module RubyGL
|
|
34
34
|
ffi_lib relative_path("../ext/windows/SDL2.dll")
|
35
35
|
ffi_lib relative_path("../ext/windows/RubyGL.so")
|
36
36
|
elsif os == :macosx
|
37
|
-
ffi_lib relative_path("../ext/macosx/SDL2
|
37
|
+
ffi_lib relative_path("../ext/macosx/SDL2")
|
38
38
|
ffi_lib relative_path("../ext/macosx/RubyGL.so")
|
39
39
|
else
|
40
40
|
abort("Current OS Not Supported")
|
data/rubygl.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Miller
|
@@ -46,176 +46,7 @@ files:
|
|
46
46
|
- examples/instanced_example.rb
|
47
47
|
- examples/phong_example.rb
|
48
48
|
- ext/macosx/RubyGL.so
|
49
|
-
- ext/macosx/SDL2
|
50
|
-
- ext/macosx/SDL2.framework/Headers/SDL_assert.h
|
51
|
-
- ext/macosx/SDL2.framework/Headers/SDL_atomic.h
|
52
|
-
- ext/macosx/SDL2.framework/Headers/SDL_audio.h
|
53
|
-
- ext/macosx/SDL2.framework/Headers/SDL_bits.h
|
54
|
-
- ext/macosx/SDL2.framework/Headers/SDL_blendmode.h
|
55
|
-
- ext/macosx/SDL2.framework/Headers/SDL_clipboard.h
|
56
|
-
- ext/macosx/SDL2.framework/Headers/SDL_config.h
|
57
|
-
- ext/macosx/SDL2.framework/Headers/SDL_config_macosx.h
|
58
|
-
- ext/macosx/SDL2.framework/Headers/SDL_copying.h
|
59
|
-
- ext/macosx/SDL2.framework/Headers/SDL_cpuinfo.h
|
60
|
-
- ext/macosx/SDL2.framework/Headers/SDL_endian.h
|
61
|
-
- ext/macosx/SDL2.framework/Headers/SDL_error.h
|
62
|
-
- ext/macosx/SDL2.framework/Headers/SDL_events.h
|
63
|
-
- ext/macosx/SDL2.framework/Headers/SDL_filesystem.h
|
64
|
-
- ext/macosx/SDL2.framework/Headers/SDL_gamecontroller.h
|
65
|
-
- ext/macosx/SDL2.framework/Headers/SDL_gesture.h
|
66
|
-
- ext/macosx/SDL2.framework/Headers/SDL_haptic.h
|
67
|
-
- ext/macosx/SDL2.framework/Headers/SDL_hints.h
|
68
|
-
- ext/macosx/SDL2.framework/Headers/SDL_joystick.h
|
69
|
-
- ext/macosx/SDL2.framework/Headers/SDL_keyboard.h
|
70
|
-
- ext/macosx/SDL2.framework/Headers/SDL_keycode.h
|
71
|
-
- ext/macosx/SDL2.framework/Headers/SDL_loadso.h
|
72
|
-
- ext/macosx/SDL2.framework/Headers/SDL_log.h
|
73
|
-
- ext/macosx/SDL2.framework/Headers/SDL_main.h
|
74
|
-
- ext/macosx/SDL2.framework/Headers/SDL_messagebox.h
|
75
|
-
- ext/macosx/SDL2.framework/Headers/SDL_mouse.h
|
76
|
-
- ext/macosx/SDL2.framework/Headers/SDL_mutex.h
|
77
|
-
- ext/macosx/SDL2.framework/Headers/SDL_name.h
|
78
|
-
- ext/macosx/SDL2.framework/Headers/SDL_opengl.h
|
79
|
-
- ext/macosx/SDL2.framework/Headers/SDL_opengles.h
|
80
|
-
- ext/macosx/SDL2.framework/Headers/SDL_opengles2.h
|
81
|
-
- ext/macosx/SDL2.framework/Headers/SDL_pixels.h
|
82
|
-
- ext/macosx/SDL2.framework/Headers/SDL_platform.h
|
83
|
-
- ext/macosx/SDL2.framework/Headers/SDL_power.h
|
84
|
-
- ext/macosx/SDL2.framework/Headers/SDL_quit.h
|
85
|
-
- ext/macosx/SDL2.framework/Headers/SDL_rect.h
|
86
|
-
- ext/macosx/SDL2.framework/Headers/SDL_render.h
|
87
|
-
- ext/macosx/SDL2.framework/Headers/SDL_revision.h
|
88
|
-
- ext/macosx/SDL2.framework/Headers/SDL_rwops.h
|
89
|
-
- ext/macosx/SDL2.framework/Headers/SDL_scancode.h
|
90
|
-
- ext/macosx/SDL2.framework/Headers/SDL_shape.h
|
91
|
-
- ext/macosx/SDL2.framework/Headers/SDL_stdinc.h
|
92
|
-
- ext/macosx/SDL2.framework/Headers/SDL_surface.h
|
93
|
-
- ext/macosx/SDL2.framework/Headers/SDL_system.h
|
94
|
-
- ext/macosx/SDL2.framework/Headers/SDL_syswm.h
|
95
|
-
- ext/macosx/SDL2.framework/Headers/SDL_thread.h
|
96
|
-
- ext/macosx/SDL2.framework/Headers/SDL_timer.h
|
97
|
-
- ext/macosx/SDL2.framework/Headers/SDL_touch.h
|
98
|
-
- ext/macosx/SDL2.framework/Headers/SDL_types.h
|
99
|
-
- ext/macosx/SDL2.framework/Headers/SDL_version.h
|
100
|
-
- ext/macosx/SDL2.framework/Headers/SDL_video.h
|
101
|
-
- ext/macosx/SDL2.framework/Headers/begin_code.h
|
102
|
-
- ext/macosx/SDL2.framework/Headers/close_code.h
|
103
|
-
- ext/macosx/SDL2.framework/Resources/Info.plist
|
104
|
-
- ext/macosx/SDL2.framework/SDL2
|
105
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL.h
|
106
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_assert.h
|
107
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_atomic.h
|
108
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_audio.h
|
109
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_bits.h
|
110
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_blendmode.h
|
111
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_clipboard.h
|
112
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config.h
|
113
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h
|
114
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_copying.h
|
115
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h
|
116
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_endian.h
|
117
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_error.h
|
118
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_events.h
|
119
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_filesystem.h
|
120
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h
|
121
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_gesture.h
|
122
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_haptic.h
|
123
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_hints.h
|
124
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_joystick.h
|
125
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keyboard.h
|
126
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_keycode.h
|
127
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_loadso.h
|
128
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_log.h
|
129
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_main.h
|
130
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_messagebox.h
|
131
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mouse.h
|
132
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_mutex.h
|
133
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_name.h
|
134
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengl.h
|
135
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles.h
|
136
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_opengles2.h
|
137
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_pixels.h
|
138
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_platform.h
|
139
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_power.h
|
140
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_quit.h
|
141
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rect.h
|
142
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_render.h
|
143
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_revision.h
|
144
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_rwops.h
|
145
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_scancode.h
|
146
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_shape.h
|
147
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_stdinc.h
|
148
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_surface.h
|
149
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_system.h
|
150
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_syswm.h
|
151
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_thread.h
|
152
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_timer.h
|
153
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_touch.h
|
154
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_types.h
|
155
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_version.h
|
156
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/SDL_video.h
|
157
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/begin_code.h
|
158
|
-
- ext/macosx/SDL2.framework/Versions/A/Headers/close_code.h
|
159
|
-
- ext/macosx/SDL2.framework/Versions/A/Resources/Info.plist
|
160
|
-
- ext/macosx/SDL2.framework/Versions/A/SDL2
|
161
|
-
- ext/macosx/SDL2.framework/Versions/A/_CodeSignature/CodeResources
|
162
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL.h
|
163
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_assert.h
|
164
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_atomic.h
|
165
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_audio.h
|
166
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_bits.h
|
167
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_blendmode.h
|
168
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_clipboard.h
|
169
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config.h
|
170
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_config_macosx.h
|
171
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_copying.h
|
172
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_cpuinfo.h
|
173
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_endian.h
|
174
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_error.h
|
175
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_events.h
|
176
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_filesystem.h
|
177
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gamecontroller.h
|
178
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_gesture.h
|
179
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_haptic.h
|
180
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_hints.h
|
181
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_joystick.h
|
182
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keyboard.h
|
183
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_keycode.h
|
184
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_loadso.h
|
185
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_log.h
|
186
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_main.h
|
187
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_messagebox.h
|
188
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mouse.h
|
189
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_mutex.h
|
190
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_name.h
|
191
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengl.h
|
192
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles.h
|
193
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_opengles2.h
|
194
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_pixels.h
|
195
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_platform.h
|
196
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_power.h
|
197
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_quit.h
|
198
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rect.h
|
199
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_render.h
|
200
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_revision.h
|
201
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_rwops.h
|
202
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_scancode.h
|
203
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_shape.h
|
204
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_stdinc.h
|
205
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_surface.h
|
206
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_system.h
|
207
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_syswm.h
|
208
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_thread.h
|
209
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_timer.h
|
210
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_touch.h
|
211
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_types.h
|
212
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_version.h
|
213
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/SDL_video.h
|
214
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/begin_code.h
|
215
|
-
- ext/macosx/SDL2.framework/Versions/Current/Headers/close_code.h
|
216
|
-
- ext/macosx/SDL2.framework/Versions/Current/Resources/Info.plist
|
217
|
-
- ext/macosx/SDL2.framework/Versions/Current/SDL2
|
218
|
-
- ext/macosx/SDL2.framework/Versions/Current/_CodeSignature/CodeResources
|
49
|
+
- ext/macosx/SDL2
|
219
50
|
- ext/windows/RubyGL.so
|
220
51
|
- ext/windows/SDL2.dll
|
221
52
|
- lib/rubygl.rb
|
@@ -1,163 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Simple DirectMedia Layer
|
3
|
-
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
|
4
|
-
|
5
|
-
This software is provided 'as-is', without any express or implied
|
6
|
-
warranty. In no event will the authors be held liable for any damages
|
7
|
-
arising from the use of this software.
|
8
|
-
|
9
|
-
Permission is granted to anyone to use this software for any purpose,
|
10
|
-
including commercial applications, and to alter it and redistribute it
|
11
|
-
freely, subject to the following restrictions:
|
12
|
-
|
13
|
-
1. The origin of this software must not be misrepresented; you must not
|
14
|
-
claim that you wrote the original software. If you use this software
|
15
|
-
in a product, an acknowledgment in the product documentation would be
|
16
|
-
appreciated but is not required.
|
17
|
-
2. Altered source versions must be plainly marked as such, and must not be
|
18
|
-
misrepresented as being the original software.
|
19
|
-
3. This notice may not be removed or altered from any source distribution.
|
20
|
-
*/
|
21
|
-
|
22
|
-
/**
|
23
|
-
* \file SDL.h
|
24
|
-
*
|
25
|
-
* Main include header for the SDL library
|
26
|
-
*/
|
27
|
-
|
28
|
-
/**
|
29
|
-
* \mainpage Simple DirectMedia Layer (SDL)
|
30
|
-
*
|
31
|
-
* http://www.libsdl.org/
|
32
|
-
*
|
33
|
-
* \section intro_sec Introduction
|
34
|
-
*
|
35
|
-
* Simple DirectMedia Layer is a cross-platform development library designed
|
36
|
-
* to provide low level access to audio, keyboard, mouse, joystick, and
|
37
|
-
* graphics hardware via OpenGL and Direct3D. It is used by video playback
|
38
|
-
* software, emulators, and popular games including Valve's award winning
|
39
|
-
* catalog and many Humble Bundle games.
|
40
|
-
*
|
41
|
-
* SDL officially supports Windows, Mac OS X, Linux, iOS, and Android.
|
42
|
-
* Support for other platforms may be found in the source code.
|
43
|
-
*
|
44
|
-
* SDL is written in C, works natively with C++, and there are bindings
|
45
|
-
* available for several other languages, including C# and Python.
|
46
|
-
*
|
47
|
-
* This library is distributed under the zlib license, which can be found
|
48
|
-
* in the file "COPYING.txt".
|
49
|
-
*
|
50
|
-
* The best way to learn how to use SDL is to check out the header files in
|
51
|
-
* the "include" subdirectory and the programs in the "test" subdirectory.
|
52
|
-
* The header files and test programs are well commented and always up to date.
|
53
|
-
* More documentation and FAQs are available online at:
|
54
|
-
* http://wiki.libsdl.org/
|
55
|
-
*
|
56
|
-
* If you need help with the library, or just want to discuss SDL related
|
57
|
-
* issues, you can join the developers mailing list:
|
58
|
-
* http://www.libsdl.org/mailing-list.php
|
59
|
-
*
|
60
|
-
* Enjoy!
|
61
|
-
* Sam Lantinga (slouken@libsdl.org)
|
62
|
-
*/
|
63
|
-
|
64
|
-
#ifndef _SDL_H
|
65
|
-
#define _SDL_H
|
66
|
-
|
67
|
-
#include "SDL_main.h"
|
68
|
-
#include "SDL_stdinc.h"
|
69
|
-
#include "SDL_assert.h"
|
70
|
-
#include "SDL_atomic.h"
|
71
|
-
#include "SDL_audio.h"
|
72
|
-
#include "SDL_clipboard.h"
|
73
|
-
#include "SDL_cpuinfo.h"
|
74
|
-
#include "SDL_endian.h"
|
75
|
-
#include "SDL_error.h"
|
76
|
-
#include "SDL_events.h"
|
77
|
-
#include "SDL_filesystem.h"
|
78
|
-
#include "SDL_joystick.h"
|
79
|
-
#include "SDL_gamecontroller.h"
|
80
|
-
#include "SDL_haptic.h"
|
81
|
-
#include "SDL_hints.h"
|
82
|
-
#include "SDL_loadso.h"
|
83
|
-
#include "SDL_log.h"
|
84
|
-
#include "SDL_messagebox.h"
|
85
|
-
#include "SDL_mutex.h"
|
86
|
-
#include "SDL_power.h"
|
87
|
-
#include "SDL_render.h"
|
88
|
-
#include "SDL_rwops.h"
|
89
|
-
#include "SDL_system.h"
|
90
|
-
#include "SDL_thread.h"
|
91
|
-
#include "SDL_timer.h"
|
92
|
-
#include "SDL_version.h"
|
93
|
-
#include "SDL_video.h"
|
94
|
-
|
95
|
-
#include "begin_code.h"
|
96
|
-
/* Set up for C function definitions, even when using C++ */
|
97
|
-
#ifdef __cplusplus
|
98
|
-
extern "C" {
|
99
|
-
#endif
|
100
|
-
|
101
|
-
/* As of version 0.5, SDL is loaded dynamically into the application */
|
102
|
-
|
103
|
-
/**
|
104
|
-
* \name SDL_INIT_*
|
105
|
-
*
|
106
|
-
* These are the flags which may be passed to SDL_Init(). You should
|
107
|
-
* specify the subsystems which you will be using in your application.
|
108
|
-
*/
|
109
|
-
/* @{ */
|
110
|
-
#define SDL_INIT_TIMER 0x00000001
|
111
|
-
#define SDL_INIT_AUDIO 0x00000010
|
112
|
-
#define SDL_INIT_VIDEO 0x00000020 /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
|
113
|
-
#define SDL_INIT_JOYSTICK 0x00000200 /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */
|
114
|
-
#define SDL_INIT_HAPTIC 0x00001000
|
115
|
-
#define SDL_INIT_GAMECONTROLLER 0x00002000 /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK */
|
116
|
-
#define SDL_INIT_EVENTS 0x00004000
|
117
|
-
#define SDL_INIT_NOPARACHUTE 0x00100000 /**< Don't catch fatal signals */
|
118
|
-
#define SDL_INIT_EVERYTHING ( \
|
119
|
-
SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
|
120
|
-
SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER \
|
121
|
-
)
|
122
|
-
/* @} */
|
123
|
-
|
124
|
-
/**
|
125
|
-
* This function initializes the subsystems specified by \c flags
|
126
|
-
* Unless the ::SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
|
127
|
-
* signal handlers for some commonly ignored fatal signals (like SIGSEGV).
|
128
|
-
*/
|
129
|
-
extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
|
130
|
-
|
131
|
-
/**
|
132
|
-
* This function initializes specific SDL subsystems
|
133
|
-
*/
|
134
|
-
extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
|
135
|
-
|
136
|
-
/**
|
137
|
-
* This function cleans up specific SDL subsystems
|
138
|
-
*/
|
139
|
-
extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
|
140
|
-
|
141
|
-
/**
|
142
|
-
* This function returns a mask of the specified subsystems which have
|
143
|
-
* previously been initialized.
|
144
|
-
*
|
145
|
-
* If \c flags is 0, it returns a mask of all initialized subsystems.
|
146
|
-
*/
|
147
|
-
extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
|
148
|
-
|
149
|
-
/**
|
150
|
-
* This function cleans up all initialized subsystems. You should
|
151
|
-
* call it upon all exit conditions.
|
152
|
-
*/
|
153
|
-
extern DECLSPEC void SDLCALL SDL_Quit(void);
|
154
|
-
|
155
|
-
/* Ends C function definitions when using C++ */
|
156
|
-
#ifdef __cplusplus
|
157
|
-
}
|
158
|
-
#endif
|
159
|
-
#include "close_code.h"
|
160
|
-
|
161
|
-
#endif /* _SDL_H */
|
162
|
-
|
163
|
-
/* vi: set ts=4 sw=4 expandtab: */
|