Commit Graph

4326 Commits

Author SHA1 Message Date
Oliver Brakmann
c0da807ee7 Add production support to the new Lua API 2014-10-18 18:19:03 +02:00
Oliver Brakmann
5140ce4762 More Lua API enhancements 2014-10-18 18:19:02 +02:00
Oliver Brakmann
a1ce37ddc5 Fix issues in ScriptTriggers' Clean method
* fixes a memory leak
* moves the cleanup into a FrameEndTask to avoid collisions with the
  trigger iterator (fixes #6747)
2014-10-18 16:25:46 +02:00
Matthias Mailänder
5b06008b53 Merge pull request #6765 from huwpascoe/mcvgroup
Fixes #6763
2014-10-18 14:29:47 +02:00
Matthias Mailänder
a9cd2e686c Merge pull request #6753 from pchote/ingame-menu-cleanup
Ingame menu cleanup
2014-10-18 12:52:17 +02:00
Matthias Mailänder
5701162588 Merge pull request #6746 from pchote/lua-ownership
Fix ChangeOwner bogosity.
2014-10-18 12:41:59 +02:00
Paul Chote
79492a3240 End the mission when a script error occurs. 2014-10-18 13:32:15 +13:00
Paul Chote
dbd4b0931b Don’t crash if trigger callbacks throw exceptions. 2014-10-18 12:59:11 +13:00
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
Paul Chote
13393c301c Add world desaturation to TD end-game menu. 2014-10-17 22:11:06 +13:00
Paul Chote
311a909f18 Fix the in-game widget hierarchy. 2014-10-17 22:11:06 +13:00
huwpascoe
aae4aa3f24 Fixed ICrushable not being triggered properly 2014-10-16 05:11:16 +01:00
huwpascoe
15fa152bc3 MCV no longer loses controlgroup when transforming 2014-10-16 01:44:06 +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