teinarss
f0b69f8b8d
Separated resource rendering into another trait
2020-01-14 19:38:47 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Abdurrahmaan Iqbal
023750db06
Prevent showing wall connections in unexplored terrain
2019-11-01 22:13:38 +01:00
Paul Chote
0e4cb53ada
Pass contextual information to TargetOverridesSelection.
2019-10-30 14:53:23 +01:00
Paul Chote
0ff078968d
Change IPlaceBuildingDecorationInfo to use annotations.
2019-10-20 23:46:33 +02:00
Paul Chote
7d1ce0c83b
Add annotation support to IOrderGenerator.
2019-10-20 23:46:33 +02:00
abc013
c4f48ad521
Use another plug location for placing plugs on a building when current plug location is already blocked
2019-10-11 22:52:55 +02:00
Paul Chote
ddc4c4ff06
Add queuing support to RepairOrderGenerator for units.
2019-08-07 21:31:20 +02:00
Paul Chote
a4b8ffa99d
Allow PBOG to nudge blocking helicopters.
2019-07-28 11:31:24 +02:00
Paul Chote
1e23c0a7b7
Fix bot PlaceBuilding orders.
2019-06-20 18:51:02 +01:00
Paul Chote
b59ae476e4
Add PlaceBuildingVariant trait.
2019-06-10 11:46:32 +02:00
Paul Chote
44e41cc054
Add key handling to order generators.
2019-06-10 11:46:32 +02:00
Paul Chote
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +02:00
Paul Chote
ebe37a44ad
Require force move for all undeploy-triggering orders.
2019-06-08 02:09:30 +02:00
Paul Chote
5d886b79f1
Remove AlternateTransportsMode.
...
This conflicts with undeploy orders and has been largely
superseded by queued enter orders.
2019-06-08 02:09:30 +02:00
Paul Chote
cdad07d172
Fix footprint type for line build structures.
2019-05-31 15:44:09 +02:00
Paul Chote
52fd32c311
Split IPlaceBuildingPreviewGeneratorInfo from PBOG.
2019-05-31 15:44:09 +02:00
teinarss
e801537d96
Hide cursor and render the placeholder directly
2019-04-22 21:51:49 +02:00
teinarss
1dd90a1d7b
Pushed down the MouseInput handling to the OrderGenerators and made a base class for handling the basic logic
2019-04-04 20:10:34 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Paul Chote
7bc53dd266
Remove building lock from ToggleConditionOnOrder.
2018-11-03 15:09:14 +01:00
Andre Mohren
3bfcecd539
Refactored ProductionQueue to support different production styles.
2018-09-30 16:58:49 +02:00
Andre Mohren
c2b1a5f4e0
Extracted BuildingCannotPlaceAudio to PlaceBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
8f15535da0
Allow to use non tileset specific build-valid.
2018-08-04 12:28:41 +02:00
Paul Chote
768265bbd2
Unify TargetFlash handling around Targets.
2018-05-30 18:06:59 +02:00
Michael Silber
6b24271a17
Pass ActorInfo through building-placement-validation code.
2018-03-21 12:53:50 +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
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
5425a5a28e
Replace CanPowerDown with ToggleConditionOnOrder.
2017-12-27 20:18:27 +01:00
Paul Chote
6f5d035e79
Introduce IMouseBounds and split/rework mouse rectangles.
...
The render bounds for an actor now include the area covered
by bibs, shadows, and any other widgets. In many cases this
area is much larger than we really want to consider for
tooltips and mouse selection.
An optional Margin is added to Selectable to support cases
like infantry, where we want the mouse area of the actor
to be larger than the drawn selection box.
2017-12-11 19:45:07 +01:00
Paul Chote
4cbc2ee6f3
Add support for custom sell cursors.
2017-11-19 23:40:33 +01:00
Paul Chote
5030a2257e
Delegate cursor selection to GlobalButtonOrderGenerator subclasses.
2017-11-19 23:40:33 +01:00
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