Pavel Penev
642468ce0c
Add MapGrid class
...
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
atlimit8
5e4e085a85
Merge pull request #9445 from RoosterDragon/activity-early-bail
...
Provide an early exit in RunActivity when there is no activity
2015-09-26 14:02:14 -05:00
Oliver Brakmann
d667271ab7
Merge pull request #9262 from RoosterDragon/frozen-unify-dict
...
Speed up FrozenUnderFog.Tick
2015-09-26 20:45:58 +02:00
RoosterDragon
285a3eab2e
Merge pull request #8760 from atlimit8/RangeMultiplier
...
Added [I]RangeMultiplier & made UpgradeMultiplierTraitInfo implement ITraitInfo
2015-09-26 16:24:17 +01:00
RoosterDragon
faaf1ea1e1
Provide an early exit in RunActivity when there is no activity.
2015-09-26 15:32:26 +01:00
Matthias Mailänder
76b53ce9d7
Merge pull request #9288 from RoosterDragon/action-queue-order
...
Fix ActionQueue ordering
2015-09-26 13:42:56 +02:00
Matthias Mailänder
3884a31550
Merge pull request #9313 from RoosterDragon/actor-eager
...
Eagerly cache traits in Actor
2015-09-26 13:18:05 +02:00
Paul Chote
7ceb283034
Merge pull request #9263 from penev92/assetInstallation
...
Move asset installation to the ModChooser
2015-09-26 10:40:04 +01:00
Paul Chote
7dcb896f3d
Rewrite BlowfishKeyProvider.ProcessPredata using safe code.
...
Fixes #2441 . This error would occur when the memory
regions were allocated at particular addresses when
running a mono-compiled binary on a .net runtime.
The data would be copied to the pointer returned
from a fixed() statement, but the managed array
would *not* be updated with the new data. This
caused DecryptKey to silently return a bogus key
full of zeros, and the mix file header decryption
would subsequently fail.
2015-09-25 22:13:55 +01:00
atlimit8
74a9dc6793
Added IRangeMultiplier
2015-09-24 16:37:43 -05:00
atlimit8
65c1d2f5c1
Add IRulesetLoaded for late binding in trait info getting all rules
2015-09-24 16:26:42 -05:00
Pavel Penev
cdd4590ece
Merge pull request #8839 from RoosterDragon/test-sync-implementations
...
Test sync implementations
2015-09-24 15:17:33 +03:00
Pavel Penev
fbfb2cfda1
Remove asset handling from BlankLoadScreen
2015-09-23 15:32:40 +03:00
Pavel Penev
d472805fc6
Add mod asset checks to ModBrowserLogic
2015-09-23 15:32:37 +03:00
Pavel Penev
4314fae77a
Move ContentInstaller to OpenRA.Game from Mods.Common
2015-09-23 15:32:35 +03:00
RoosterDragon
6b62aa1ad5
Add missing sync interfaces.
2015-09-21 22:17:06 +01:00
RoosterDragon
593d913f55
Remove sync on actor - as it doesn't currently work.
2015-09-21 22:16:03 +01:00
atlimit8
9cef739dd5
Make ActorInfo.{Traits => traits} private
2015-09-21 15:50:57 -05:00
atlimit8
b889675c83
ActorInfoTest fixup with new ActorInfo ctor
2015-09-21 15:50:57 -05:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
atlimit8
6e39a5e264
Replace .WithInterface<T>().Any() => .HasTraitInfo<T>()
2015-09-21 15:50:57 -05:00
atlimit8
b38b6eadd0
Add IEnumerable<ITraitInfo> ActorInfo.TraitInfos() replacing actorInfo.traits enumeration
2015-09-21 15:50:57 -05:00
RoosterDragon
7decfc83ea
Fix ActionQueue ordering.
...
This enforces a well defined ordering for ActionQueue to ensure it runs actions in the the order one would expect.
2015-09-20 23:20:51 +01:00
Paul Chote
d112083c44
Clean up sound devices on game exit.
2015-09-20 22:46:07 +01:00
RoosterDragon
6b9bd1cbbc
Eagerly cache traits in Actor.
...
In this case, removing the lazy generation buys us more performance in removing the overhead of accessing these values than we lose from avoided computation when these values are never accessed.
2015-09-20 22:36:21 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
131084d129
Changed missed ActorInfo.Traits.Contains => ActorInfo.HasTraitInfo
2015-09-19 12:06:37 -05:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
reaperrr
4fa20e78fa
Merge pull request #9304 from atlimit8/Fix_AttackBase_GetMinimumRange
...
Make AttackBase.GetMinimumRange() return WDist.Zero if there are no available armaments
2015-09-18 01:26:35 +02:00
abcdefg30
f78aea4f90
Merge pull request #8636 from Mailaender/irc
...
Added the in-game IRC client again
2015-09-13 17:14:36 +02:00
Matthias Mailänder
dae3b62d2a
add a simple in-game IRC client
2015-09-09 20:56:05 +02:00
Pavel Penev
20fe9a9ff2
Merge pull request #9255 from pchote/gamespeed
...
Add a game speed dropdown to the lobby options.
2015-09-09 18:14:05 +03:00
Pavel Penev
7d7e3a8e0e
Merge pull request #9294 from RoosterDragon/remove-shroud-tests
...
Remove Shroud.IsVisibleTest and IsExploredTest
2015-09-09 17:22:00 +03:00
atlimit8
b6ffcb8279
Add WDist.MaxValue
2015-09-08 23:25:48 -05:00
RoosterDragon
d1960258db
Speed up Player.CanViewActor.
...
Create Actor.CanBeViewedByPlayer and simply call this instead. The actor can cache all trait lookups on construction to avoid them being repeated for every visibility check.
2015-09-06 23:29:09 +01:00
RoosterDragon
ebf113dfb7
Remove Shroud.IsVisibleTest and IsExploredTest.
...
These are no longer any faster than the regular checks, so there's no need to keep them.
2015-09-06 21:13:32 +01:00
RoosterDragon
662077a47e
Merge pull request #9103 from reaperrr/water-rot
...
Refactored WaterPaletteRotation into RotationPaletteEffect
2015-09-06 20:19:09 +01:00
TheRaffy
1fc2158f2e
Added a WeatherOverlay
2015-09-06 20:25:29 +02:00
reaperrr
ca055eb7bb
Refactored WaterPaletteRotation
...
Moved RotationBase from tileset definition to WaterPaletteRotation effect.
Unhardcoded rotation range and rotation rate.
Added possibility to exclude Tilesets from effect.
Fixed RA water palette rotation for actors on desert maps (#8872 ).
2015-09-06 19:25:10 +02:00
Paul Chote
1109ec53d1
Update UI timers for variable game speed.
2015-09-06 17:48:42 +01:00
Paul Chote
301b698c81
Add game speed dropdown to the lobby.
2015-09-06 17:48:41 +01:00
Paul Chote
257c043e58
Add Timestep property to GlobalSettings.
2015-09-06 17:48:26 +01:00
Matthias Mailänder
c206bebb7f
Merge pull request #9274 from pchote/fix-sound-engine
...
Don’t create multiple sound contexts.
2015-09-06 11:35:50 +02:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
Paul Chote
886d489766
Don’t create multiple sound contexts.
2015-09-05 18:29:14 +01:00
RoosterDragon
592004e738
Unify the player dictionaries in FrozenUnderFog.
...
This improves the performance of FrozenUnderFog.Tick as only one lookup needs to be done rather than two.
2015-09-05 16:10:00 +01:00
RoosterDragon
901e604cf3
Replace arrays with sets.
...
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
atlimit8
fadfd179cb
Cache FrozenActor ITargetable.TargetTypes union
2015-09-02 23:19:00 -05:00