chipmunk 5.2.2-i386-mingw32 → 6.1.3.0.rc1-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/1.9/chipmunk.so +0 -0
- data/lib/chipmunk.so +0 -0
- metadata +29 -52
- data/LICENSE +0 -20
- data/README +0 -60
- data/Rakefile +0 -50
- data/lib/1.8/chipmunk.so +0 -0
- data/lib/chipmunk.rb +0 -30
- data/lib/chipmunk/version.rb +0 -3
data/lib/1.9/chipmunk.so
CHANGED
Binary file
|
data/lib/chipmunk.so
ADDED
Binary file
|
metadata
CHANGED
@@ -1,73 +1,50 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: chipmunk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 5
|
8
|
-
- 2
|
9
|
-
- 2
|
10
|
-
version: 5.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 6.1.3.0.rc1
|
5
|
+
prerelease: 8
|
11
6
|
platform: i386-mingw32
|
12
|
-
authors:
|
13
|
-
- Scott Lembcke, Beoran, John Mair (banisterfiend)
|
7
|
+
authors:
|
8
|
+
- Scott Lembcke, Beoran, John Mair (banisterfiend), Shawn Anderson
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-07-25 00:00:00 +12:00
|
19
|
-
default_executable:
|
12
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
|
-
|
23
|
-
email: beoran@rubyforge.com
|
14
|
+
description: ! 'Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine. '
|
15
|
+
email: beoran@rubyforge.org
|
24
16
|
executables: []
|
25
|
-
|
26
17
|
extensions: []
|
27
|
-
|
28
18
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
31
|
-
- Rakefile
|
32
|
-
- README
|
33
|
-
- LICENSE
|
34
|
-
- lib/chipmunk.rb
|
35
|
-
- lib/1.8/chipmunk.so
|
19
|
+
files:
|
36
20
|
- lib/1.9/chipmunk.so
|
37
|
-
- lib/chipmunk
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
21
|
+
- lib/chipmunk.so
|
22
|
+
homepage: https://github.com/beoran/chipmunk
|
23
|
+
licenses:
|
24
|
+
- MIT
|
42
25
|
post_install_message:
|
43
26
|
rdoc_options: []
|
44
|
-
|
45
|
-
require_paths:
|
27
|
+
require_paths:
|
46
28
|
- lib
|
47
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
30
|
none: false
|
49
|
-
requirements:
|
50
|
-
- -
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
|
53
|
-
segments:
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
segments:
|
54
36
|
- 0
|
55
|
-
|
56
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
hash: -685081485
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>'
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.3.1
|
65
44
|
requirements: []
|
66
|
-
|
67
45
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.
|
46
|
+
rubygems_version: 1.8.24
|
69
47
|
signing_key:
|
70
48
|
specification_version: 3
|
71
|
-
summary: ruby bindings for the chipmunk 5.
|
49
|
+
summary: Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine.
|
72
50
|
test_files: []
|
73
|
-
|
data/LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
/* Copyright (c) 2007 Scott Lembcke
|
2
|
-
*
|
3
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
* of this software and associated documentation files (the "Software"), to deal
|
5
|
-
* in the Software without restriction, including without limitation the rights
|
6
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
* copies of the Software, and to permit persons to whom the Software is
|
8
|
-
* furnished to do so, subject to the following conditions:
|
9
|
-
*
|
10
|
-
* The above copyright notice and this permission notice shall be included in
|
11
|
-
* all copies or substantial portions of the Software.
|
12
|
-
*
|
13
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
* SOFTWARE.
|
20
|
-
*/
|
data/README
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
Ruby Bindings to Chipmunk Physics Version 5.2.0
|
2
|
-
|
3
|
-
(C) Scott Lembcke, Beoran and John Mair (banisterfiend)
|
4
|
-
|
5
|
-
IMPORTANT NOTICE:
|
6
|
-
These are bindings for MRI Ruby 1.8.x and 1.9.x to Chipmunk version 5.2.0
|
7
|
-
|
8
|
-
(1) 1/10/09 Cross-Platform Gem built by John Mair (banisterfiend)
|
9
|
-
* Just go: gem install chipmunk
|
10
|
-
|
11
|
-
(2) Patched for 1.9.1 by Beoran (beoran@rubyforge.org)
|
12
|
-
|
13
|
-
(3) How to build the gems? (maintainers only)
|
14
|
-
* Install rake-compiler (http://github.com/luislavena/rake-compiler)
|
15
|
-
* Install 1.9.1 and 1.8.6 mingw ruby versions (instructions above)
|
16
|
-
* Type: rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1
|
17
|
-
* Upload new gems to rubyforge and gemcutter.
|
18
|
-
|
19
|
-
FORUM:
|
20
|
-
|
21
|
-
http://www.slembcke.net/forums
|
22
|
-
|
23
|
-
CONTACT:
|
24
|
-
slembcke@gmail.com (also on Google Talk) for Chipmunk
|
25
|
-
beoran@rubyforge.org for these bindings
|
26
|
-
|
27
|
-
ABOUT:
|
28
|
-
Chipmunk is a simple, lightweight and fast 2D rigid body physics library
|
29
|
-
written in C. It's licensed under the unrestrictive, OSI approved MIT license. My aim is to give 2D developers access the same quality of physics you find in newer 3D games. I hope you enjoy using Chipmunk, and please consider donating to help make it worth our time to continue to support Chipmunk with great new features.
|
30
|
-
|
31
|
-
These bindings are intened to as an alternative for the chipmunk-ffi bindings when performance is of the utmost importance, as it may be for games. The intent is for it to be source code compatibe with the ffi bindings. If you have any problems with these bindings, please contact the maintainer at beoran@rubyforge.org.
|
32
|
-
|
33
|
-
CONTRACTING:
|
34
|
-
Howling Moon Software (Slembke's company) is available for contracting if you want to make the physics in your game really stand out. Feel free to contact them through their webpage: http://howlingmoonsoftware.com/contracting.php
|
35
|
-
|
36
|
-
CHANGES SINCE 4.x:
|
37
|
-
* Brand new Joint/Constraint API: New constraints can be added easily and are much more flexible than the old joint system.
|
38
|
-
* Efficient Segment Queries - Like raycasting, but with line segments.
|
39
|
-
* Brand new collision callback API: Collision begin/separate events, API for removal of objects within callbacks, more programable control over collision handling.
|
40
|
-
|
41
|
-
CHANGES SINCE RELEASE 3:
|
42
|
-
|
43
|
-
* Rational versioning scheme: (major.minor.build) Small changes
|
44
|
-
increment the build number. Significant changes that don't affect
|
45
|
-
backwards compatibility increment the minor number. Major changes
|
46
|
-
that will break backwards compatibility will increment the major
|
47
|
-
number.
|
48
|
-
|
49
|
-
* Optimizations: Speed increases of 5-10% should be common.
|
50
|
-
|
51
|
-
* Groove Joint: Similar to a pivot joint, but one of the anchors is
|
52
|
-
on a linear slide instead of being fixed.
|
53
|
-
|
54
|
-
* Comments/cleanup. The code should be much more readable now.
|
55
|
-
|
56
|
-
* Official build paths for working on Linux and MSVC.
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
data/Rakefile
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# Rakefile added by John Mair (banisterfiend)
|
2
|
-
|
3
|
-
require 'rake/gempackagetask'
|
4
|
-
require 'rake/clean'
|
5
|
-
require 'lib/chipmunk/version.rb'
|
6
|
-
|
7
|
-
dlext = Config::CONFIG['DLEXT']
|
8
|
-
|
9
|
-
CLEAN.include("ext/**/*.#{dlext}", "ext/**/.log", "ext/**/.o", "ext/**/*~", "ext/**/*#*", "ext/**/.obj", "ext/**/.def", "ext/**/.pdb")
|
10
|
-
CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log", "**/*.o", "doc/**")
|
11
|
-
|
12
|
-
|
13
|
-
def apply_spec_defaults(s)
|
14
|
-
s.name = "chipmunk"
|
15
|
-
s.summary = "ruby bindings for the chipmunk 5.1.0 physics engine"
|
16
|
-
s.description = s.summary
|
17
|
-
s.version = Chipmunk::VERSION
|
18
|
-
s.author = "Scott Lembcke, Beoran, John Mair (banisterfiend)"
|
19
|
-
s.email = 'beoran@rubyforge.com'
|
20
|
-
s.date = Time.now.strftime '%Y-%m-%d'
|
21
|
-
s.require_path = 'lib'
|
22
|
-
s.homepage = "http://code.google.com/p/chipmunk-physics/"
|
23
|
-
end
|
24
|
-
|
25
|
-
|
26
|
-
# common tasks
|
27
|
-
task :compile => :clean
|
28
|
-
|
29
|
-
spec = Gem::Specification.new do |s|
|
30
|
-
apply_spec_defaults(s)
|
31
|
-
s.platform = 'i386-mingw32'
|
32
|
-
s.files = ["Rakefile", "README", "LICENSE", "lib/chipmunk.rb", "lib/1.8/chipmunk.#{dlext}", "lib/1.9/chipmunk.#{dlext}", "lib/chipmunk/version.rb"]
|
33
|
-
end
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
# spec = Gem::Specification.new do |s|
|
40
|
-
# apply_spec_defaults(s)
|
41
|
-
# s.platform = Gem::Platform::RUBY
|
42
|
-
# s.extensions = FileList["ext/**/extconf.rb"]
|
43
|
-
# s.files = ["Rakefile", "README", "LICENSE", "lib/chipmunk.rb", "lib/chipmunk/version.rb"] +
|
44
|
-
# FileList["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c"].to_a
|
45
|
-
# end
|
46
|
-
|
47
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
48
|
-
pkg.need_zip = false
|
49
|
-
pkg.need_tar = false
|
50
|
-
end
|
data/lib/1.8/chipmunk.so
DELETED
Binary file
|
data/lib/chipmunk.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# this redirection script by John Mair (banisterfiend)
|
2
|
-
|
3
|
-
direc = File.dirname(__FILE__)
|
4
|
-
|
5
|
-
require 'rbconfig'
|
6
|
-
require "#{direc}/chipmunk/version"
|
7
|
-
|
8
|
-
dlext = Config::CONFIG['DLEXT']
|
9
|
-
begin
|
10
|
-
if RUBY_VERSION && RUBY_VERSION =~ /1.9/
|
11
|
-
require "#{direc}/1.9/chipmunk.#{dlext}"
|
12
|
-
else
|
13
|
-
require "#{direc}/1.8/chipmunk.#{dlext}"
|
14
|
-
end
|
15
|
-
rescue LoadError => e
|
16
|
-
require "#{direc}/chipmunk.#{dlext}"
|
17
|
-
end
|
18
|
-
|
19
|
-
# Add some constants to CP here, so we don't need
|
20
|
-
# to do it in the C code.
|
21
|
-
# Let's cheat a bit here.. :p
|
22
|
-
|
23
|
-
module CP
|
24
|
-
ZERO_VEC_2 = Vec2.new(0,0).freeze
|
25
|
-
ALL_ONES = Vec2.new(1,1).freeze
|
26
|
-
end
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
data/lib/chipmunk/version.rb
DELETED