Commit Graph

22690 Commits

Author SHA1 Message Date
RoosterDragon
0cbce8141f Fix circular trait dependencies on UpgradeManager.
Don't use Requires to force an ordering, instead just use INotifyCreated to grab all the traits once constructed.
2016-03-29 23:10:48 +01:00
RoosterDragon
3192432a5c Strengthen ordering of TraitsInConstructOrder.
All types that are dependencies of a trait must now occur before it in the construct ordering. Previously, only one type that was a dependency of a trait needed to occur before it.
2016-03-29 23:10:46 +01:00
RoosterDragon
b3b816fcc6 Improve names and test code in ActorInfoTest. 2016-03-29 23:10:45 +01:00
RoosterDragon
2c15bc9308 Remove dead code in ActorInfoTest. 2016-03-29 22:49:01 +01:00
Taryn Hill
c6265527b2 Expose passenger enter/exit notifications to Lua 2016-03-29 07:00:01 -05:00
Taryn Hill
6d4e365af5 Require explicit implementation of INotifyPassenger(Entered|Exited) 2016-03-29 06:59:43 -05:00
Taryn Hill
6582d0f480 Add ScriptTags trait
This allows actors to be tagged with arbitrary strings.
Also includes ScriptTagsInit and MapGlobal.ActorsWithTag
  which expose this functionality to map scripters.
2016-03-28 16:15:44 -05:00
Matthias Mailänder
728bad9565 Merge pull request #10986 from obrakmann/fix10718-ra-map-rebalancing
Rebalance a number of RA maps
2016-03-28 20:31:03 +02:00
Oliver Brakmann
84dad6dae7 Re-added RA map 'Snowy Ridge' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
a427634517 Rebalanced RA map 'Doubles' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
977df4b67f Rebalanced RA map 'Singles' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
b24e32d8a7 Rebalanced RA map 'Temperal' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
92c285a344 Rebalanced RA map 'Sidestep' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
b31485ffe1 Rebalanced RA map 'North by Northwest' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
87491d3c4f Rebalanced RA map 'Mass Confliction' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
68f4062d42 Rebalanced RA map 'Man to Man' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
b988aefed2 Rebalanced RA map 'Keep off the Grass 2' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
79f567a425 Rebalanced RA map 'High and Low' 2016-03-28 19:31:49 +02:00
Oliver Brakmann
83e52d684f Rebalanced RA map 'Forest Path' 2016-03-28 19:31:48 +02:00
Oliver Brakmann
095339f4cc Rebalanced RA map 'Encounter' 2016-03-28 19:31:48 +02:00
Oliver Brakmann
51e7f007cf Rebalanced RA map 'East vs West' 2016-03-28 19:31:48 +02:00
Oliver Brakmann
704abfad0d Rebalanced RA map 'Chokepoint' 2016-03-28 19:31:48 +02:00
Oliver Brakmann
1453b9d311 Rebalanced RA map 'Asymetric Battle' 2016-03-28 19:31:48 +02:00
Matthias Mailänder
77d4154f95 Merge pull request #10972 from reaperrr/fp-to-int1
Migrated some remaining floats in simulation to integers (and decimals)
2016-03-28 18:45:25 +02:00
Sean Hunt
c18987e293 Allow empty harvesters to be ordered to refineries
The primary reason is to fix OpenRA/ra2#161. Rather than make the
harvester trait more complicated by making this behaviour configurable,
this commit just applies to all harvesters.
2016-03-28 12:44:23 -04:00
Matthias Mailänder
8c502e7958 Merge pull request #10968 from MustaphaTR/fake-pp
RA - Added Fake Power Plants for France
2016-03-28 18:37:06 +02:00
reaperrr
d25d9e3d7e Apply all float removal upgrade rules on the same engine version 2016-03-28 17:29:29 +02:00
reaperrr
33f26e05e1 Use decimal instead of long for WPos offset
To remove overflow risk.
2016-03-28 17:20:49 +02:00
reaperrr
fe23ac7f93 Use decimal instead of float in WVec.LerpQuadratic
To reduce desync risk (without introducing overflow risk).
2016-03-28 17:20:49 +02:00
reaperrr
73ec1ec9b2 Remove float from ReturnToBase.CalculateTurnRadius
141 / PI ~= 44.88, so 45 should be accurate enough. This should reduce desync risk while improving performance of this calculation.
2016-03-28 17:20:49 +02:00
reaperrr
4894211789 Migrate Captures.SabotageHPRemoval and Capturable.CaptureThreshold to int percentages 2016-03-28 17:20:49 +02:00
reaperrr
82f23210d9 Migrate EmitInfantryOnSell ValuePercent and MinHpPercent to int percentages
Additionally, MinHpPercent should now actually have the desired effect (previously there was not logic attached).
2016-03-28 17:20:49 +02:00
reaperrr
3a97757bfa Migrate SelfHealing.HealIfBelow from float to int percentage 2016-03-28 17:20:49 +02:00
Matthias Mailänder
8ba875476f Merge pull request #10973 from reaperrr/fp-to-int2
Getting rid of float in simulation code Part 2
2016-03-28 17:13:52 +02:00
reaperrr
1ee4131f35 Make ThrowsParticle use WAngle instead of float 2016-03-28 15:41:34 +02:00
reaperrr
ade49ba1be Migrated Minelayer.MinefieldDepth to use WDist instead of float 2016-03-28 14:44:21 +02:00
reaperrr
251b1b44d4 Migrate StrategicVictoryConditions.RatioRequired to int percentage
Remove bogus CriticalRatioRequired from RA Hopes Anchor.
2016-03-28 14:44:20 +02:00
Matthias Mailänder
f6c7e3debb Don't try to lookup '' strings in chrome collections. 2016-03-28 13:38:29 +02:00
Pavel Penev
b162afee6b Merge pull request #10984 from pchote/fix-c17-palette
Fix C17 palette in TD campaign.
2016-03-27 22:38:09 +03:00
Pavel Penev
c78ad58e4b Merge pull request #10948 from pchote/custom-map-merger
Add --map-rules utility command for the resource center
2016-03-27 22:12:47 +03:00
Pavel Penev
c74ecd0794 Merge pull request #10898 from pchote/map-format-eleven
Add support for multiple map categories.
2016-03-27 18:16:51 +03:00
Paul Chote
ba20433f49 Fix C17 palette in TD campaign. 2016-03-27 14:28:25 +01:00
Paul Chote
74d3f87a4c Merge pull request #10934 from obrakmann/spec-objectives-panel
Make objectives panel visible to spectators/observers
2016-03-27 13:58:53 +01:00
Paul Chote
10738b0c77 Remove dead space when viewing the observer menu stats. 2016-03-27 13:59:46 +02:00
Oliver Brakmann
2490e4d67e Make objectives panel visible to spectators/observers
It also allows switching the context of the panel by selecting a certain player's view in the player view spectator drop down.
2016-03-27 13:43:23 +02:00
Paul Chote
3d499f34c6 Add additional categories to TS maps. 2016-03-27 12:17:01 +01:00
Paul Chote
eb1d033ab4 Update TS maps to format 11. 2016-03-27 12:17:01 +01:00
Paul Chote
55b06cd982 Update D2K maps to format 11. 2016-03-27 12:17:00 +01:00
Paul Chote
2151f9ac15 Update TD maps to format 11. 2016-03-27 12:17:00 +01:00
Paul Chote
85c41bf50e Update RA maps to format 11. 2016-03-27 12:17:00 +01:00