red_bird 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +23 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/Rakefile +10 -0
- data/bin/setup +8 -0
- data/ext/red_bird/bird.c +15 -0
- data/ext/red_bird/bird.h +10 -0
- data/ext/red_bird/color.c +95 -0
- data/ext/red_bird/color.h +27 -0
- data/ext/red_bird/dynamic_sprite.c +163 -0
- data/ext/red_bird/dynamic_sprite.h +30 -0
- data/ext/red_bird/engine.c +354 -0
- data/ext/red_bird/engine.h +40 -0
- data/ext/red_bird/extconf.rb +9 -0
- data/ext/red_bird/font.c +94 -0
- data/ext/red_bird/font.h +26 -0
- data/ext/red_bird/input_device.c +100 -0
- data/ext/red_bird/input_device.h +15 -0
- data/ext/red_bird/keycode.c +42 -0
- data/ext/red_bird/keycode.h +12 -0
- data/ext/red_bird/loader.c +154 -0
- data/ext/red_bird/loader.h +54 -0
- data/ext/red_bird/main.c +38 -0
- data/ext/red_bird/main.h +12 -0
- data/ext/red_bird/palette.c +132 -0
- data/ext/red_bird/palette.h +23 -0
- data/ext/red_bird/rect.c +257 -0
- data/ext/red_bird/rect.h +20 -0
- data/ext/red_bird/render.c +130 -0
- data/ext/red_bird/render.h +25 -0
- data/ext/red_bird/sprite.c +130 -0
- data/ext/red_bird/sprite.h +27 -0
- data/ext/red_bird/text.c +212 -0
- data/ext/red_bird/text.h +31 -0
- data/ext/red_bird/texture.c +157 -0
- data/ext/red_bird/texture.h +33 -0
- data/ext/red_bird/texture_imp.cpp +49 -0
- data/ext/red_bird/texture_imp.hpp +29 -0
- data/ext/red_bird/timer.c +134 -0
- data/ext/red_bird/timer.h +25 -0
- data/lib/red_bird.rb +15 -0
- data/lib/red_bird/animation.rb +133 -0
- data/lib/red_bird/camera.rb +61 -0
- data/lib/red_bird/controller.rb +44 -0
- data/lib/red_bird/dynamic_sprite.rb +38 -0
- data/lib/red_bird/engine.rb +81 -0
- data/lib/red_bird/entity.rb +74 -0
- data/lib/red_bird/entity_collision.rb +31 -0
- data/lib/red_bird/input_device.rb +86 -0
- data/lib/red_bird/palette.rb +23 -0
- data/lib/red_bird/relative_entity.rb +95 -0
- data/lib/red_bird/sprite.rb +40 -0
- data/lib/red_bird/stage.rb +60 -0
- data/lib/red_bird/tile_map.rb +118 -0
- data/lib/red_bird/tile_set.rb +56 -0
- data/lib/red_bird/uibox.rb +143 -0
- data/lib/red_bird/version.rb +3 -0
- data/lib/red_bird/vertical_menu.rb +110 -0
- data/red_bird.gemspec +37 -0
- metadata +149 -0
data/red_bird.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "red_bird/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "red_bird"
|
7
|
+
spec.version = RedBird::VERSION
|
8
|
+
spec.authors = ["Frederico Linhares"]
|
9
|
+
spec.email = ["fred@linhares.blue"]
|
10
|
+
|
11
|
+
spec.summary = %q{A 2D game engine.}
|
12
|
+
spec.homepage = "http://projects.linhares.blue/red_bird"
|
13
|
+
spec.license = "MIT"
|
14
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] =
|
18
|
+
"https://bitbucket.org/fredlinhares/red_bird"
|
19
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
23
|
+
# into git.
|
24
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
25
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
f.match(%r{^(test|spec|features)/})
|
27
|
+
end
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
spec.extensions = ["ext/red_bird/extconf.rb"]
|
33
|
+
|
34
|
+
spec.add_development_dependency "bundler", ">= 2.0"
|
35
|
+
spec.add_development_dependency "rake", ">= 10.0"
|
36
|
+
spec.add_development_dependency "rake-compiler"
|
37
|
+
end
|
metadata
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: red_bird
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Frederico Linhares
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- fred@linhares.blue
|
58
|
+
executables: []
|
59
|
+
extensions:
|
60
|
+
- ext/red_bird/extconf.rb
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- LICENSE.txt
|
67
|
+
- README.md
|
68
|
+
- Rakefile
|
69
|
+
- bin/setup
|
70
|
+
- ext/red_bird/bird.c
|
71
|
+
- ext/red_bird/bird.h
|
72
|
+
- ext/red_bird/color.c
|
73
|
+
- ext/red_bird/color.h
|
74
|
+
- ext/red_bird/dynamic_sprite.c
|
75
|
+
- ext/red_bird/dynamic_sprite.h
|
76
|
+
- ext/red_bird/engine.c
|
77
|
+
- ext/red_bird/engine.h
|
78
|
+
- ext/red_bird/extconf.rb
|
79
|
+
- ext/red_bird/font.c
|
80
|
+
- ext/red_bird/font.h
|
81
|
+
- ext/red_bird/input_device.c
|
82
|
+
- ext/red_bird/input_device.h
|
83
|
+
- ext/red_bird/keycode.c
|
84
|
+
- ext/red_bird/keycode.h
|
85
|
+
- ext/red_bird/loader.c
|
86
|
+
- ext/red_bird/loader.h
|
87
|
+
- ext/red_bird/main.c
|
88
|
+
- ext/red_bird/main.h
|
89
|
+
- ext/red_bird/palette.c
|
90
|
+
- ext/red_bird/palette.h
|
91
|
+
- ext/red_bird/rect.c
|
92
|
+
- ext/red_bird/rect.h
|
93
|
+
- ext/red_bird/render.c
|
94
|
+
- ext/red_bird/render.h
|
95
|
+
- ext/red_bird/sprite.c
|
96
|
+
- ext/red_bird/sprite.h
|
97
|
+
- ext/red_bird/text.c
|
98
|
+
- ext/red_bird/text.h
|
99
|
+
- ext/red_bird/texture.c
|
100
|
+
- ext/red_bird/texture.h
|
101
|
+
- ext/red_bird/texture_imp.cpp
|
102
|
+
- ext/red_bird/texture_imp.hpp
|
103
|
+
- ext/red_bird/timer.c
|
104
|
+
- ext/red_bird/timer.h
|
105
|
+
- lib/red_bird.rb
|
106
|
+
- lib/red_bird/animation.rb
|
107
|
+
- lib/red_bird/camera.rb
|
108
|
+
- lib/red_bird/controller.rb
|
109
|
+
- lib/red_bird/dynamic_sprite.rb
|
110
|
+
- lib/red_bird/engine.rb
|
111
|
+
- lib/red_bird/entity.rb
|
112
|
+
- lib/red_bird/entity_collision.rb
|
113
|
+
- lib/red_bird/input_device.rb
|
114
|
+
- lib/red_bird/palette.rb
|
115
|
+
- lib/red_bird/relative_entity.rb
|
116
|
+
- lib/red_bird/sprite.rb
|
117
|
+
- lib/red_bird/stage.rb
|
118
|
+
- lib/red_bird/tile_map.rb
|
119
|
+
- lib/red_bird/tile_set.rb
|
120
|
+
- lib/red_bird/uibox.rb
|
121
|
+
- lib/red_bird/version.rb
|
122
|
+
- lib/red_bird/vertical_menu.rb
|
123
|
+
- red_bird.gemspec
|
124
|
+
homepage: http://projects.linhares.blue/red_bird
|
125
|
+
licenses:
|
126
|
+
- MIT
|
127
|
+
metadata:
|
128
|
+
homepage_uri: http://projects.linhares.blue/red_bird
|
129
|
+
source_code_uri: https://bitbucket.org/fredlinhares/red_bird
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.3.0
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubygems_version: 3.1.2
|
146
|
+
signing_key:
|
147
|
+
specification_version: 4
|
148
|
+
summary: A 2D game engine.
|
149
|
+
test_files: []
|