Commit Graph

4741 Commits

Author SHA1 Message Date
Pavel Penev
50679cd6c4 Merge pull request #9576 from obrakmann/fix-broken-infiltration
Fix inverted TargetTypes test in Infiltrates order resolution logic
2015-10-09 01:37:32 +03:00
Oliver Brakmann
6274f2a47e Merge pull request #8768 from matija-hustic/attackbase_refactor
Some work on Attack*
2015-10-08 21:56:22 +02:00
Oliver Brakmann
784f2425bf Fix inverted TargetTypes test in Infiltrates order resolution logic 2015-10-08 21:21:15 +02:00
Matija Hustić
d94c645046 First step in the attack mechanism's refactor.
Enabled firing multiple armaments at a target simultaneously.
Each armament defines own cursor for targeting.
The force attack modifier influences armament choice for target.
Autotargeting modified to handle firing multiple armaments simultaneously.
As a consequence, healers (medics) no longer require separate Heal
activity and AttackMedic and AutoHeal traits.
2015-10-06 01:46:55 +02:00
Paul Chote
9b6dba02a8 Improve customisation of support power targeting. 2015-10-05 22:05:01 +01:00
atlimit8
49d7604bd9 Cache WeaponInfo look-ups 2015-10-03 22:29:40 -05:00
Pavel Penev
8a44366667 Merge Plane and Helicopter into Aircraft 2015-10-01 20:15:41 +03:00
atlimit8
74a9dc6793 Added IRangeMultiplier 2015-09-24 16:37:43 -05:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01:00
atlimit8
de7f5a4288 Make Range WDist for all traits with circular ranges. 2015-09-19 11:02:28 -05:00
atlimit8
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
atlimit8
85fab45451 Remove Actor.HasTrait<T>() 2015-09-19 09:49:23 -05:00
abcdefg30
5660b45690 Merge pull request #9267 from clemty/luadocs
Lua API documentation cleanup
2015-09-11 20:32:48 +02:00
atlimit8
8250f223c4 More HashSet trait fields & Lint support 2015-09-05 16:59:30 -05:00
clemty
ea71620f47 Lua API documentation cleanup
also reduces amount of headings with only a single entry

SendAirStrike() - now listed under "Support Powers"
Guard() - now listed under "Combat"
FindResources() - now listed under "Movement"
Deploy() - now listed under "General"
SendParaTroopers() - now listed under "Support Powers"
Paradrop() - no listed under "Transports"

Teleport() should probably be listd under "Movement", but I don't know how to change that (currently listed under "General").

note that I changed "ScriptGlobal" to "ScriptPropertyGroup" for SendAirStrike() - I hope that does not screw up anything
2015-09-05 15:01:14 +02:00
RoosterDragon
901e604cf3 Replace arrays with sets.
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
atlimit8
fadfd179cb Cache FrozenActor ITargetable.TargetTypes union 2015-09-02 23:19:00 -05:00
atlimit8
a6cd770dcf Remove TargetableSubmarine 2015-09-02 23:14:41 -05:00
atlimit8
23d0424437 Add ITargetablePositions seperating it from ITargetable 2015-09-02 23:14:40 -05:00
atlimit8
f5c3575c5a Support multiple ITargetable traits 2015-09-02 23:14:40 -05:00
Pavel Penev
2042fccefd Merge pull request #9189 from reaperrr/bye-rendersimple3
Remove RenderBuilding
2015-09-02 19:21:01 +03:00
Pavel Penev
8e2fca6f46 Merge pull request #9225 from LipkeGu/Namespace_Is_Wrong
Fix Namespace definition
2015-09-02 13:42:01 +03:00
Guido L
7181519fe4 Fix Namespace definition 2015-09-02 08:11:27 +02:00
reaperrr
9da56f51e2 Remove RenderBuilding 2015-08-30 15:44:59 +02:00
Pavel Penev
5e55cef02c Merge pull request #8699 from deniz1a/disguise-owner
Shows real owner of disguised units to allies.
2015-08-30 14:32:34 +03:00
clemty
2bbc1fcda4 LUA and trait documentation fixes
- Typo in documentation ("proximitry").
- Add spaces between sentences.
- Remove most occurrences of "  " (two spaces) unless clearly used as indendation
- Punctuation (although no fullstop after filenames like "notifications.yaml").
2015-08-24 19:41:15 +02:00
abcdefg30
87580d0aab Add a GpsRemoveFrozenActor trait 2015-08-22 21:36:30 +02:00
Zimmermann Gyula
3670c003a4 Prevent infiltrating allied targets unless explicitly set. 2015-08-22 00:35:41 +02:00
Pavel Penev
663c9239df Mop up remaining "race" private variables 2015-08-18 00:26:11 +03:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
abcdefg30
0c4e691008 Rename HuskActor to Actor 2015-08-17 17:38:07 +02:00
abcdefg30
3dc5515d16 Remove references to 'husk' in the descriptions 2015-08-17 17:38:06 +02:00
abcdefg30
9f5a8a6d1f Fix the creeps setting being ignored 2015-08-17 17:38:03 +02:00
abcdefg30
e8477b1b5a Rename LeavesHusk to SpawnActorOnDeath 2015-08-09 19:24:14 +02:00
abcdefg30
538723f8fb Merge SpawnViceroid into LeavesHusk 2015-08-08 23:23:31 +02:00
Matthias Mailänder
e428e6d8cc remove executable bits from source code 2015-08-06 18:05:50 +02:00
Oliver Brakmann
a2a0059f7f Fix chronoshift duration being visible to enemy players 2015-07-27 13:32:51 +02:00
penev92
7c1ef2231d Rename RaceInit to FactionInit 2015-07-25 00:39:31 +03:00
Matthias Mailänder
50d5f1f161 unhardcode and reference tesla zap sprite sequences 2015-07-19 19:24:17 +02:00
penev92
bb648decc3 Rename Player.Country to Player.Faction 2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd Rename Faction trait members
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
atlimit8
daec860192 Added multiplier modifier traits, removing GainsStatUpgrades, InvulnerabilityUpgrade, & Invulnerable. 2015-07-13 09:24:50 -05:00
abcdefg30
b4031c6e9b Merge pull request #8703 from atlimit8/RequireInMiniYaml
Require trait properties in MiniYaml
2015-07-13 15:50:06 +02:00
abcdefg30
ea5ef1c500 Merge pull request #8662 from atlimit8/UpgradableTargetableUnit
Upgradable TargetableUnit & apply to Allies 03
2015-07-13 15:40:28 +02:00
abcdefg30
db4f1ad025 Merge pull request #8663 from Mailaender/disguise-stand2-crash
Fixed a crash when disguising the spy as infantry without stand2
2015-07-13 13:39:19 +02:00
atlimit8
9905f217ef Make TargetableUnit upgradable 2015-07-12 19:41:29 -05:00
Matthias Mailänder
41b488779a fix crash when disguising the spy as infantry without stand2 2015-07-12 22:20:52 +02:00
atlimit8
1bcc07ce69 Add property requirements to safe traits 2015-07-12 12:44:30 -05:00