Commit Graph

83 Commits

Author SHA1 Message Date
Paul Chote
d967c564a2 Remove TargetActor and TargetLocation from order issuing. 2017-10-15 19:07:46 +02:00
Andre Mohren
4e45747b41 Game no longer crashes if no ResourceLayer is used. 2017-10-06 21:57:57 +02:00
Paul Chote
0f6dda3f5f Calculate building placement offsets in screen space. 2017-09-10 18:26:54 +02:00
Paul Chote
898ef8fe50 Add support for queuing Guard orders. 2017-09-03 12:54:09 +02:00
reaperrr
d949e17b88 Perform FogObscures as late as possible
FogObscures is more expensive than simpler boolean, player or HasTraitInfo checks, so in these places it makes sense to perform the other checks first.
2017-08-07 09:42:12 +02:00
reaperrr
fdb3866238 Remove FootprintUtils 2017-07-13 17:43:41 +02:00
reaperrr
46dc827d46 Refactor footprint cell lookups and move them to Building
Removing FootprintUtils happens in the next commit for better
reviewability.
2017-07-13 17:43:41 +02:00
Paul Chote
2a2bd676a3 Remove hardcoded references to HideBibPreviewInit. 2017-07-01 10:35:22 +01:00
Paul Chote
b2c3a55c12 Add IActorPreviewInitInfo interface. 2017-07-01 10:35:22 +01:00
Paul Chote
94fba3521a Add ForceModifiersOrderGenerator for force move/attack and queueing. 2017-06-06 08:53:54 -06:00
Paul Chote
d9800d4e2b Fix repair cursor visual feedback target. 2017-04-24 08:52:48 +01:00
atlimit8
99f3f37afe Merge pull request #13104 from rob-v/RepairNavalUnitsWithRepairCursor
Naval units (RepairableNear) units repairable using Repair cursor
2017-04-23 22:05:46 -05:00
Paul Chote
a8bb03aa34 Draw TS line-build cell previews with increased translucency. 2017-04-23 00:44:10 +01:00
Paul Chote
304e3ef9f9 Distinguish between line build nodes and segments. 2017-04-23 00:44:09 +01:00
rob-v
9216427c2b RepairableNearUnitsWithRepairCursor #12361 2017-04-11 19:03:41 +02:00
Paul Chote
9ab59ff614 Don't show a move flash effect when PBOG nudges a unit. 2017-02-05 18:40:22 +00:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
abcdefg30
9142452922 Fix beacons not being cancelable 2016-09-20 18:11:25 +02:00
Paul Chote
1ae86f34f8 Overhaul Carryall behaviour, adding support for manual control. 2016-08-27 15:42:18 +01:00
Paul Chote
d2f5fe7380 Draw order generator renderables above the shroud. 2016-08-22 20:27:59 +01:00
Paul Chote
b016638ebe Allow beacons to be placed and drawn above the shroud. 2016-08-22 20:27:58 +01:00
Paul Chote
acab6f1f4b Fix custom order generators for left-click targeting. 2016-04-09 11:59:54 -04:00
Paul Chote
8efa7a143e Add ExpectedButton check to GuardOrderGenerator. 2016-03-31 21:11:53 +01:00
Paul Chote
602acabe47 Remove World.TileSet. 2016-03-12 19:47:07 +00:00
Paul Chote
7993068c8f Remove Map.SequenceProvider. 2016-03-12 19:46:20 +00:00
Paul Chote
860876b08f Merge pull request #10893 from abcdefg30/MurtosExploit
Fix an exploit were players were able to repair at enemy service depots
2016-03-12 13:46:55 +00:00
abcdefg30
e8a051e761 Fix an exploit were players were able to repair at enemy service depots 2016-03-07 15:53:40 +01:00
abcdefg30
bfe9bc329c Fix players being able to command allied units to the service depot 2016-03-07 15:18:23 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Paul Chote
b0bd252343 Move Util to Mods.Common. 2016-01-19 23:35:18 +00:00
Matthias Mailänder
fc8d35c2d4 put enter transport order targeters into respective files 2016-01-18 21:53:57 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
RoosterDragon
3026bdcea5 Implement equality on TraitPair. 2016-01-17 00:13:06 +00:00
Oliver Brakmann
addbe6d564 Merge pull request #10472 from Mailaender/guard-refactor
Cleaned up the Guard code
2016-01-16 23:09:19 +01:00
Paul Chote
1cb93b52c0 Cancel PBOG when placement becomes invalid. 2016-01-15 21:26:32 +00:00
Paul Chote
054be44563 Cache production queue on PBOG. 2016-01-15 20:59:57 +00:00
Paul Chote
fca759987c Use shift to disable line building. 2016-01-13 23:57:18 +00:00
Paul Chote
4f07d615b7 Use the correct CenterPosition for PBOG overlays. 2016-01-10 23:41:23 +00:00
Matthias Mailänder
5b263e3cdb put GuardOrderGenerator in the correct namespace 2016-01-10 07:22:42 +01:00
atlimit8
b07cd683e8 Easier actor selection in game by actor bounds center 2015-12-23 12:09:08 -06:00
RoosterDragon
dcf375a412 Store Targetables in Actor.
This can be used to avoid several lookups for these traits, as well as allow Actor to provide specialised methods to deal with target types efficiently. This also reduces some code duplication.
2015-12-12 20:55:17 +00:00
Paul Chote
124c0ea041 Make CanTarget modifiers a ref parameter. 2015-11-16 20:38:53 +00:00
reaperrr
2f69711341 Rename ActorMap *UnitsAt* occurences to *ActorsAt*
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
Pavel Penev
4e3d6bde4f Split AircraftMoveOrderTargeter to its own file 2015-10-01 20:09:12 +03:00
Oliver Brakmann
0e9257abcf Merge pull request #9239 from penev92/clearFootprint
Move actors outside of the desired footprint when placing a building
2015-09-25 15:34:38 +02:00
Pavel Penev
f942ab1389 Move any mobile actors that block the building's desired footprint when placing a building 2015-09-23 19:41:21 +03: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
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00