gosu 0.7.22-i386-mingw32 → 0.7.23-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/CptnRuby.rb +8 -9
- data/lib/gosu.for_1_8.so +0 -0
- data/lib/gosu.for_1_9.so +0 -0
- data/lib/gosu.rb +0 -0
- data/lib/gosu/swig_patches.rb +0 -12
- metadata +5 -5
data/examples/CptnRuby.rb
CHANGED
@@ -25,15 +25,14 @@
|
|
25
25
|
# ...Enemies, a more sophisticated object system, weapons, title and credits
|
26
26
|
# screens...
|
27
27
|
|
28
|
-
|
29
|
-
#
|
30
|
-
|
31
|
-
|
32
|
-
#
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
# require 'gosu'
|
28
|
+
begin
|
29
|
+
# In case you use Gosu via rubygems.
|
30
|
+
require 'rubygems'
|
31
|
+
rescue LoadError
|
32
|
+
# In case you don't.
|
33
|
+
end
|
34
|
+
|
35
|
+
require 'gosu'
|
37
36
|
include Gosu
|
38
37
|
|
39
38
|
module Tiles
|
data/lib/gosu.for_1_8.so
CHANGED
Binary file
|
data/lib/gosu.for_1_9.so
CHANGED
Binary file
|
data/lib/gosu.rb
CHANGED
File without changes
|
data/lib/gosu/swig_patches.rb
CHANGED
@@ -7,15 +7,3 @@ class Gosu::Image
|
|
7
7
|
args.size == 4 ? from_text4(*args) : from_text7(*args)
|
8
8
|
end
|
9
9
|
end
|
10
|
-
|
11
|
-
# Linux workaround: instead of declaring a constant, we declare a hidden function and
|
12
|
-
# call it when we need to define the constant. Otherwise, we get a weird libGL.so segfault.
|
13
|
-
module Gosu
|
14
|
-
def self.const_missing sym
|
15
|
-
if sym == :MAX_TEXTURE_SIZE then
|
16
|
-
const_set sym, __max_texture_size
|
17
|
-
else
|
18
|
-
super
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gosu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 23
|
10
|
+
version: 0.7.23
|
11
11
|
platform: i386-mingw32
|
12
12
|
authors:
|
13
13
|
- Julian Raschke
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-08-23 00:00:00 +08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- lib/gosu.for_1_9.so
|
61
61
|
- lib/fmod.dll
|
62
62
|
has_rdoc: true
|
63
|
-
homepage: http://
|
63
|
+
homepage: http://libgosu.org/
|
64
64
|
licenses: []
|
65
65
|
|
66
66
|
post_install_message:
|