ehb_game_lib 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ehb_game_lib.rb +2 -25
- data/lib/ehb_game_lib/math.rb +9 -0
- data/lib/ehb_game_lib/nes.rb +9 -0
- data/lib/ehb_game_lib/text.rb +9 -0
- data/lib/ehb_game_lib/utils.rb +9 -0
- data/lib/ehb_game_lib/version.rb +1 -1
- data/lib/ehb_game_lib/window/gl_read_pixels_image.rb +2 -0
- data/test/lib/ehb_game_lib/math/intersection/circle_line_segment_test.rb +3 -0
- metadata +23 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9acd1ac23a1acd8cdafc3382002cca990d79c0eebdba0f681c9a5e499876fd05
|
4
|
+
data.tar.gz: 54c26e41e8a034f231445bb0105a072ff1be27dd5e27c08df921c8ee63b23dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e379f2da9c3bda6e0aabeb25b3dd76160d01ffd255bb01c154dd66788c19efc53980694ef45bdd2528b145bed0da9b73570be39205d417ff4730cacea35367
|
7
|
+
data.tar.gz: 82e9484c27ead60e992b2069a0d2ba66480bd4f8b2aecbffcf33c4a9a447e233c92c10719c758716a079b40629d8865d1427c519776f97138eb761e0e06c830c
|
data/lib/ehb_game_lib.rb
CHANGED
@@ -1,32 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'active_support'
|
4
|
-
require 'active_support/core_ext'
|
5
3
|
require 'chingu'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
6
5
|
require 'opengl'
|
7
|
-
require 'ehb_game_lib/version'
|
8
|
-
require 'ehb_game_lib/base_state'
|
9
|
-
require 'ehb_game_lib/canvas'
|
10
|
-
require 'ehb_game_lib/globals'
|
11
|
-
require 'ehb_game_lib/gfx'
|
12
|
-
require 'ehb_game_lib/math/circle'
|
13
|
-
require 'ehb_game_lib/math/line'
|
14
|
-
require 'ehb_game_lib/math/line_segment'
|
15
|
-
require 'ehb_game_lib/math/quadratic_equation'
|
16
|
-
require 'ehb_game_lib/math/rectable_object'
|
17
|
-
require 'ehb_game_lib/math/vector'
|
18
|
-
require 'ehb_game_lib/math/intersection/circle_line'
|
19
|
-
require 'ehb_game_lib/math/intersection/circle_line_segment'
|
20
|
-
require 'ehb_game_lib/nes/all_colors_palette'
|
21
|
-
require 'ehb_game_lib/nes/color'
|
22
|
-
require 'ehb_game_lib/nes/palette'
|
23
|
-
require 'ehb_game_lib/patches/chingu/basic_game_object'
|
24
|
-
require 'ehb_game_lib/patches/gosu/font'
|
25
|
-
require 'ehb_game_lib/traits/bounding_line_segment'
|
26
|
-
require 'ehb_game_lib/text/bitmap_font'
|
27
|
-
require 'ehb_game_lib/text/bitmap_text'
|
28
|
-
require 'ehb_game_lib/utils/cursor'
|
29
|
-
require 'ehb_game_lib/window'
|
30
6
|
|
31
7
|
module EhbGameLib
|
8
|
+
require_sub __FILE__
|
32
9
|
end
|
data/lib/ehb_game_lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ehb_game_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: activesupport
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: chingu
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +30,14 @@ dependencies:
|
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
33
|
+
version: '0.57'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
40
|
+
version: '0.57'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: gosu
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,33 +67,39 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: eac_ruby_gem_support
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.1'
|
87
76
|
- - ">="
|
88
77
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
78
|
+
version: 0.1.2
|
90
79
|
type: :development
|
91
80
|
prerelease: false
|
92
81
|
version_requirements: !ruby/object:Gem::Requirement
|
93
82
|
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0.1'
|
94
86
|
- - ">="
|
95
87
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
88
|
+
version: 0.1.2
|
97
89
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
90
|
+
name: rake
|
99
91
|
requirement: !ruby/object:Gem::Requirement
|
100
92
|
requirements:
|
101
|
-
- - "
|
93
|
+
- - ">="
|
102
94
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0
|
95
|
+
version: '0'
|
104
96
|
type: :development
|
105
97
|
prerelease: false
|
106
98
|
version_requirements: !ruby/object:Gem::Requirement
|
107
99
|
requirements:
|
108
|
-
- - "
|
100
|
+
- - ">="
|
109
101
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0
|
102
|
+
version: '0'
|
111
103
|
- !ruby/object:Gem::Dependency
|
112
104
|
name: test-unit
|
113
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,6 +126,7 @@ files:
|
|
134
126
|
- lib/ehb_game_lib/canvas.rb
|
135
127
|
- lib/ehb_game_lib/gfx.rb
|
136
128
|
- lib/ehb_game_lib/globals.rb
|
129
|
+
- lib/ehb_game_lib/math.rb
|
137
130
|
- lib/ehb_game_lib/math/circle.rb
|
138
131
|
- lib/ehb_game_lib/math/intersection/circle_line.rb
|
139
132
|
- lib/ehb_game_lib/math/intersection/circle_line_segment.rb
|
@@ -142,14 +135,17 @@ files:
|
|
142
135
|
- lib/ehb_game_lib/math/quadratic_equation.rb
|
143
136
|
- lib/ehb_game_lib/math/rectable_object.rb
|
144
137
|
- lib/ehb_game_lib/math/vector.rb
|
138
|
+
- lib/ehb_game_lib/nes.rb
|
145
139
|
- lib/ehb_game_lib/nes/all_colors_palette.rb
|
146
140
|
- lib/ehb_game_lib/nes/color.rb
|
147
141
|
- lib/ehb_game_lib/nes/palette.rb
|
148
142
|
- lib/ehb_game_lib/patches/chingu/basic_game_object.rb
|
149
143
|
- lib/ehb_game_lib/patches/gosu/font.rb
|
144
|
+
- lib/ehb_game_lib/text.rb
|
150
145
|
- lib/ehb_game_lib/text/bitmap_font.rb
|
151
146
|
- lib/ehb_game_lib/text/bitmap_text.rb
|
152
147
|
- lib/ehb_game_lib/traits/bounding_line_segment.rb
|
148
|
+
- lib/ehb_game_lib/utils.rb
|
153
149
|
- lib/ehb_game_lib/utils/cursor.rb
|
154
150
|
- lib/ehb_game_lib/version.rb
|
155
151
|
- lib/ehb_game_lib/window.rb
|
@@ -180,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
176
|
- !ruby/object:Gem::Version
|
181
177
|
version: '0'
|
182
178
|
requirements: []
|
183
|
-
|
184
|
-
rubygems_version: 2.7.7
|
179
|
+
rubygems_version: 3.0.8
|
185
180
|
signing_key:
|
186
181
|
specification_version: 4
|
187
182
|
summary: EHB's game library for Ruby
|