rmxp_extractor 1.6 → 1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/lib/rmxp_extractor/classnames.rb +2 -1
- data/lib/rmxp_extractor/ron.rb +5 -7
- data/lib/rmxp_extractor/version.rb +1 -1
- 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: 44327757aeff89ba4da0a15892c0fc52a49575328e5123a6b349ffb68399400e
|
4
|
+
data.tar.gz: 135c978c6f2020abdd78b043fcfbde117dee2cd295a96c4ddde57051b48e4d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d712b59caf6a44943f6fcab88bb3cca49b996e1b8cc152241d3d0fb914ece8b4bbd1c5b2d10d979278d3bbcf824dac1f9fc37a9b689645fef84af596698ae59e
|
7
|
+
data.tar.gz: a861c3d40a3c33ffde367a2fc6f8fcdd85c53af5f25ddce6e21a094526a20d48b61689eb501cdf7004da15186aa10a0a5eaa865dab0dae517d38f9cab1ae7dc0
|
data/Gemfile.lock
CHANGED
@@ -144,6 +144,7 @@ class Tone
|
|
144
144
|
red, green, blue, gray = *obj.unpack("EEEE")
|
145
145
|
obj = Tone.new
|
146
146
|
obj.red = red; obj.green = green; obj.blue = blue; obj.gray = gray
|
147
|
+
obj
|
147
148
|
end
|
148
149
|
end
|
149
150
|
|
@@ -241,4 +242,4 @@ class Script
|
|
241
242
|
attr_accessor :id
|
242
243
|
attr_accessor :name
|
243
244
|
attr_accessor :data
|
244
|
-
end
|
245
|
+
end
|
data/lib/rmxp_extractor/ron.rb
CHANGED
@@ -16,19 +16,17 @@ end
|
|
16
16
|
|
17
17
|
class Table
|
18
18
|
def rmxp_serialize
|
19
|
-
str = "
|
19
|
+
str = "Table#{@num_of_dimensions}(\n"
|
20
20
|
$indent += 2
|
21
|
-
str += "#{" " * $indent}
|
22
|
-
str += "#{" " * $indent}dim: ("
|
21
|
+
str += "#{" " * $indent}"
|
23
22
|
str += case @num_of_dimensions
|
24
23
|
when 1
|
25
|
-
"#{@xsize}"
|
24
|
+
"xsize: #{@xsize},\n"
|
26
25
|
when 2
|
27
|
-
"#{@
|
26
|
+
"xsize: #{@xsize}, ysize: #{@ysize},\n"
|
28
27
|
when 3
|
29
|
-
"#{@
|
28
|
+
"xsize: #{@xsize}, ysize: #{@ysize}, zsize: #{@zsize},\n"
|
30
29
|
end
|
31
|
-
str += "),\n"
|
32
30
|
str += "#{" " * $indent}data: [\n"
|
33
31
|
$indent += 2
|
34
32
|
case @num_of_dimensions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmxp_extractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speak2Erase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|