Commit Graph

160 Commits

Author SHA1 Message Date
penev92
681042caec Further RA project cleanup 2014-12-23 15:18:07 +02:00
reaperrr
5c5210f5e3 Dissolve Move namespace into Activities & Traits 2014-12-22 17:32:08 +01:00
Oliver Brakmann
280b30961f Add plumbing for short game option 2014-12-18 20:03:26 +01:00
Oliver Brakmann
470ae17271 Move mission objectives and victory conditions to Mods.Common 2014-12-18 20:03:26 +01:00
reaperrr
ee8e1f46c1 Move 'Activity' into its own namespace in OpenRA.Game. 2014-12-14 17:12:46 +01:00
reaperrr
91c19b0f66 Move various RA-specific traits to the new folder/namespace structure 2014-12-14 17:11:52 +01:00
reaperrr
b217730caa Move Activities CallFunc, RemoveSelf and SimpleTeleport to Common 2014-12-14 17:11:52 +01:00
Matthias Mailänder
e353c93b76 Merge pull request #7107 from reaperrr/ra-common-move01
Made Common namespaces more consistent
2014-12-12 22:19:54 +01:00
reaperrr
584a6b2e75 Splits AttackMove into trait and activity.
Moves them to subfolders/namespaces accordingly.
2014-12-12 13:24:30 +01:00
reaperrr
ffca040c47 Moves traits from Common and Power namespaces to Common.Traits namespace 2014-12-11 23:21:31 +01:00
penev92
ce2c536a1a Move Upgrades and Prerequisites 2014-12-10 00:07:07 +02:00
reaperrr
7470391c5d Move RA World traits, FrozenUnderFog Modifier and various other traits into Traits 2014-12-03 12:52:17 +01:00
atlimit8
91b5ac5070 Move the core of OpenRA.Mods.RA.Scripting to OpenRA.Mods.Common.Scripting 2014-11-26 15:49:16 -06:00
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
Matthias Mailänder
f263579158 Merge pull request #6934 from abcdefg30/survival01
Ported Survival01 to Lua
2014-11-23 15:17:42 +01:00
abcdefg30
33eeee4680 Added OnKilledOrCaptured and OnAllKilledOrCaptured 2014-11-23 13:32:40 +01:00
abcdefg30
e29adf5f4f Added proximity triggers 2014-11-23 13:31:39 +01:00
abcdefg30
0899b26874 Added some power functions 2014-11-23 13:31:38 +01:00
huwpascoe
a660bb95b5 Actor properties consistency improved 2014-11-21 02:44:05 +00:00
reaperrr
127969d014 Move Air activities and traits to Activities\Air and Traits\Air, respectively 2014-11-17 12:56:18 +01:00
Matthias Mailänder
bad8f70210 Merge pull request #6921 from reaperrr/common-traits01
Moved various traits to Mods.Common
2014-11-15 09:41:36 +01:00
Paul Chote
563efd678a Revert "DevEnableTech now displays from all factions"
This reverts commit 5d5f302d07.
2014-11-15 09:20:04 +13:00
reaperrr
0cbcae93a9 Move Valued, CustomSellValue and CustomBuildTimeValue to Common 2014-11-14 01:01:46 +01:00
reaperrr
5aec72ce6d Adds Mods.Common usings where necessary. 2014-11-05 20:46:53 +01:00
Oliver Brakmann
eb9cf40c4c Add ReturnToBase to Lua API 2014-11-02 12:51:18 +01:00
obrakmann
2b6295608a Merge pull request #6689 from huwpascoe/alltech
DevEnableTech now displays from all factions
2014-11-01 21:02:31 +01:00
Matthias Mailänder
1478822a2f Merge pull request #6836 from pchote/polish-gdi0102
Closes #6757
Closes #6834
2014-10-26 08:02:46 +01:00
Matthias Mailänder
cb7ed7bf61 Merge pull request #6837 from obrakmann/mission-polish
Another mission polish PR
2014-10-26 07:47:47 +01:00
Paul Chote
8b66162e99 Fix landing craft reinforcements in GDI01 and GDI02. 2014-10-26 09:21:43 +13:00
Paul Chote
8e4765ca46 Allow integers to bridge to enums. 2014-10-26 09:19:45 +13:00
Paul Chote
69b561b12c Fix transport cargo visibility in GDI01 and GDI02. 2014-10-26 09:19:45 +13:00
Paul Chote
91854c52fa Catch and display an error if CallLuaFunc throws. 2014-10-26 09:17:12 +13:00
Oliver Brakmann
f891b626f3 Document another pitfall in the Lua API 2014-10-25 12:45:16 +02:00
Oliver Brakmann
4b63b6ef2e Whitespace fixes 2014-10-21 22:08:06 +02:00
Oliver Brakmann
d1af36c189 Point out pitfalls in the Lua API documentation 2014-10-21 22:08:06 +02:00
Oliver Brakmann
35ccc79902 Move Utils.CenterOfCell into Map global 2014-10-21 22:08:06 +02:00
Oliver Brakmann
37c5d51f19 Move Utils.Seconds and .Minutes into DateTime global
Also renames Date.IsHalloween to DateTime.IsHalloween
2014-10-21 22:08:06 +02:00
huwpascoe
5d5f302d07 DevEnableTech now displays from all factions 2014-10-19 20:28:29 +01:00
abcdefg30
d7857416b1 Added two diplomacy functions to lua
...and sneaked into AUTHORS
2014-10-19 13:30:00 +02:00
abcdefg30
8bd64f6a66 Added Kill function to lua 2014-10-19 13:24:59 +02:00
abcdefg30
b85cff62d3 Added OnInfiltrated function to lua 2014-10-19 13:24:51 +02:00
Paul Chote
b1fba883a9 Remove legacy Lua API. 2014-10-19 12:43:17 +13:00
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
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
8508fc5155 Support changing owner from within scripted maps. 2014-10-18 08:41:11 +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