openra 4.0.2 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openra/struct/global_settings.rb +6 -1
- data/lib/openra/struct.rb +1 -1
- data/lib/openra/version.rb +1 -1
- data/openra.gemspec +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6568897f9d175be52c31b6d1f4dcc909215fde21aa10f6d78c0c06c2415a9b
|
4
|
+
data.tar.gz: 305dd52c74becb07dced28f0c45f03ce0272eb82c6ad968245511161c00e1bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db5eab0a6f4a1dc89e3d9ee7cc00f9c85ba668d84b6bf74422eff4abb73b1dfc2f557e7d6221fb98b7f78211c6c7c2c3868b095731fd8e1d2d3c887b6d63b413
|
7
|
+
data.tar.gz: 6e9762978a42de472809f2a6759fd0f6a0c2117e101f64e86cd77a2a19cbdf8ababffb97aa333d133083099d4e9f30c6c6121134a808dd995f1cd9df1c5ea081
|
@@ -9,6 +9,7 @@ module Openra
|
|
9
9
|
attribute :server_name, Types::Strict::String.meta(from: 'ServerName')
|
10
10
|
attribute :map_hash, Types::Strict::String.meta(from: 'Map')
|
11
11
|
attribute :timestep, Types::Params::Integer.meta(from: 'Timestep')
|
12
|
+
attribute :net_frame_interval, Types::Params::Integer.meta(from: 'NetFrameInterval')
|
12
13
|
attribute :order_latency, Types::Params::Integer.meta(
|
13
14
|
from: 'OrderLatency'
|
14
15
|
)
|
@@ -34,7 +35,11 @@ module Openra
|
|
34
35
|
end
|
35
36
|
|
36
37
|
def frametime_multiplier
|
37
|
-
timestep
|
38
|
+
if timestep
|
39
|
+
timestep * 3
|
40
|
+
else
|
41
|
+
net_frame_interval * 40
|
42
|
+
end
|
38
43
|
end
|
39
44
|
end
|
40
45
|
end
|
data/lib/openra/struct.rb
CHANGED
data/lib/openra/version.rb
CHANGED
data/openra.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_dependency 'bundler'
|
26
26
|
spec.add_dependency 'bindata'
|
27
|
-
spec.add_dependency 'dry-transformer'
|
27
|
+
spec.add_dependency 'dry-transformer', '>= 1.0.0'
|
28
28
|
spec.add_dependency 'dry-types'
|
29
29
|
spec.add_dependency 'dry-struct'
|
30
30
|
spec.add_dependency 'dry-cli'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Holland
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: dry-types
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description:
|
139
|
+
description:
|
140
140
|
email:
|
141
141
|
- andyholland1991@aol.com
|
142
142
|
executables:
|
@@ -198,7 +198,7 @@ homepage: https://github.com/AMHOL/openra-ruby
|
|
198
198
|
licenses:
|
199
199
|
- MIT
|
200
200
|
metadata: {}
|
201
|
-
post_install_message:
|
201
|
+
post_install_message:
|
202
202
|
rdoc_options: []
|
203
203
|
require_paths:
|
204
204
|
- lib
|
@@ -213,8 +213,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
217
|
-
signing_key:
|
216
|
+
rubygems_version: 3.4.9
|
217
|
+
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: Openra Rubygem
|
220
220
|
test_files: []
|