Commit Graph

3490 Commits

Author SHA1 Message Date
reaperrr
e2b0c5bce4 Return empty Enumerable immediately in InstantHit
...rather than allocating a compiler generated enumerable via 'yield'.
2017-01-30 21:22:12 +01:00
reaperrr
a8f7b0e2de Add TargetDamageWarhead
Only deals damage to the actor that was targeted by the carrying
projectile.

Currently only supported by InstantHit projectile.
2017-01-30 21:22:06 +01:00
reaperrr
090c015b27 Pass InstantHit target directly if inaccuracy is zero
This is required to make the TargetDamage warhead deal damage only to a specific target.
2017-01-30 21:22:04 +01:00
Paul Chote
47a013e6c2 Support empty strings to skip condition levels. 2017-01-30 18:22:44 +00:00
Paul Chote
e1f7e5dac9 Replace "Debug" prefix with "Battlefield Control" for mute messages. 2017-01-29 18:59:57 +00:00
Paul Chote
f09b41b8b8 Replace "Debug" prefix with "Battlefield Control" for selection messages. 2017-01-29 18:59:57 +00:00
Paul Chote
7f694d2740 Replace "Debug" prefix with "Battlefield Control" for stance messages. 2017-01-29 18:59:57 +00:00
Paul Chote
aa0e65d425 Add SuppressNotifications flag for scripted maps. 2017-01-29 18:59:57 +00:00
Paul Chote
7a1d1092bd Replace "Debug" prefix with "Battlefield Control" for win/loss messages. 2017-01-29 18:59:56 +00:00
Paul Chote
22fad046a0 Fix units warping to 0,0 when doing a 180 degree turn. 2017-01-29 18:58:35 +00:00
Paul Chote
85630501e1 Work around lint test limitations. 2017-01-29 18:58:35 +00:00
Paul Chote
4f41b6e9ce Implement elevated bridge placeholders. 2017-01-29 18:58:34 +00:00
Paul Chote
5c77c0dc28 Implement jumpjets. 2017-01-29 18:58:34 +00:00
Paul Chote
572c1cb89f Implement subterranean units. 2017-01-29 18:58:33 +00:00
Paul Chote
41213ad2d1 Implement tunnels. 2017-01-29 18:58:33 +00:00
Paul Chote
38ea7dbc5a Fix units climbing tunnel faces. 2017-01-29 18:58:33 +00:00
Paul Chote
2bd5a392d1 Add plumbing for custom movement layers. 2017-01-29 18:58:33 +00:00
Paul Chote
695a572dc3 Move ActorMap to mod code. 2017-01-29 18:57:36 +00:00
Paul Chote
ba9927d34e Add Condition support to WithDeathAnimation / DeathSounds. 2017-01-29 18:57:36 +00:00
Paul Chote
7249ca7f88 Add cell height display to map editor. 2017-01-29 18:57:35 +00:00
Paul Chote
544e40ecab Fix CliffBackImpassibilityLayer trait name. 2017-01-29 18:57:35 +00:00
Oliver Brakmann
fe7736cee8 Merge pull request #12646 from pchote/asset-error
Simplify asset browser error message display.
2017-01-29 19:47:07 +01:00
Curtis Shmyr
33e1a6b2dd Fix frame end task race condition in ScrollPanelWidget 2017-01-29 17:49:40 +00:00
Matthias Mailänder
ab771f3171 Merge pull request #12645 from pchote/harvester-cost
Unhardcode harvester queue behaviour parameters.
2017-01-29 18:46:27 +01:00
Paul Chote
9a1efbc08b Simplify asset browser error message display. 2017-01-29 17:34:36 +00:00
Paul Chote
875d215662 Unhardcode harvester queue behaviour parameters. 2017-01-29 17:20:28 +00:00
Paul Chote
213b3dad2c Merge pull request #12293 from abcdefg30/swallowNull
Fix null being passed through the INotifyAttack interface
2017-01-29 16:32:35 +00:00
reaperrr
9d7413ab3d Merge pull request #12461 from obrakmann/activities-pt2
Activities re-write, part 2 - Child and composite activities
2017-01-29 16:02:21 +01:00
abcdefg30
19549a9068 Fix null being passed through the INotifyAttack interface 2017-01-29 11:07:20 +01:00
reaperrr
892825aeb9 Merge pull request #12599 from RoosterDragon/allocs
Reduce ongoing allocations
2017-01-27 17:52:30 +01:00
abcdefg30
0f11926305 Merge pull request #12625 from pchote/fix-timed-conditions
Fix timed external conditions being rejected instead of reset.
2017-01-27 13:53:00 +01:00
Paul Chote
255214e77c Fix timed external conditions being rejected instead of reset. 2017-01-26 22:52:26 +00:00
abcdefg30
77663ba2d6 Merge pull request #12624 from pchote/fix-ref-sell
Only remove resources when a silo/refinery is killed.
2017-01-26 18:16:50 +01:00
Paul Chote
5377d70f92 Style fixes. 2017-01-26 17:27:13 +01:00
Zimmermann Gyula
8e9370054d Add a disable option to LeavesTrails->StartDelay via negative values. 2017-01-26 11:01:35 +01:00
Paul Chote
3b4f515e2a Only remove resources when a silo/refinery is killed. 2017-01-25 20:07:15 +00:00
RoosterDragon
6a0b993fa2 Remove attackBases member from AutoTarget.
We can use the activeAttackBases member everywhere.
2017-01-25 18:29:33 +00:00
Oliver Brakmann
53c037aa53 Add OS bitness to sysinfo query 2017-01-22 21:36:32 +01:00
Oliver Brakmann
9993a235a7 Convert ResupplyAircraft into a CompositeActivity 2017-01-22 20:42:19 +01:00
Oliver Brakmann
9b0780e87c Make FlyAttack use child activities 2017-01-22 20:41:41 +01:00
Oliver Brakmann
e49b3d6458 Adjust existing activities for changed NextActivity semantics
To make sure existing checks against NextActivity don't check the parent activity by mistake
2017-01-22 20:41:37 +01:00
reaperrr
42df24a18a Introduce MapNotificationEffect 2017-01-22 17:41:55 +01:00
Oliver Brakmann
145fd2eed0 Merge pull request #12571 from reaperrr/bullet-bounce
Implement bullet bouncing logic
2017-01-21 22:06:23 +01:00
Oliver Brakmann
05475d752a Merge pull request #12503 from pchote/radarjammer
Migrate ProvidesRadar from IDisable to conditions.
2017-01-21 20:55:37 +01:00
Paul Chote
85053d8d59 Merge pull request #12601 from obrakmann/activities-pt1.5
Rename existing activity states
2017-01-21 17:32:18 +00:00
Paul Chote
1f44e91746 Migrate ProvidesRadar to conditions and remove JamsRadar. 2017-01-21 17:24:54 +00:00
Oliver Brakmann
683d3e747b Rename existing activity states 2017-01-20 22:16:25 +01:00
reaperrr
2f0b1a16d0 Upgrade Bullet bounce logic with target checking 2017-01-20 00:55:00 +01:00
reaperrr
bf47affd2e Add bounce logic to Bullet
Allows Bullet projectiles to bounce off ground.
2017-01-20 00:54:59 +01:00
RoosterDragon
867ad0fb32 Merge pull request #12572 from GraionDilach/experience-modifiers
Implement experience multipliers.
2017-01-19 20:42:48 +00:00