Commit Graph

4461 Commits

Author SHA1 Message Date
Matthias Mailänder
4be6b51c58 save a trait lookup 2014-12-09 20:31:34 +01:00
Oliver Brakmann
ac1e7a7352 check shroud against the initiating owner when teleporting
fixes #6999
2014-12-09 20:31:33 +01:00
Matthias Mailänder
253dfcac29 split SimpleTeleport into it's own file 2014-12-09 20:31:33 +01:00
reaperrr
8f076131c8 Merge pull request #7090 from Mailaender/d2k-infantry-noidle-stand
Fixed infantry without idle animation never returning to stand
2014-12-09 20:08:10 +01:00
penev92
09350528fd Moving renders
Remove Traits.Render
2014-12-09 01:29:25 +02:00
obrakmann
fbddff3a75 Merge pull request #7088 from Gishten/taskbranch-7083
Fix aircraft fly endlessly in a circle when ordered to attack inside own...
2014-12-08 09:57:32 +01:00
Jonathan Gustafsson
d7f321e04d Fix aircraft fly endlessly in a circle when ordered to attack inside own turning radius 2014-12-08 07:41:10 +01:00
Chris Forbes
522c63ff58 Merge pull request #7081 from Mailaender/ignore-missing-npc-objectives
Removed the need to give NPCs fake objectives to properly end the game
2014-12-08 14:05:59 +13:00
Matthias Mailänder
9bfd82e868 fix infantry without idle animation not returning to stand 2014-12-07 16:39:09 +01:00
Paul Chote
51f874fae2 Merge pull request #7033 from Mailaender/d2k-carryall-tweaks
Tweaked spice harvester carryalls
2014-12-07 11:09:55 +13:00
obrakmann
01b44f0478 Merge pull request #7079 from Mailaender/mobile-cursor
Unhardcoded and self-documented the mobile cursor definitions
2014-12-06 21:25:01 +01:00
Matthias Mailänder
e16bc064a0 fix the end game dialog not showing which objectives failed
- don't mark everything as failed just because one objective did
- remove fake objectives workarounds for non-playable factions
2014-12-06 21:04:46 +01:00
Matthias Mailänder
486376b56a Merge pull request #7045 from Gishten/bleed
Closes #6989
2014-12-06 20:54:50 +01:00
Matthias Mailänder
74d22f4db2 unhardcode the cursor definitions
closes #7074
2014-12-06 19:01:10 +01:00
Jonathan Gustafsson
c5b2c747f8 Vehicles can't move to nearby walled tile #6989 2014-12-06 15:01:17 +01:00
obrakmann
de28df2c41 Merge pull request #7049 from WolfGaming/FixUpgradeCrash
Added missing stance check.
2014-12-05 21:26:04 +01:00
atlimit8
92779cc496 Support multiple Power traits 2014-12-04 14:19:50 -06:00
reaperrr
7470391c5d Move RA World traits, FrozenUnderFog Modifier and various other traits into Traits 2014-12-03 12:52:17 +01:00
WolfGaming
22ab93b549 Added missing stance check. 2014-12-01 09:57:24 +00:00
Matthias Mailänder
5361b920ca document various traits 2014-11-30 19:08:44 +01:00
Matthias Mailänder
93ef16d657 Merge pull request #7032 from RoosterDragon/less-makearray
Change some Exts.MakeArray calls into Enumerable.Range.
2014-11-30 12:21:11 +01:00
Matthias Mailänder
34bedeb71f split Hovers from WithShadow
fixes #4508
2014-11-30 10:54:36 +01:00
obrakmann
4d1372aaec Merge pull request #7013 from atlimit8/ModsCommonScripting
Move the core of OpenRA.Mods.RA.Scripting to OpenRA.Mods.Common.Scripting
2014-11-29 18:13:18 +01:00
Matthijs Benschop
2d380c64bd Implementation of the automated D2k Carryall
Closes #2246
2014-11-29 12:17:11 +01:00
Paul Chote
71a8815ffb Merge pull request #6760 from atlimit8/RepairableBuildingByUpgrade
Repairable building by upgrade
2014-11-29 22:16:24 +13:00
RoosterDragon
dc2e44da36 Change some Exts.MakeArray calls into Enumerable.Range.
Avoid creating some arrays where sequences will suffice.
2014-11-29 02:20:42 +00:00
atlimit8
9ddf6dc36c Added RepairableBuildingInfo.CancelWhenDisabled 2014-11-27 17:55:35 -06:00
atlimit8
3c79a9d875 Added upgrade support to RepairableBuilding 2014-11-27 16:28:45 -06:00
atlimit8
1d631d6980 Added Upgrade support to Sellable 2014-11-27 12:08:14 -06: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
Matthias Mailänder
7ad2a57517 Merge pull request #6927 from huwpascoe/actor-fixup
Actor properties consistency improved
2014-11-23 14:53:33 +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
abcdefg30
19713a19f6 Added support for selecting mission difficulty 2014-11-23 13:31:35 +01:00
obrakmann
13ff5ddf6a Merge pull request #6986 from chrisforbes/minimal-neighbors
Prune neighbor sets based on direction we arrived at a cell
2014-11-23 12:42:54 +01:00
Chris Forbes
68309af233 Remove enemy territory avoidance in FindResources.
This is called from the inner loop of the pathfinder, so cannot afford
to do actor queries etc. It also didn't have the desired effect --
harvesters still wander through enemy territory even with the bias.

Just rip it out for a perf win.
2014-11-23 15:09:48 +13:00
Chris Forbes
f4e5c63408 Pathfinder: Only consider useful neighbors
Depending on the direction we came from, many neighbors are completely
useless. This is the first step to implementing the ideas in 'Jump Point
Search'

V2: Added comment describing what the array is for.
2014-11-23 15:09:48 +13:00
Chris Forbes
c470945db7 Remove vestigial direction-sorting machinery from PathSearch 2014-11-23 15:09:48 +13:00
huwpascoe
d313317cf5 Cleaned up the server browser 2014-11-22 21:55:55 +00:00
huwpascoe
a660bb95b5 Actor properties consistency improved 2014-11-21 02:44:05 +00:00
reaperrr
f3f051fd46 Move Common Modifiers and PaletteEffects into Traits space 2014-11-18 18:10:59 +01:00
reaperrr
127969d014 Move Air activities and traits to Activities\Air and Traits\Air, respectively 2014-11-17 12:56:18 +01:00
Paul Chote
5c4d49394d Merge pull request #6945 from Phrohdoh/madtank-fix
MadTank deployed teleportation fix.
2014-11-16 17:31:46 +13:00
Taryn Hill
31b24b4802 Implement (new) IPreventsTeleport in MadTank.
Prevents MadTank from being teleported after deployment.
2014-11-15 20:55:44 -06:00
obrakmann
8ac2f7fce3 Merge pull request #6957 from ScottNZ/bleed
Set passenger facings when they are unloading
2014-11-15 23:54:15 +01:00
obrakmann
2c3b812b26 Merge pull request #6949 from pchote/retire-classic-mouse
Retire classic mouse orders
2014-11-15 19:38:32 +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