Paul Chote
afd8b9ab86
Rework harvester resource claiming:
...
* Maintains lists of claims, and only restricts
reservations for friendly units.
* Removes OnNotifyResourceClaimLost; it's not
clear whether that is still useful, and it
prevents future necessary cleanups.
* Moves other code without changing behaviour.
This fixed stale claims from dead units and enemy
claims from preventing otherwise valid harvest
activities.
2017-07-18 01:09:19 +02:00
Jean-Rémy Buchs
488440197e
Add new trait ReloadArmamentsBar which renders a bar to show the current reload status
2017-07-16 14:58:00 +01:00
Paul Chote
4ffcd9b4a5
Add template type to editor coordinate label.
2017-07-16 13:12:13 +02:00
Paul Chote
72cf5d29e7
Add search bar to editor Template list.
2017-07-16 13:12:13 +02:00
Paul Chote
f1b54ece8a
Add search bar to editor Actors list.
2017-07-16 13:12:13 +02:00
Jean-Rémy Buchs
224ca78257
Fix crash in DistanceFromEdge if vector is too long
2017-07-15 17:49:29 +02:00
reaperrr
ace353cb84
Upgrade rule for Missile.TerrainHeightAware
2017-07-15 17:36:20 +02:00
reaperrr
7e8f920bc1
Allow disabling terrain height checks in Missile
...
This saves a good deal of performance for mods with no real height levels, including RA, TD and D2k.
2017-07-15 17:36:20 +02:00
reaperrr
86ab6e7ed3
Fix MoveWithinRange subcell consideration
2017-07-15 17:31:25 +02:00
reaperrr
b859b9ee43
Fix RotationPaletteEffect not working with player palettes
2017-07-15 11:19:09 +01:00
abcdefg30
0b6b997e81
Add a CommandBarBlacklist trait to blacklist Stop and Waypoint Mode
2017-07-14 23:18:28 +01:00
RoosterDragon
9413d9595c
Providing streaming AudFormat data.
...
AudFormat.GetPCMInputStream now returns data that is streamed, rather than a MemoryStream.
2017-07-14 23:02:49 +01:00
RoosterDragon
85c948fd8d
Add a streaming audio playback interface.
...
This allows audio to be streamed, rather than needed to be fully loaded into memory.
2017-07-14 23:02:49 +01:00
reaperrr
1b0ae1e512
Mention hard-coded 'Air' TargetType in CEWH.AirThreshod desc
2017-07-13 20:58:47 +02:00
reaperrr
65920a883f
Upgrade rule for CreateEffectWarhead ImpactTypes -> Targets
2017-07-13 20:58:47 +02:00
reaperrr
cf5abc68ad
Refactor CreateEffectWarhead ImpactTypes
...
Use target validity to simplify ImpactTypes.
2017-07-13 20:58:47 +02:00
reaperrr
afa9b9760e
Unhardcode AttackBomber bomb and gun logic
2017-07-13 19:12:16 +02:00
reaperrr
a1cb0cf002
AttackBomber style fixes
2017-07-13 19:12:16 +02:00
reaperrr
07edf2f7c6
Reset burst counter if ReloadDelay has passed since last shot
...
This fixes the following issues:
- units like mammoth tanks sometimes at first only fired 1 shot on new encounter because they only depleted 1 burst before previous target was killed
- weapons that use strafing logic would not reset the offset multiplier after passing the target once, leading to wrong offsets on following attacks
2017-07-13 19:12:16 +02:00
reaperrr
afa8d3522c
Add strafing support to weapons
2017-07-13 19:12:16 +02:00
reaperrr
d95d7e0b0f
Rename UseOccupiedCellsOffsets to UseTargetableCellsOffsets
...
With the introduction of the new 'u' BlockingUntargetable cell type, the old property name became inaccurate.
2017-07-13 17:43:41 +02:00
reaperrr
5bdb7bd689
Add OccupiedUntargetable FootprintCellType
...
For cells that are occupied & unpassable, but should be ignored by HitShape.UseOccupiedCellsOffsets.
2017-07-13 17:43:41 +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
Forcecore
801796b184
FIX game hanging when units with 0 min-range attack units at 0 range.
...
Fixes #13307
2017-07-12 20:51:35 +02:00
Jean-Rémy Buchs
6749060e57
Add RangeCircleMode to trait RenderRangeCircle
2017-07-12 00:10:52 +02:00
Paul Chote
e38db04ab7
Move Stylecop checks to their own helper executable.
2017-07-09 21:58:21 +02:00
Paul Chote
6e145f902b
Fix empty lobby faction tooltips.
2017-07-08 22:45:51 +02:00
Paul Chote
cd9ef47f94
Suppress unrelated mouse events while scrolling.
2017-07-08 22:21:04 +02:00
rob-v
f341330d5e
Fix Joystick scrolling stuck
2017-07-08 22:21:04 +02:00
Paul Chote
ab1a798d04
Add GrantConditionOnBotOwner trait.
2017-07-07 21:31:45 +01:00
Paul Chote
b0906e1836
Add a bot type identifier.
2017-07-07 21:31:45 +01:00
rob-v
1a546d9baf
Polish Actor Categories
2017-07-06 01:50:43 +02:00
rob-v
686686417f
Add Actor Categories and Category dropdown filter in Map editor
2017-07-06 01:50:43 +02:00
reaperrr
8f4a92af99
Upgrade rules and yaml updates for Bib refactor
2017-07-06 01:42:55 +02:00
reaperrr
3200f4fb0f
Remove bib-related hacks from Building and FootprintUtils
2017-07-06 01:42:55 +02:00
reaperrr
9b137afa6d
Add ITargetableCells interface
2017-07-06 01:42:55 +02:00
reaperrr
69aa4f5962
Building style fixes for better readability
2017-07-06 01:42:55 +02:00
RoosterDragon
297f4ad9ed
Ensure we set ZipConstants.DefaultCodePage by using a helper method.
...
We were currently dealing with this terrible global variable in FileSystem/ZipFile.cs previously, but other parts of the code such as DownloadPackageLogic were creating these files too, and may not have executed the static ctors that fixed the encoding yet.
2017-07-05 22:45:15 +01:00
rob-v
4b9c6c4746
Allow multiple terrain (tile) categories
2017-07-05 22:46:59 +02:00
reaperrr
faf9f7cede
Change Explodes.Weapon default to null
...
FieldLoader.Require makes the default pointless, so it makes more sense to change it to null.
2017-07-02 16:03:40 -05:00
reaperrr
a6b9bab033
Make Explodes conditional
2017-07-02 16:03:40 -05:00
Jean-Rémy Buchs
2e4cd8d820
Make SpawnActorOnDeath conditional
2017-07-02 10:00:08 -05:00
reaperrr
9e138178ad
WithAttackAnimation style fix
...
Looks better this way.
2017-07-01 12:33:51 +01:00
reaperrr
9c2e3aaa05
Make WithMoveAnimation conditional and modify only a single assigned sprite body
...
The latter to match what we do on WithAttackAnimation already.
2017-07-01 12:33:51 +01:00
Paul Chote
fdafbd9f15
Remove hardcoded references to FacingInit and TurretFacingInit.
2017-07-01 10:35:22 +01: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
reaperrr
3f8efb1163
Remove ApplyToAllTargetablePositions hack from RectangleShape
...
In its current form it is bad for performance due to the ITargetablePositions look-up, and fixing that only to remove the hack entirely a few weeks later would be kind of pointless, so let's get this over with.
2017-06-29 22:01:19 +02:00
rob-v
78bedb0513
Fix IsSinglePlayer
2017-06-27 22:43:15 +01:00