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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74c7ad663e278d7066f4791a019b9998b1d0e7977e368be59ceb2d485e8c306e
4
- data.tar.gz: 86e81867e5fc9117246d2cb2e02ad4297f1104ab55ef85655c399dfa65828cd9
3
+ metadata.gz: 44327757aeff89ba4da0a15892c0fc52a49575328e5123a6b349ffb68399400e
4
+ data.tar.gz: 135c978c6f2020abdd78b043fcfbde117dee2cd295a96c4ddde57051b48e4d7e
5
5
  SHA512:
6
- metadata.gz: b45cccff01f5977d496d1a3d9a9f87e729ffa535f68db327f832a05297c27e977b02794213f29bc3b6a9385b5c593266cd729437645da40cae33d1e63610cdc1
7
- data.tar.gz: 0411f8d7e6fed8eddb43bf57eebf6d5fb5626a41b2f0790acd635a23d47c698ef9a61db797a720a0962e07c216b2d089e8b7f8a8a5589f9484bdd0c6b56615f5
6
+ metadata.gz: d712b59caf6a44943f6fcab88bb3cca49b996e1b8cc152241d3d0fb914ece8b4bbd1c5b2d10d979278d3bbcf824dac1f9fc37a9b689645fef84af596698ae59e
7
+ data.tar.gz: a861c3d40a3c33ffde367a2fc6f8fcdd85c53af5f25ddce6e21a094526a20d48b61689eb501cdf7004da15186aa10a0a5eaa865dab0dae517d38f9cab1ae7dc0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rmxp_extractor (1.5)
4
+ rmxp_extractor (1.7)
5
5
  fileutils
6
6
  json
7
7
  oj
@@ -22,6 +22,7 @@ GEM
22
22
  zlib (2.1.1)
23
23
 
24
24
  PLATFORMS
25
+ x64-mingw-ucrt
25
26
  x86_64-linux
26
27
 
27
28
  DEPENDENCIES
@@ -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
@@ -16,19 +16,17 @@ end
16
16
 
17
17
  class Table
18
18
  def rmxp_serialize
19
- str = "Array(\n"
19
+ str = "Table#{@num_of_dimensions}(\n"
20
20
  $indent += 2
21
- str += "#{" " * $indent}v: 1,\n"
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
- "#{@ysize}, #{@xsize}"
26
+ "xsize: #{@xsize}, ysize: #{@ysize},\n"
28
27
  when 3
29
- "#{@zsize}, #{@ysize}, #{@xsize}"
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
@@ -1,3 +1,3 @@
1
1
  module RMXPExtractor
2
- VERSION = "1.6"
2
+ VERSION = "1.8"
3
3
  end
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.6'
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-10-24 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj