gosu 0.14.0.pre2-x64-mingw32 → 0.14.0.pre3-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gosu/compat.rb +11 -4
- data/lib/gosu/patches.rb +13 -0
- data/lib64/2.3/gosu.so +0 -0
- data/lib64/2.4/gosu.so +0 -0
- data/lib64/2.5/gosu.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1e104783e7a6d6ca2dc10224d05a497f41bd8d97bb45f72fe04d467d616427f
|
4
|
+
data.tar.gz: c9a037ac5559b6cf6efe4541d294ac6d71271a1682985eea639b9310332ac46d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f971c362e695a3a012a6f19a2c036c2850d7c52b670d3171967443a151d48e9af8da7090d2bc3cac71766d16865d1c29b06b03aafce8f2da2a41e42d58631dc8
|
7
|
+
data.tar.gz: 90b620df9339c85d0568f4663c0382bbf285658a0a243a7a46da7f0a283b8a6bdb3cbefcefa11627523fca3ca393bedc8a7d6fabf0728757c1425a9b55f814d3
|
data/lib/gosu/compat.rb
CHANGED
@@ -129,7 +129,15 @@ class Gosu::Song
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
|
132
|
+
class Gosu::Font
|
133
|
+
def draw_rot(markup, x, y, z, angle, scale_x = 1, scale_y = 1, c = 0xff_ffffff, mode = :default)
|
134
|
+
Gosu.rotate(angle, x, y) { draw_markup(markup, x, y, z, scale_x, scale_y, c, mode) }
|
135
|
+
end
|
136
|
+
|
137
|
+
Gosu.deprecate Gosu::Font, :draw_rot, "Font#draw with Gosu.rotate"
|
138
|
+
end
|
139
|
+
|
140
|
+
# Moved some Window methods to the Gosu module.
|
133
141
|
class Gosu::Window
|
134
142
|
# Class methods that have been turned into module methods.
|
135
143
|
class << self
|
@@ -151,13 +159,12 @@ class Gosu::Window
|
|
151
159
|
Gosu.send method, *args, &block
|
152
160
|
end
|
153
161
|
end
|
162
|
+
|
163
|
+
Gosu.deprecate Gosu::Window, :set_mouse_position, "Window#mouse_x= and Window#mouse_y="
|
154
164
|
end
|
155
165
|
|
156
166
|
# Constants
|
157
167
|
module Gosu
|
158
|
-
Gosu.deprecate Window, :set_mouse_position, "Window#mouse_x= and Window#mouse_y="
|
159
|
-
Gosu.deprecate Font, :draw_rot, "Font#draw with Gosu.rotate"
|
160
|
-
|
161
168
|
# This was renamed because it's not actually a "copyright notice".
|
162
169
|
# (https://en.wikipedia.org/wiki/Copyright_notice)
|
163
170
|
deprecate_const :GOSU_COPYRIGHT_NOTICE, :LICENSES
|
data/lib/gosu/patches.rb
CHANGED
@@ -18,6 +18,19 @@ class ::Numeric
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
+
class Gosu::Font
|
22
|
+
alias_method :draw, :draw_markup
|
23
|
+
# draw_text will stop parsing markup in Gosu 1.0.
|
24
|
+
alias_method :draw_text, :draw_markup
|
25
|
+
end
|
26
|
+
|
27
|
+
class Gosu::Image
|
28
|
+
# from_markup will stop parsing markup in Gosu 1.0.
|
29
|
+
def self.from_markup(*args)
|
30
|
+
self.from_text(*args)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
21
34
|
# Color constants.
|
22
35
|
# This is cleaner than having SWIG define them.
|
23
36
|
module Gosu
|
data/lib64/2.3/gosu.so
CHANGED
Binary file
|
data/lib64/2.4/gosu.so
CHANGED
Binary file
|
data/lib64/2.5/gosu.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gosu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.0.
|
4
|
+
version: 0.14.0.pre3
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Julian Raschke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|