raylib-bindings 0.0.2 → 0.0.3

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: f0cd840cc50f47aa49f65b47ec9c35e9f6f7648268e2dde03937ec6a75950b97
4
- data.tar.gz: 4ad3819641669fba5ecffed9f1bd1abc6c725b7de0a780eb1c440c1827f8611f
3
+ metadata.gz: 92d82d1bbcaa58cd9b78af0af353abfbc6954c3fb61510d8cebb2614cd57b3b9
4
+ data.tar.gz: 57d9a2e8ee59fd5734680e59300eb16d2e008063a71cd2cb4a7df36ac16e9972
5
5
  SHA512:
6
- metadata.gz: d2b482ba9d41dedec22f5a72e6b0ac78dc6303e013ae30d69a099b92269cea3b19b58704d19175f164590769c0b880b38f432c05405c711b94b9cf21d8b8fcc8
7
- data.tar.gz: 495ea0e289d317eec38478f9607112858fe7aa45833157907cfaa9fc6caeedfe74f498adeaa655b259b6b2e0d25764d8cf3863eb53debf0ef06f028f7cfdd736
6
+ metadata.gz: da1c9898a4e51506551d7f744468f188e03503975e770976ee6ed482f7a51c5d63f582d9861e39798b7bb53d867b98c69cbee7dcce6698a55a2a961616a39329
7
+ data.tar.gz: 4cba3315aca0485339dafe413d1769fe885a3fb6431e54e003f7a3737ea048dbbe5235116583690ebd6af918e5ffcd1562b9c4ee3a99a280f82cbe024202ac41
data/ChangeLog CHANGED
@@ -1,3 +1,12 @@
1
+ 2022-01-08 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * examples/raylib_opengl_interop.rb: Use opengl-bindings2
4
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/549ca669aa42462662a610ff240aa4d5736240e5 ) and raygui ( https://github.com/raysan5/raygui/commit/c7eb9268535298ee25be90739c86d1be215f53e5 )
5
+
6
+ 2022-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
7
+
8
+ * raylib-bindings.gemspec: Bump version
9
+
1
10
  2021-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
2
11
 
3
12
  * BoundingBox.create (lib/raylib.rb): Fixed wrong implementation
data/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Ruby-raylib : Yet another raylib wrapper for Ruby
2
- Copyright (c) 2021 vaiorabbit <http://twitter.com/vaiorabbit>
2
+ Copyright (c) 2021-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
  Provides latest [raylib](https://github.com/raysan5/raylib) API for Ruby
6
6
 
7
7
  * Created : 2021-10-17
8
- * Last modified : 2021-12-30
8
+ * Last modified : 2022-01-08
9
9
 
10
10
  ## Features ##
11
11
 
@@ -60,7 +60,7 @@ Shared libraries in `lib` directory are built on top of these products and are a
60
60
  All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
61
61
 
62
62
  Ruby-raylib : Yet another raylib wrapper for Ruby
63
- Copyright (c) 2021 vaiorabbit <http://twitter.com/vaiorabbit>
63
+ Copyright (c) 2021-2022 vaiorabbit <http://twitter.com/vaiorabbit>
64
64
 
65
65
  This software is provided 'as-is', without any express or implied
66
66
  warranty. In no event will the authors be held liable for any damages
Binary file
data/lib/raygui.dylib CHANGED
Binary file
data/lib/raylib_main.rb CHANGED
@@ -686,6 +686,7 @@ module Raylib
686
686
  :SetWindowMonitor,
687
687
  :SetWindowMinSize,
688
688
  :SetWindowSize,
689
+ :SetWindowOpacity,
689
690
  :GetWindowHandle,
690
691
  :GetScreenWidth,
691
692
  :GetScreenHeight,
@@ -994,6 +995,7 @@ module Raylib
994
995
  :GenImageFontAtlas,
995
996
  :UnloadFontData,
996
997
  :UnloadFont,
998
+ :ExportFontAsCode,
997
999
  :DrawFPS,
998
1000
  :DrawText,
999
1001
  :DrawTextEx,
@@ -1177,6 +1179,7 @@ module Raylib
1177
1179
  :SetWindowMonitor => [:int],
1178
1180
  :SetWindowMinSize => [:int, :int],
1179
1181
  :SetWindowSize => [:int, :int],
1182
+ :SetWindowOpacity => [:float],
1180
1183
  :GetWindowHandle => [],
1181
1184
  :GetScreenWidth => [],
1182
1185
  :GetScreenHeight => [],
@@ -1485,6 +1488,7 @@ module Raylib
1485
1488
  :GenImageFontAtlas => [:pointer, :pointer, :int, :int, :int, :int],
1486
1489
  :UnloadFontData => [:pointer, :int],
1487
1490
  :UnloadFont => [Font.by_value],
1491
+ :ExportFontAsCode => [Font.by_value, :pointer],
1488
1492
  :DrawFPS => [:int, :int],
1489
1493
  :DrawText => [:pointer, :int, :int, :int, Color.by_value],
1490
1494
  :DrawTextEx => [Font.by_value, :pointer, Vector2.by_value, :float, :float, Color.by_value],
@@ -1668,6 +1672,7 @@ module Raylib
1668
1672
  :SetWindowMonitor => :void,
1669
1673
  :SetWindowMinSize => :void,
1670
1674
  :SetWindowSize => :void,
1675
+ :SetWindowOpacity => :void,
1671
1676
  :GetWindowHandle => :pointer,
1672
1677
  :GetScreenWidth => :int,
1673
1678
  :GetScreenHeight => :int,
@@ -1976,6 +1981,7 @@ module Raylib
1976
1981
  :GenImageFontAtlas => Image.by_value,
1977
1982
  :UnloadFontData => :void,
1978
1983
  :UnloadFont => :void,
1984
+ :ExportFontAsCode => :bool,
1979
1985
  :DrawFPS => :void,
1980
1986
  :DrawText => :void,
1981
1987
  :DrawTextEx => :void,
metadata CHANGED
@@ -1,16 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raylib-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-01 00:00:00.000000000 Z
12
- dependencies: []
13
- description: 'Ruby bindings for SDL2.
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opengl-bindings2
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2'
41
+ description: 'Ruby bindings for Raylib ( https://github.com/raysan5/raylib ).
14
42
 
15
43
  '
16
44
  email:
@@ -55,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
83
  - !ruby/object:Gem::Version
56
84
  version: '0'
57
85
  requirements: []
58
- rubygems_version: 3.3.3
86
+ rubygems_version: 3.3.4
59
87
  signing_key:
60
88
  specification_version: 4
61
89
  summary: Provides latest raylib API for Ruby