openra 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/openra/cli/commands/replay_data.rb +7 -2
- data/lib/openra/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cfff6bc6fcdee2c6e36d65bef3937bcf2aa4198e1ebdd0a8ec32e582722a1b4
|
4
|
+
data.tar.gz: 79223a7df569fc9281761e77e0ce53c28665b24cf37216bdf39264e873f64b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64c38c423dd054f8dd4df6e71240329d28fd1fb2c301eb13a9ebf3022f8594d11e0b93666d8cd934127f354fdc53bb71c450f0e9a06cd37b9649759eaa52c47e
|
7
|
+
data.tar.gz: 3ce0518fc30b657d975ebc40993321e0b3692747301f21f227eaf1b35df4325206924bbf7bd804a22d51846f9e8888721fcec274dc9015acc25bd4858c65c153
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
-
[Compare v1.8.
|
3
|
+
[Compare v1.8.1...HEAD](https://github.com/AMHOL/openra-ruby/compare/v1.8.1...HEAD)
|
4
|
+
|
5
|
+
## v1.8.1
|
6
|
+
|
7
|
+
### Updates
|
8
|
+
|
9
|
+
* [replay-data] Update support powers to include game time and target positions
|
10
|
+
|
11
|
+
[Compare v1.8.0...v1.8.1](https://github.com/AMHOL/openra-ruby/compare/v1.8.0...v1.8.1)
|
4
12
|
|
5
13
|
## v1.8.0
|
6
14
|
|
@@ -74,7 +74,7 @@ module Openra
|
|
74
74
|
is_player: !player.nil?,
|
75
75
|
is_winner: player&.outcome == 'Won',
|
76
76
|
build: [],
|
77
|
-
support_powers:
|
77
|
+
support_powers: []
|
78
78
|
}
|
79
79
|
end
|
80
80
|
|
@@ -107,7 +107,12 @@ module Openra
|
|
107
107
|
candidate[:index] == order.client_index.to_s
|
108
108
|
end
|
109
109
|
|
110
|
-
client_hash[:support_powers]
|
110
|
+
client_hash[:support_powers] << {
|
111
|
+
type: key,
|
112
|
+
game_time: time(order.frame * sync_info.global_settings.frametime_multiplier),
|
113
|
+
placement: order.target_pos.to_i,
|
114
|
+
extra_placement: order.extra_pos.to_i
|
115
|
+
}
|
111
116
|
when 'PlaceBuilding'
|
112
117
|
client_hash = data[:clients].find do |candidate|
|
113
118
|
candidate[:index] == order.client_index.to_s
|
data/lib/openra/version.rb
CHANGED