Commit Graph

4315 Commits

Author SHA1 Message Date
Paul Chote
a08a3a3869 Use INotifyOwnerChanged for updating internal references. 2014-10-18 08:41:11 +13:00
Paul Chote
8508fc5155 Support changing owner from within scripted maps. 2014-10-18 08:41:11 +13:00
obrakmann
53763abfee Merge pull request #6767 from huwpascoe/crush-fix
Fixed ICrushable not being triggered properly
2014-10-17 20:52:50 +02:00
huwpascoe
aae4aa3f24 Fixed ICrushable not being triggered properly 2014-10-16 05:11:16 +01:00
obrakmann
8119273517 Merge pull request #6534 from Mailaender/dps-table-utility
Brought back damage per second export again
2014-10-16 00:10:24 +02:00
Paul Chote
fad0215842 Merge pull request #6698 from RoosterDragon/memory-savings
Small memory savings
2014-10-12 11:43:08 +13:00
reaperrr
f800cd7f02 Merge pull request #6723 from penev92/bleed
Moved two more Orders from RA to Common
2014-10-11 15:55:10 +02:00
Matthias Mailänder
9080d31c5a bring back CSV damage per second export 2014-10-11 12:55:56 +02:00
Paul Chote
bba17b93e1 Add support for thirdparty missions. 2014-10-11 23:06:56 +13:00
Paul Chote
5d32e97ef1 Add support for briefing videos in the mission menu. 2014-10-11 23:05:35 +13:00
Paul Chote
0a4117ec76 Add support for mission groups. 2014-10-11 23:05:35 +13:00
Matthias Mailänder
df5b7d4497 Merge pull request #6699 from obrakmann/fix6692_new_objective_notification
Added notifications for new objectives to scripted missions
2014-10-11 11:05:33 +02:00
penev92
e64380e9df Moved two more Orders from RA to Common 2014-10-11 11:57:05 +03:00
Scott
185d6755f0 Merge pull request #6724 from pchote/absolute-paths
Load assets using absolute file paths
2014-10-11 21:16:09 +13:00
Paul Chote
4f44cc1969 Load assets using absolute paths. Fixes #6717. 2014-10-11 11:02:30 +13:00
atlimit8
3b21c9713f Added bridge hut repair tracking 2014-10-09 18:04:13 -05:00
atlimit8
acc0b618c8 Restricted terrain targeting to force-move enter transports 2014-10-09 18:04:13 -05:00
atlimit8
b736e059e9 Removed Enter(Actor self, Actor target, Activity inside) & made Enter abstract 2014-10-09 18:04:13 -05:00
atlimit8
ad24a70235 Infiltrate as Enter subclass 2014-10-09 18:04:12 -05:00
atlimit8
c994ee4668 DonateSupplies as Enter subclass 2014-10-09 18:04:12 -05:00
atlimit8
41452dcfeb RepairBuilding & RepairBridge as Enter subclasses 2014-10-09 18:04:12 -05:00
atlimit8
6d0feb9fbf Demolish as Enter subclass 2014-10-09 18:04:12 -05:00
atlimit8
4783b1f646 CaptureActor as Enter subclass & fixes 6658 2014-10-09 18:04:12 -05:00
atlimit8
31a096dcf1 HashSet<byte> => BitArray resourceTypeIndices
BitArray can store 256 bits in 32 bytes plus overhead (pointer & length),
which gives it better memory locality too (<= 2 locations in memory).
Also, the actual count will be much less, probably at most around a dozen.
This might not impact performance, but the AI is dumb & HashSet<byte> is
clearly inefficient.
2014-10-09 20:03:25 +01:00
RoosterDragon
59b3cd154d Change indexes into tile arrays to be stored as bytes to save memory.
The index value needs only be big enough to handle all defined terrain types. This is a low number so we can save memory by defining it as a byte. This particularly saves memory for the CustomTerrain field in the Map class, which defines a cell layer for the map using tile indexes, so we can reduce the size of that layer 4x as a result.
2014-10-09 20:03:01 +01:00
obrakmann
268c63f7df Merge pull request #6714 from penev92/bleed
Moved DeployOrderTargeter.cs from OpenRA.Mods.RA to Common
2014-10-09 18:02:48 +02:00
reaperrr
827eb6806e Merge pull request #6705 from steelphase-forks/common-resharp
Mods.Common resharpered
2014-10-08 22:15:00 +02:00
Taryn Hill
3f83e8432d Merge pull request #6712 from steelphase-forks/bleed-copy-local
remove copy local
2014-10-08 15:01:42 -05:00
Taryn Hill
dc9b97c695 Merge pull request #6675 from Mailaender/ts-harvester-attack-notifier
Fixed Tiberian Sun harvester under attack notification not playing.
2014-10-08 10:41:48 -05:00
penev92
7e59e1bf9a Moved DeployOrderTargeter.cs from OpenRA.Mods.RA to Common 2014-10-08 15:29:58 +03:00
steelphase
628463f920 remove copy local
remove copy local from project references
2014-10-08 02:29:14 -04:00
Oliver Brakmann
36477ae323 Added notifications for new objectives to scripted missions
Fixes #6692
2014-10-08 06:24:51 +02:00
obrakmann
c1d1c6f226 Merge pull request #6653 from pchote/empdisable
Disable movement of EMPd actors
2014-10-07 21:31:19 +02:00
Paul Chote
5050748afe Fix invalid targets invalidating GrantUpgradeWarhead for all nearby actors. 2014-10-07 20:21:28 +13:00
Paul Chote
fde963a993 Make EMP freeze mobile actors. 2014-10-07 19:30:24 +13:00
Paul Chote
6b54575569 Fix Move activity ignoring IDisableMove. 2014-10-07 19:30:24 +13:00
Paul Chote
34eb634779 Add self argument to Move constructors. 2014-10-07 19:30:23 +13:00
Paul Chote
772994c1c4 Remove Mobile assumptions from Lua APIs. 2014-10-07 19:30:23 +13:00
steelphase
0cb0ae57f3 Mods.Common Commands namespace
Added Commands Namespace.
2014-10-07 02:14:09 -04:00
Chris Forbes
ea475ed39b DomainIndex: Fix benign loop variable in closure hazard
This never outlived a single iteration of the neighbors loop.
2014-10-07 18:30:23 +13:00
Chris Forbes
3360b11962 WithMuzzleFlash: fix loop variable in closure hazard
This fixes a real bug -- if the actor had multiple armaments, we'd end
up placing the muzzle flashes all based on the offsets of the last one.
2014-10-07 18:27:31 +13:00
Chris Forbes
98563eb854 PrimaryBuilding: Fix benign loop variable in closure hazard
This never outlived a single loop iteration.
2014-10-07 18:24:00 +13:00
Chris Forbes
f2492f4155 LevelUpCrateAction: fix loop variable in closure bug
This was a real bug -- if there were multiple recipients, we'd apply the
levels N times to the last recipient rather than once to each.
2014-10-07 18:19:55 +13:00
Matthias Mailänder
802eaac87b Merge pull request #6691 from pchote/objective-duplication
Fix closure issue with mission objectives.
2014-10-06 20:58:18 +02:00
Matthias Mailänder
86c12a3637 Merge pull request #6667 from steelphase-forks/common-effects
Mods.Common effects
2014-10-06 20:57:12 +02:00
Matthias Mailänder
1770ce4b60 Merge pull request #6687 from pchote/fix-shellmap
Revert "Some minor Cargo style fixes."
2014-10-06 19:50:21 +02:00
obrakmann
d288868ca6 Merge pull request #6690 from huwpascoe/cargoland
Chinooks now accept deploy order inflight
2014-10-06 17:21:28 +02:00
Paul Chote
06d1a2fbe2 Merge pull request #6379 from Mailaender/allies-02-new-lua
Ported Allies 02 to the new Lua API
2014-10-06 19:47:43 +13:00
steelphase
3c60794e2e Mods.Common Effects
Moved over more effects to Mods.Common
2014-10-06 01:57:10 -04:00
Paul Chote
a77714f98b Fix closure issue with mission objectives. Fixes #6680. 2014-10-06 18:49:36 +13:00