atlimit8
ecc15d9ae6
Grant upgrades while cloaked
2015-09-02 23:14:40 -05:00
atlimit8
23d0424437
Add ITargetablePositions seperating it from ITargetable
2015-09-02 23:14:40 -05:00
atlimit8
f5c3575c5a
Support multiple ITargetable traits
2015-09-02 23:14:40 -05:00
Taryn Hill
4bd34e3ed3
Merge pull request #9236 from atlimit8/FixAircraftTraitIndent
...
Fix indentation in OpenRA.Mods.Common/Traits/Air/Aircraft.cs
2015-09-02 23:07:57 -05:00
atlimit8
5bfa3afd88
Fix indentation in OpenRA.Mods.Common/Traits/Air/Aircraft.cs
2015-09-02 22:54:05 -05:00
Paul Chote
2f759abddc
Merge pull request #9159 from penev92/bleed_plugInit
...
Add PlugInit
2015-09-03 04:18:29 +01:00
Matthias Mailänder
735bb06c48
Merge pull request #9229 from pchote/fix-building-offsets
...
Fix TS building artwork offsets.
2015-09-02 20:45:15 +02:00
Pavel Penev
2042fccefd
Merge pull request #9189 from reaperrr/bye-rendersimple3
...
Remove RenderBuilding
2015-09-02 19:21:01 +03:00
reaperrr
032bef7d71
Merge pull request #9124 from penev92/bleed_deployToUpgrade
...
Make use of DeployToUpgrade
2015-09-02 18:15:14 +02:00
reaperrr
0785bdbcf1
Move WithSpriteBody pause check to constructor
2015-09-02 17:55:03 +02:00
reaperrr
45e6c62ec9
Cache WithSpriteBody in Refinery constructor
2015-09-02 17:51:19 +02:00
Paul Chote
04c61727f7
Don’t sample map height when calculating building centers.
2015-09-02 16:06:05 +01:00
Pavel Penev
8f42cff550
Introduce PlugsInit
2015-09-02 16:13:23 +03:00
Pavel Penev
800b77e137
Merge pull request #9007 from reaperrr/armor-upgradable
...
Made Armor upgradable
2015-09-02 14:19:30 +03:00
Pavel Penev
256929073c
Clean up some trait info loading code
...
Remove some methods that traits define to load their YAML values on their own.
2015-09-01 22:52:22 +03:00
Pavel Penev
899ea7e16d
Add a description to DisableUpgrade
2015-09-01 20:19:31 +03:00
Pavel Penev
cdedfe6931
Don't get stuck in deployed mode because of an impossible move order
2015-09-01 20:19:29 +03:00
Pavel Penev
7668e0a30c
Add deploy and undeploy sounds to DeployToUpgrade
2015-09-01 20:19:27 +03:00
Pavel Penev
21f9547fed
Add facing to DeployToUpgrade
...
Make the actor turn to a desired facing before starting to deploy (and before granting the upgrade).
2015-09-01 20:19:25 +03:00
Pavel Penev
7d59aaa00c
Add a deploy animation to DeployToUpgrade
...
Play a "deploy"/"undeploy" animation
2015-09-01 20:19:23 +03:00
Pavel Penev
3678e146cf
Make WithVoxelBody upgradable
2015-09-01 20:19:21 +03:00
RoosterDragon
77923a27c1
Tweak IPathSearch to avoid exposing the OpenQueue directly.
2015-09-01 17:29:36 +01:00
RoosterDragon
774992c246
Cache only unit paths in the pathfinder.
...
The path caching works on the assumption that the time saved from reusing a cached path outweights the cost of caching it in the first place.
For unit paths, this assumption holds. For path searchs, we spend more time caching them then we save when we get to reuse these cached paths. This is because they are reused less often, and calculating their key is more expensive in comparison.
2015-09-01 17:29:35 +01:00
RoosterDragon
0739fc80a3
Cache the speed modifiers enumerable, not just the traits, in Mobile.
2015-08-31 20:45:34 +01:00
RoosterDragon
be59d045ce
Only enumerate crushable traits once in MobileInfo.IsBlockedBy.
2015-08-31 20:45:25 +01:00
RoosterDragon
ac1658c9ce
Refactor movement cost method to avoid repeated terrain information lookups.
...
As the world tileset is fixed, the pathfinder can look up the terrain information for that tileset on creation. This is implemented by the WorldMovementInfo struct. When calculating node costs, this allows the pathfinder to avoid having to repeat this expensive dictionary lookup on every node.
2015-08-31 20:43:18 +01:00
reaperrr
3175ef4d67
Merge pull request #9193 from Mailaender/quanbo-fixup
...
Fixed BodyOrientation refactor regressions
2015-08-31 20:12:53 +02:00
reaperrr
c39c7cdc4e
Fix d2k NukePower sequence requirement
2015-08-30 15:45:00 +02:00
reaperrr
9da56f51e2
Remove RenderBuilding
2015-08-30 15:44:59 +02:00
Pavel Penev
55045d691a
Make SeedsResource upgradable
2015-08-30 02:13:56 +03:00
reaperrr
bf51e0600d
RenderBuildingWall -> WithWallSpriteBody
2015-08-30 00:22:53 +02:00
reaperrr
21186c10b6
RenderBuildingTurreted -> WithTurretedSpriteBody
2015-08-30 00:22:52 +02:00
reaperrr
69d062495c
RenderBuildingSilo -> WithSiloAnimation
2015-08-29 23:33:18 +02:00
reaperrr
2df318cd3e
RenderBuildingCharge -> WithChargeAnimation
2015-08-29 23:33:17 +02:00
reaperrr
bc2b60be05
Extend WithSpriteBody funtionality
...
Move building placement range circle to PlaceBuilding, add
PauseAnimationWhenDisabled.
2015-08-29 23:10:22 +02:00
Matthias Mailänder
539e25920c
add missing spaces
2015-08-29 21:24:58 +02:00
Matthias Mailänder
25a0143b46
avoid unnecessary trait lookups
2015-08-29 18:58:30 +02:00
Matthias Mailänder
45f7526967
fix dereference after null check
2015-08-29 08:05:00 +02:00
Matthias Mailänder
fda39f7136
add missing ISync
2015-08-29 08:04:37 +02:00
Matthias Mailänder
9c1eeafa08
Merge pull request #9004 from reaperrr/quanbo
...
Introduce QuantizeFacingsFromSequence
2015-08-28 22:46:29 +02:00
Pavel Penev
d1a3bf97a6
Merge pull request #9105 from RoosterDragon/cmfi-refactor-perf
...
Mobile Blocking Refactor
2015-08-28 15:35:49 +03:00
Lavender Moon
4649c03260
Move duplicate Tick() code from Plane and Helicopter to Aircraft.
2015-08-27 16:21:51 -04:00
reaperrr
508c99655c
Made Armor upgradable
2015-08-25 20:12:37 +02:00
Pavel Penev
d48cf695f3
Merge pull request #9144 from Mailaender/opt-find-resource
...
Optimized FindResources worse case scenario path finding
2015-08-25 04:24:05 +03:00
Matthias Mailänder
2a21c7d1f2
don't let bots do 2x the amount of path searches
2015-08-24 21:03:46 +02:00
clemty
2bbc1fcda4
LUA and trait documentation fixes
...
- Typo in documentation ("proximitry").
- Add spaces between sentences.
- Remove most occurrences of " " (two spaces) unless clearly used as indendation
- Punctuation (although no fullstop after filenames like "notifications.yaml").
2015-08-24 19:41:15 +02:00
Pavel Penev
02dd5afbd9
Merge pull request #9058 from RoosterDragon/reduce-alloc
...
Reduce allocations in the main game loop
2015-08-24 02:11:08 +03:00
reaperrr
006e66a3c3
Refactored IQuantizeBodyOrientation implementation
...
Moved BodyOrientation and related interfaces from Game to Mods.Common.
Introduced QuantizeFacingsFromSequence trait.
With*Body render traits no longer implement IQuantizeBodyOrientation
themselves.
2015-08-24 00:48:56 +02:00
Pavel Penev
d64f5f29a4
Merge pull request #9075 from deniz1a/fix-crate
...
Removes LocalPlayer check from HideMapCrateAction and RevealMapCrateAction.
2015-08-23 23:17:28 +03:00
Matthias Mailänder
bec209085b
Merge pull request #7873 from penev92/bleed_raceToFaction
...
Replace old "country" and "race" name in the code with the generic "faction"
2015-08-23 17:49:40 +02:00