sdl2-bindings 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35079ab7c6bbfd35b26fdaeb404263532c8076897bbdaae87252f4c7eb752ba6
4
- data.tar.gz: ebb622ab9b6693acc19c70cd110365a1f3e546f7cdb60a1f63033324b86b769b
3
+ metadata.gz: 3aa038a92985398667d1d1b1801b582d5e7e24045153e3b33587f388501b15ad
4
+ data.tar.gz: 270593949ed10ce5fd47be33c601204b8e7b38330c59656fd2fc2881c6c62a80
5
5
  SHA512:
6
- metadata.gz: 62cb6b497ffb2a3b07485280698c74ab8caf4823449cc8958334373596a9dd18a019a6ffe8619beb19009a23fdda32ec2585859d6430911686204e4f03aac4a6
7
- data.tar.gz: 031fec3cd69850e0cdab203e2facc931d7fe75b1cb1c7753c8a514fa6d694410490c595d8f808868ba96fe6af87f86838c5f6e37aa43a797f6b742e1d7e26a03
6
+ metadata.gz: 6733bf63d418e81a7e34c9889693f6c6a599a0a38af6acbedcb40736882c67f9469e852740b4aca559c1d52f9862dcf704f01b8ee5dd0594a80a718143ac2977
7
+ data.tar.gz: 3a37c4182fa1f80fe6ae2e92f702b21625319d27a3b70c1262976b42a616917e68621169b8e6acf58a23938cff502f0103784cebad374f128f4fe66e8412ecdf
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2022-01-11 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Added SDL 2.0.20 features ( https://github.com/libsdl-org/SDL/releases/tag/release-2.0.20 )
4
+
1
5
  2021-12-02 vaiorabbit <http://twitter.com/vaiorabbit>
2
6
 
3
7
  * Added SDL 2.0.18 features ( https://github.com/libsdl-org/SDL/releases/tag/release-2.0.18 )
data/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  sdl2-bindings : Yet another SDL2 wrapper for Ruby
2
- Copyright (c) 2015-2021 vaiorabbit <http://twitter.com/vaiorabbit>
2
+ Copyright (c) 2015-2022 vaiorabbit <http://twitter.com/vaiorabbit>
3
3
 
4
4
  This software is provided 'as-is', without any express or implied
5
5
  warranty. In no event will the authors be held liable for any damages
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [Notice] Experimental project.
6
6
 
7
7
  * Created : 2015-09-19
8
- * Last modified : 2021-12-02
8
+ * Last modified : 2022-01-11
9
9
 
10
10
  ## Features ##
11
11
 
@@ -36,13 +36,15 @@
36
36
  * macOS Big Sur (11.5), ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin20]
37
37
  * [2021-12-02] SDL 2.0.18 (Installed via Homebrew)
38
38
  * macOS Big Sur (11.6), ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
39
+ * [2022-01-11] SDL 2.0.20
40
+ * macOS Monterey (12.1), ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
39
41
 
40
42
  ## License ##
41
43
 
42
44
  The zlib/libpng License ( http://opensource.org/licenses/Zlib ).
43
45
 
44
46
  sdl2-bindings : Yet another SDL2 wrapper for Ruby
45
- Copyright (c) 2015-2021 vaiorabbit <http://twitter.com/vaiorabbit>
47
+ Copyright (c) 2015-2022 vaiorabbit <http://twitter.com/vaiorabbit>
46
48
 
47
49
  This software is provided 'as-is', without any express or implied
48
50
  warranty. In no event will the authors be held liable for any damages
data/lib/sdl2_hints.rb CHANGED
@@ -86,6 +86,7 @@ module SDL2
86
86
  SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION = "SDL_QTWAYLAND_CONTENT_ORIENTATION"
87
87
  SDL_HINT_QTWAYLAND_WINDOW_FLAGS = "SDL_QTWAYLAND_WINDOW_FLAGS"
88
88
  SDL_HINT_RENDER_BATCHING = "SDL_RENDER_BATCHING"
89
+ SDL_HINT_RENDER_LINE_METHOD = "SDL_RENDER_LINE_METHOD"
89
90
  SDL_HINT_RENDER_DIRECT3D11_DEBUG = "SDL_RENDER_DIRECT3D11_DEBUG"
90
91
  SDL_HINT_RENDER_DIRECT3D_THREADSAFE = "SDL_RENDER_DIRECT3D_THREADSAFE"
91
92
  SDL_HINT_RENDER_DRIVER = "SDL_RENDER_DRIVER"
data/lib/sdl2_syswm.rb CHANGED
@@ -11,6 +11,7 @@ module SDL2
11
11
  extend FFI::Library
12
12
  # Define/Macro
13
13
 
14
+ SDL_METALVIEW_TAG = 255
14
15
 
15
16
  # Enum
16
17
 
data/lib/sdl2_touch.rb CHANGED
@@ -10,8 +10,8 @@ module SDL2
10
10
  extend FFI::Library
11
11
  # Define/Macro
12
12
 
13
- SDL_TOUCH_MOUSEID = ( -1 )
14
- SDL_MOUSE_TOUCHID = ( -1 )
13
+ SDL_TOUCH_MOUSEID = -1
14
+ SDL_MOUSE_TOUCHID = -1
15
15
 
16
16
  # Enum
17
17
 
data/lib/sdl2_version.rb CHANGED
@@ -12,7 +12,7 @@ module SDL2
12
12
 
13
13
  SDL_MAJOR_VERSION = 2
14
14
  SDL_MINOR_VERSION = 0
15
- SDL_PATCHLEVEL = 18
15
+ SDL_PATCHLEVEL = 20
16
16
 
17
17
  # Enum
18
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdl2-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Ruby bindings for SDL2.
14
14
 
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.2.22
89
+ rubygems_version: 3.3.4
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Bindings for SDL2