Commit Graph

4551 Commits

Author SHA1 Message Date
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
Paul Chote
ba89eaa50d Revert cachedLocation change that caused issues with transports.
This partially reverts commit 2f5ac1a360.
2014-10-06 18:07:30 +13:00
huwpascoe
d948cb5d55 Chinooks now accept deploy order inflight 2014-10-06 01:16:14 +01:00
Matthias Mailänder
24732ae635 port allies-02 to new Lua API 2014-10-05 22:45:23 +02:00
Matthias Mailänder
6a8345b3d0 document traits with generic names 2014-10-05 17:58:43 +02:00
Matthias Mailänder
1f7bd53b19 Merge pull request #6663 from reaperrr/common-stuff4
Moved more stuff to Mods.Common
2014-10-05 10:10:14 +02:00
Matthias Mailänder
f6f88bddb2 Merge pull request #6644 from pchote/proximity-triggers
Closes #2175
2014-10-05 09:12:00 +02:00
Matthias Mailänder
25c89698fd document HarvesterAttack- and BaseAttackNotifier 2014-10-05 08:59:29 +02:00
reaperrr
8b5bd49095 Move ResourceClaim and ResourceClaimLayer to Mods.Common 2014-10-04 18:52:48 +02:00
reaperrr
9381386b7c Move PlayMusicOnMapLoad to Mods.Common 2014-10-04 18:50:14 +02:00
reaperrr
c741fcedec Move Smoke effect, ContrailFader effect, SmudgeLayer and LeaveSmudgeWarhead to Mods.Common 2014-10-04 18:48:07 +02:00
obrakmann
d204b2470e Merge pull request #6647 from pchote/pbox-spawn-fix
Set CurrentAdjacentCells correctly for Lua-spawned transports
2014-10-04 16:16:26 +02:00
obrakmann
820cb945c9 Merge pull request #6656 from pchote/turret-facing-fix
Turret facing fix
2014-10-04 13:52:07 +02:00
Matthias Mailänder
78f934dfb8 Merge pull request #6640 from reaperrr/mods-common-03
Moves Console and some effects to Mods.Common
2014-10-04 13:33:41 +02:00
obrakmann
84cec1baba Merge pull request #6650 from pchote/luatable-bridge
Allow Lua bridge to convert between LuaTable and arrays.
2014-10-04 12:36:36 +02:00