sdl2-win93 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.dir-locals.el +2 -0
- data/.github/workflows/gempush.yml +29 -0
- data/.gitignore +14 -0
- data/COPYING.txt +165 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +24 -0
- data/Makefile +4 -0
- data/README.md +36 -0
- data/Rakefile +51 -0
- data/doc/po/ja.po +10357 -0
- data/ext/sdl2_ext/clipboard.c +61 -0
- data/ext/sdl2_ext/color.c +103 -0
- data/ext/sdl2_ext/color.h +4 -0
- data/ext/sdl2_ext/event.c +1298 -0
- data/ext/sdl2_ext/extconf.rb +22 -0
- data/ext/sdl2_ext/filesystem.c +63 -0
- data/ext/sdl2_ext/gamecontroller.c +408 -0
- data/ext/sdl2_ext/gamecontroller.c.m4 +408 -0
- data/ext/sdl2_ext/gl.c +351 -0
- data/ext/sdl2_ext/gl.c.m4 +351 -0
- data/ext/sdl2_ext/hint.c +99 -0
- data/ext/sdl2_ext/joystick.c +339 -0
- data/ext/sdl2_ext/joystick.c.m4 +339 -0
- data/ext/sdl2_ext/key.c +1302 -0
- data/ext/sdl2_ext/key.c.m4 +833 -0
- data/ext/sdl2_ext/main.c +258 -0
- data/ext/sdl2_ext/messagebox.c +233 -0
- data/ext/sdl2_ext/mixer.c +1205 -0
- data/ext/sdl2_ext/mixer.c.m4 +1205 -0
- data/ext/sdl2_ext/mouse.c +286 -0
- data/ext/sdl2_ext/rubysdl2_internal.h +127 -0
- data/ext/sdl2_ext/timer.c +63 -0
- data/ext/sdl2_ext/ttf.c +376 -0
- data/ext/sdl2_ext/ttf.c.m4 +376 -0
- data/ext/sdl2_ext/video.c +4093 -0
- data/ext/sdl2_ext/video.c.m4 +3867 -0
- data/lib/sdl2.rb +3 -0
- data/lib/sdl2/event.rb +55 -0
- data/lib/sdl2/version.rb +8 -0
- data/sample/chunk_destroy.rb +16 -0
- data/sample/gfxprimitives.rb +54 -0
- data/sample/icon.bmp +0 -0
- data/sample/memory_test/m1.rb +28 -0
- data/sample/memory_test/m2.rb +18 -0
- data/sample/memory_test/m3.rb +12 -0
- data/sample/message_box.rb +33 -0
- data/sample/music_player.rb +137 -0
- data/sample/playwave.rb +19 -0
- data/sample/primitives.rb +32 -0
- data/sample/test_clipboard.rb +16 -0
- data/sample/test_controller.rb +62 -0
- data/sample/test_joystick.rb +53 -0
- data/sample/test_keyboard.rb +52 -0
- data/sample/test_mouse.rb +50 -0
- data/sample/test_surface.rb +13 -0
- data/sample/test_ttf.rb +82 -0
- data/sample/test_video.rb +59 -0
- data/sample/testgl.rb +175 -0
- data/sample/testsprite.rb +296 -0
- data/sample/testspriteminimal.rb +75 -0
- data/sample/timer.rb +11 -0
- data/sample/version.rb +12 -0
- data/sample/video_info.rb +64 -0
- data/sdl2-win93.gemspec +31 -0
- metadata +158 -0
data/sdl2-win93.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'sdl2/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "sdl2-win93"
|
9
|
+
spec.version = SDL2::VERSION
|
10
|
+
spec.summary = "[Fork of ruby-sdl2 gem] SDL2 library wrapper"
|
11
|
+
spec.description = <<-EOS
|
12
|
+
Ruby/SDL2 is an extension library to use SDL 2.x
|
13
|
+
(Simple DirectMedia Layer). SDL 2.x is quite refined
|
14
|
+
from SDL 1.x and API is changed.
|
15
|
+
This library enables you to control audio, keyboard,
|
16
|
+
mouse, joystick, 3D hardware via OpenGL, and 2D video
|
17
|
+
using opengl or Direct3D.
|
18
|
+
Ruby/SDL is used for games and visual demos.
|
19
|
+
EOS
|
20
|
+
spec.license = "LGPL-3.0"
|
21
|
+
spec.authors = ["Alex Gittemeier", "furunkel", "Ippei Obayashi"]
|
22
|
+
spec.email = "gittemeier.alex@gmail.com"
|
23
|
+
spec.homepage = "https://github.com/win93/ruby-sdl2"
|
24
|
+
spec.files = `git ls-files`.split(/\n/)
|
25
|
+
spec.test_files = []
|
26
|
+
spec.extensions = ["ext/sdl2_ext/extconf.rb"]
|
27
|
+
|
28
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
29
|
+
spec.add_development_dependency "rake-compiler", "~> 0.9"
|
30
|
+
spec.add_development_dependency "yard", "~> 0.8"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sdl2-win93
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alex Gittemeier
|
8
|
+
- furunkel
|
9
|
+
- Ippei Obayashi
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2020-07-05 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '10.0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '10.0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rake-compiler
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0.9'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.9'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: yard
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0.8'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0.8'
|
57
|
+
description: |2
|
58
|
+
Ruby/SDL2 is an extension library to use SDL 2.x
|
59
|
+
(Simple DirectMedia Layer). SDL 2.x is quite refined
|
60
|
+
from SDL 1.x and API is changed.
|
61
|
+
This library enables you to control audio, keyboard,
|
62
|
+
mouse, joystick, 3D hardware via OpenGL, and 2D video
|
63
|
+
using opengl or Direct3D.
|
64
|
+
Ruby/SDL is used for games and visual demos.
|
65
|
+
email: gittemeier.alex@gmail.com
|
66
|
+
executables: []
|
67
|
+
extensions:
|
68
|
+
- ext/sdl2_ext/extconf.rb
|
69
|
+
extra_rdoc_files: []
|
70
|
+
files:
|
71
|
+
- ".dir-locals.el"
|
72
|
+
- ".github/workflows/gempush.yml"
|
73
|
+
- ".gitignore"
|
74
|
+
- COPYING.txt
|
75
|
+
- Gemfile
|
76
|
+
- Gemfile.lock
|
77
|
+
- Makefile
|
78
|
+
- README.md
|
79
|
+
- Rakefile
|
80
|
+
- doc/po/ja.po
|
81
|
+
- ext/sdl2_ext/clipboard.c
|
82
|
+
- ext/sdl2_ext/color.c
|
83
|
+
- ext/sdl2_ext/color.h
|
84
|
+
- ext/sdl2_ext/event.c
|
85
|
+
- ext/sdl2_ext/extconf.rb
|
86
|
+
- ext/sdl2_ext/filesystem.c
|
87
|
+
- ext/sdl2_ext/gamecontroller.c
|
88
|
+
- ext/sdl2_ext/gamecontroller.c.m4
|
89
|
+
- ext/sdl2_ext/gl.c
|
90
|
+
- ext/sdl2_ext/gl.c.m4
|
91
|
+
- ext/sdl2_ext/hint.c
|
92
|
+
- ext/sdl2_ext/joystick.c
|
93
|
+
- ext/sdl2_ext/joystick.c.m4
|
94
|
+
- ext/sdl2_ext/key.c
|
95
|
+
- ext/sdl2_ext/key.c.m4
|
96
|
+
- ext/sdl2_ext/main.c
|
97
|
+
- ext/sdl2_ext/messagebox.c
|
98
|
+
- ext/sdl2_ext/mixer.c
|
99
|
+
- ext/sdl2_ext/mixer.c.m4
|
100
|
+
- ext/sdl2_ext/mouse.c
|
101
|
+
- ext/sdl2_ext/rubysdl2_internal.h
|
102
|
+
- ext/sdl2_ext/timer.c
|
103
|
+
- ext/sdl2_ext/ttf.c
|
104
|
+
- ext/sdl2_ext/ttf.c.m4
|
105
|
+
- ext/sdl2_ext/video.c
|
106
|
+
- ext/sdl2_ext/video.c.m4
|
107
|
+
- lib/sdl2.rb
|
108
|
+
- lib/sdl2/event.rb
|
109
|
+
- lib/sdl2/version.rb
|
110
|
+
- sample/chunk_destroy.rb
|
111
|
+
- sample/gfxprimitives.rb
|
112
|
+
- sample/icon.bmp
|
113
|
+
- sample/memory_test/m1.rb
|
114
|
+
- sample/memory_test/m2.rb
|
115
|
+
- sample/memory_test/m3.rb
|
116
|
+
- sample/message_box.rb
|
117
|
+
- sample/music_player.rb
|
118
|
+
- sample/playwave.rb
|
119
|
+
- sample/primitives.rb
|
120
|
+
- sample/test_clipboard.rb
|
121
|
+
- sample/test_controller.rb
|
122
|
+
- sample/test_joystick.rb
|
123
|
+
- sample/test_keyboard.rb
|
124
|
+
- sample/test_mouse.rb
|
125
|
+
- sample/test_surface.rb
|
126
|
+
- sample/test_ttf.rb
|
127
|
+
- sample/test_video.rb
|
128
|
+
- sample/testgl.rb
|
129
|
+
- sample/testsprite.rb
|
130
|
+
- sample/testspriteminimal.rb
|
131
|
+
- sample/timer.rb
|
132
|
+
- sample/version.rb
|
133
|
+
- sample/video_info.rb
|
134
|
+
- sdl2-win93.gemspec
|
135
|
+
homepage: https://github.com/win93/ruby-sdl2
|
136
|
+
licenses:
|
137
|
+
- LGPL-3.0
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubygems_version: 3.0.3
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: "[Fork of ruby-sdl2 gem] SDL2 library wrapper"
|
158
|
+
test_files: []
|