RoosterDragon
8ef8c60a1a
Remove allocations when enumerating sync hashes on an actor.
...
Exposing Actor.SyncHashes as an array allows allocation free enumeration, we just need to adjust the SyncHash type to run the hash function.
2017-12-10 13:49:52 +00:00
RoosterDragon
5338784e45
Fix bad uses of FirstEnabledTraitOrDefault on TraitInfos.
...
These are not traits so this method does not work. We can use EnabledByDefault on the ConditionalTraitInfo instead.
2017-12-10 13:39:24 +00:00
RoosterDragon
7a7eed4fb7
Add FirstEnabledTraitOrDefault helper method.
...
This avoids the allocations caused by LINQ when using traits.FirstOrDefault(Exts.IsTraitEnabled). This is important in FrozenActorLayer.RefreshState which is called very often. We apply the new helper method to all areas using the old pattern. An overload that takes an array allows arrays to be enumerated without causing allocations.
2017-12-10 13:39:24 +00:00
Paul Chote
cb670d83b3
Set PredictedStance when changing stance from Lua.
2017-12-08 01:54:55 +01:00
reaperrr
1a20dd15cb
Fix D2k hightech factory sprite offsets
...
To match original.
2017-12-08 02:41:11 +02:00
reaperrr
2218b1a078
Fix terrain type of d2k tile #401
2017-12-08 02:41:11 +02:00
reaperrr
ce88d50d9c
Fix offset and animation speed of D2k refinery smoke overlay
2017-12-08 02:41:11 +02:00
Paul Chote
7ebea32be9
Remove hardcoded settings backend.
2017-12-08 01:29:15 +01:00
Paul Chote
eb3ab682e8
Remove unused hotkeys from each mod.
2017-12-08 01:29:15 +01:00
Paul Chote
b4c5346346
Migrate hotkey linter to HotkeyManager.
2017-12-08 01:29:15 +01:00
Paul Chote
74c390d1d0
Migrate input settings to HotkeyManager.
2017-12-08 01:29:15 +01:00
Paul Chote
2f79173044
Migrate hotkey consumers to HotkeyManager.
2017-12-08 01:29:15 +01:00
Paul Chote
35a3df3736
Duplicate default hotkeys in yaml.
2017-12-08 01:29:15 +01:00
Paul Chote
f98907f42e
Add HotkeyManager class.
2017-12-08 01:29:15 +01:00
Paul Chote
811427adc4
Add HotkeyReference.IsActivatedBy method.
2017-12-08 01:29:15 +01:00
Paul Chote
c4237d6a1a
Rename NamedHotkey to HotkeyReference.
2017-12-08 01:29:15 +01:00
abcdefg30
6dd42f7ab1
Replace bogus ROF values in missions
2017-12-07 20:44:41 +02:00
RoosterDragon
62ab6ae6f1
OccupiedCells and TargetableCells must return arrays, not just enumerables.
...
This allows callers to efficiently enumerate these returned collections without the allocation and overhead imposed by the IEnumerable interface. All implementations were already returning arrays, so this only required a signature change.
2017-12-07 20:39:30 +02:00
FrameLimiter
da036c5728
Fixes EditorTilesetFilter for T04 cactus
2017-12-05 21:32:28 +01:00
Smittytron
3d8ab75faf
RA Balance changes (December 2017)
2017-12-05 12:38:13 +01:00
Paul Chote
9d2935935c
Add a debug visualization for screen map rectangles.
2017-12-04 23:10:23 +01:00
Paul Chote
0f512088d2
Unify ingame-debug.yaml.
2017-12-04 23:10:23 +01:00
Paul Chote
1a1c6368fc
Fix ScreenMap handling of flipped sprites.
2017-12-04 03:54:23 +02:00
Arular101
1b94378f71
Disable the new build radius lobby option for minigames
2017-12-02 20:26:23 +01:00
Mustafa Alperen Seki
f4086e4fe0
Update one of the dead worm tiles
2017-12-02 05:18:19 +01:00
Pavel Penev
77ae802b9c
Added D2k asset installer d2k-e
2017-12-02 00:08:50 +01:00
Pavel Penev
8f5787a57f
Added D2k asset installer d2k-d
2017-12-02 00:08:50 +01:00
Pavel Penev
45a2f5e6c1
Added D2k asset installer d2k-c
2017-12-02 00:08:50 +01:00
Pavel Penev
649971d517
Renamed D2k asset installers to systematize namings
2017-12-02 00:08:50 +01:00
Pavel Penev
450cbeea96
Added an extra bit of installer data to Install.log
2017-12-02 00:08:50 +01:00
Pavel Penev
e09d502ce1
Make mod launchers run the game inside a child launcher instead of via OpenRA.Game.exe
...
This also removes the need to manually set application icons on Windows.
2017-12-02 00:05:57 +01:00
Pavel Penev
bd67bd24c0
Pull out game loop initialization from OpenRA.Program into OpenRA.Game and exception handling into its own class under OpenRA.Game/Support
2017-12-02 00:05:57 +01:00
abcdefg30
f249554b4f
Fix swapped waypoint naming in Survival 01
2017-11-30 02:00:43 +01:00
abcdefg30
53dabfeb49
Move all waypoints of Survival 01 inside the map bounds
2017-11-30 02:00:43 +01:00
abcdefg30
3a94312fcd
Move all waypoints of Evacuation inside the map bounds
2017-11-30 02:00:43 +01:00
abcdefg30
616ee6cce4
Remove a misplaced camera actor
2017-11-30 02:00:43 +01:00
RoosterDragon
6a97502e09
Reuse buffers when loading Xcc databases.
...
We can reuse the list as a buffer when reading strings to avoid throwaway allocations, which will reduce GC pressure during loading.
2017-11-30 02:16:51 +02:00
reaperrr
c48ddbdfa5
Fix Mammoth Mk2 render bounds
...
And polish trait internals a little.
2017-11-29 11:39:24 +02:00
reaperrr
d21992130a
Fix TS harvester render bounds
2017-11-29 11:39:24 +02:00
Paul Chote
4994716cf7
Ignore empty children when aggregating EventBounds.
2017-11-27 16:09:34 +02:00
dsimmons87
65a2410738
Fixed bug in map Retry Install
...
If the download failed, the map status would be MapStatus.DownloadError,
which would cause the Install method to return immediately. I've updated
the Install method now to account for MapStatus.DownloadError.
2017-11-27 15:18:33 +02:00
Paul Chote
8fea476a0d
Fix NRE when ProvidesPrerequisite is defined on the player actor.
2017-11-26 19:51:46 +01:00
abcdefg30
ed67cea852
Fix a crash in Disguise.cs when order.TargetActor is null
2017-11-26 18:41:53 +01:00
abcdefg30
c83dda4ce7
Initialize AsActor as self.Info
2017-11-26 18:41:53 +01:00
abcdefg30
4c707ad6a6
Fix WithDisguisingInfantryBody crashing when losing the disguise
2017-11-26 18:41:53 +01:00
Arular101
02d57c5fee
Soviet05 Radar Reveal
...
Added beacon and message
2017-11-26 17:26:57 +01:00
Mustafa Alperen Seki
2043576857
Add Modified Outpost tooltip to Ordos4.
2017-11-26 16:53:17 +01:00
Mustafa Alperen Seki
15b77f8d91
Add Harkonnen 5
2017-11-26 16:53:17 +01:00
Paul Chote
b898b5001a
Rename AttackBase.IsAttacking to IsAiming to make its uses and assumptions clear.
2017-11-26 15:58:00 +01:00
Paul Chote
ea05221180
Count AttackStatus.NeedsToTurn as valid for AttackBase.IsAttacking.
2017-11-26 15:58:00 +01:00