Mustafa Alperen Seki
d062523700
Add GetActorsByTypes.
2018-08-04 12:20:16 +02:00
Mustafa Alperen Seki
9c61217bc6
Add ability to send a radar ping with lua.
2018-07-26 00:03:45 +01:00
Mustafa Alperen Seki
2387e49ee7
Add ability to use NukePower via lua.
2018-07-04 16:41:27 +02:00
reaperrr
5364515004
Don't pass movement class via IsPassable directly
...
Let IsPassable get that info from the locomotor instead.
2018-05-03 10:49:21 +02:00
reaperrr
81343926b6
Split Locomotor trait from Mobile
...
Add GrantConditionOn*Layer traits
This allows to
- drop some booleans from Locomotor
- drop a good part of the subterranean- and jumpjet-specific code/hacks from Mobile
- grant more than 1 condition per layer type (via multiple traits)
- easily add more traits of this kind for other layers
2018-05-03 10:49:21 +02:00
reaperrr
3a82b13093
Make INotifyKilled require explicit implementation
2018-04-29 11:59:49 +01:00
reaperrr
7ca9aa5e0b
Make INotifyDamage require explicit implementation
2018-04-29 11:59:49 +01:00
Paul Chote
da29250711
Move PlayerResources to Mods.Common.
2018-04-28 20:42:10 +02:00
abcdefg30
d15b462350
Remove the deprecated Difficulty member from MapGlobal (lua)
2018-03-23 20:23:09 +01:00
RoosterDragon
5bd5a384b7
Use a BitSet for representing target types.
...
- Rename Bits<T> to BitSet<T>.
- Implement set based helpers for BitSet<T>.
- When representing TargetTypes of ITargetable in various traits, use a BitSet<TargetableType> instead of HashSet<string> for better performance & reduced memory usage.
- Fix FieldLoader to trim input values when generating a BitSet<T>.
- Require T in BitSet<T> and BitSetAllocator<T> to be a class since it's just a marker value. This allows the JIT to instantiate generic code for these classes once, as they don't benefit from specialized code for T. (Typically JITs will generate shared code for all reference types, and unique code for every value type encountered).
2018-03-21 12:07:44 +01:00
reaperrr
f351f0346f
Cache map option ShortGame at game load
...
To reduce MapOptions calls.
2018-03-21 01:49:52 -03:00
Mustafa Alperen Seki
c4b0ad45e3
Add lua functions for DeliverCash and DeliverExperience
2018-02-21 21:38:43 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Mustafa Alperen Seki
fc07391c8c
Add Type Support for InfiltrateFor* traits
2017-12-27 11:13:09 +00:00
Kevin Hinton
86f9b8807e
Add EffectiveOwner to Lua Scripting API.
2017-12-16 18:00:41 +00:00
GSonderling
488cec64b8
Added support for filtering exits by production type.
2017-12-13 04:08:52 +01:00
Paul Chote
cb670d83b3
Set PredictedStance when changing stance from Lua.
2017-12-08 01:54:55 +01:00
reaperrr
8b7a71685c
Remove AmmoPool-awareness from Armament
2017-11-12 19:48:06 +00:00
Paul Chote
1caf982c1f
Support multiple capture types on Capturable.
2017-11-04 16:08:58 +01:00
Paul Chote
1376ad674e
Remove Player.CanViewActor and .CanTargetActor.
2017-11-03 09:56:00 +01:00
Paul Chote
cfac996438
Generalize factionVariant to a TypeDictionary of Inits.
2017-10-22 03:32:21 +03:00
abcdefg30
2366490fa0
Add an domain index check
2017-10-08 13:08:51 +02:00
abcdefg30
f48ba0ff86
Find alternative landing spots for blocked reinforcements
2017-10-08 13:08:51 +02:00
reaperrr
8533debc44
Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
2017-10-07 10:17:11 +02:00
reaperrr
9aaf800bca
Require explicit INotifyActorDisposing
2017-09-28 13:14:08 +02:00
reaperrr
32df83d3c4
A few more misc explicit interface changes
...
By-products of making ITick require explicit implementation.
2017-09-16 15:51:37 +02:00
reaperrr
28e1f391e0
Make ITick require explicit implementation
2017-09-16 15:51:37 +02:00
reaperrr
761a4f29ab
Make INotifyIdle and INotifyBecomingIdle require explicit implementation
2017-09-16 15:51:37 +02:00
reaperrr
2f66f83051
Remove IsPlane hack
...
The new VTOL boolean together with CanHover is enough to replace this.
2017-08-31 18:03:59 +02:00
reaperrr
3b01da737c
Introduce Aircraft VTOL boolean
...
Rather than hard-linking vertical take-off/land to the CanHover = Helicopter assumption.
2017-08-31 18:03:59 +02:00
atlimit8
c7d3c3ec73
Changes to ExternalCondition.TryRevokeCondition
2017-08-27 12:43:27 +01:00
Mustafa Alperen Seki
f7983692ae
Make Captures Upgradeable
2017-08-21 13:06:00 +02:00
rob-v
78bedb0513
Fix IsSinglePlayer
2017-06-27 22:43:15 +01:00
Paul Chote
995a3da43a
Rename Enter.targetCenter to repathWhileMoving.
2017-06-17 21:18:28 +02:00
atlimit8
cadfbe8a29
Grant condition by unit stance
2017-05-29 20:41:10 +01:00
Oliver Brakmann
f9951f76ca
Allow cancelling an activity without aborting the entire queue
2017-04-30 19:07:50 +01:00
atlimit8
b6810f3dd3
Merge pull request #12986 from abcdefg30/withDesc
...
Expand the documentation of Reinforce(WithTransport)
2017-03-22 10:23:36 -05:00
abcdefg30
a36a77d637
Add a note about EnemyWatcher being required for On(Player)Discovered
2017-03-18 18:09:20 +01:00
abcdefg30
6069a12973
Expand the documentation of Reinforce(WithTransport)
2017-03-18 16:40:35 +01:00
Paul Chote
6aa2f962b1
Merge pull request #12769 from abcdefg30/luaTile
...
Add a lua function to query the terrain type of a cell
2017-03-03 22:19:58 +00:00
abcdefg30
ad5a9a85f9
Merge pull request #12804 from pchote/remove-deprecated-apis
...
Remove deprecated Lua APIs / upgrade rules
2017-02-19 17:25:59 +01:00
Paul Chote
78a3dcae85
Remove deprecated Lua APIs.
2017-02-19 14:10:39 +00:00
Paul Chote
da5a725458
Add support for per-source and total external condition caps.
2017-02-18 19:10:22 +00:00
abcdefg30
603e7ca408
Add a lua function to query the terrain type of a cell
2017-02-12 21:05:48 +01:00
reaperrr
cdfa3fddf8
Move ParatroopersPower and para scripting to Mods.Common
2017-02-11 19:02:06 +01:00
Paul Chote
255214e77c
Fix timed external conditions being rejected instead of reset.
2017-01-26 22:52:26 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
f360c10569
Rename ConditionManager variables.
2016-12-23 15:02:52 +00:00
Paul Chote
dcad5c3f7c
Rename UpgradeManager to ConditionManager.
2016-12-23 14:57:56 +00:00
Paul Chote
9ddfdc45b3
Introduce SoundType enum.
2016-12-23 11:34:23 +00:00