reaperrr
e1b7df8b6a
Use OccupiesSpace to avoid Mobile look-ups
...
in PathFinder.FindUnitPath and FindUnitPathToRange.
2020-05-30 04:05:29 -05:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
626b40f31b
Account for ramps in terrain height calculations.
2020-05-28 09:41:55 -05:00
Paul Chote
5af12440ba
Replace MapGrid.CellCorners with a new CellRamp struct.
2020-05-28 09:41:55 -05:00
Paul Chote
4614f6febe
Cache cell ramps to avoid repeated tileset lookups.
2020-05-28 09:41:55 -05:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
teinarss
b8a5750529
Add map.contains check to CanStayInCell
2020-05-14 20:06:21 +02:00
Andrew Odintsov
d531d6f3ef
Simplify groupActors condition
2020-05-12 15:06:50 +02:00
Andrew Odintsov
3a9fdb82f5
Add IsInWorld check for controlled groups
2020-05-12 15:06:50 +02:00
Paul Chote
d62fb901e2
Fix actors with no footprint leaving stale data when deleted.
2020-03-29 21:10:45 +02:00
abcdefg30
0c8fcedfdf
Start with randomized wind strength
2020-03-28 19:46:47 +01:00
Paul Chote
99009c37ce
Fix and simplify WeatherOverlay:
...
- Fix rendering issues
- Track particles in world pixels instead of screen pixels
- Removed un/underused fade in/out support
- Update wind once per tick instead of once per particle
- Make Particle struct readonly
2020-03-28 19:46:47 +01:00
Paul Chote
2c4e6c4188
Remove special-case rollover rendering.
2020-03-24 00:07:10 -05:00
Paul Chote
ac200f6173
Rework decoration renderable traits:
...
- Removed implicit pip definitions and IPips interface.
New decoration traits have been added to render them.
Pip types are no longer hardcoded in OpenRA.Game.
- Decoration rendering is now managed by SelectionDecorations(Base),
which allows us to remove assumptions about the selection box
geometry from the decoration traits.
- RenderNameTag has been replaced by WithNameTagDecoration, which is
an otherwise normal decoration trait.
- Unify the configuration and reduce duplication between traits.
- Removed hardcoded references to specific selection box renderables.
- Remove legacy cruft.
2020-03-24 00:07:10 -05:00
Paul Chote
73a78eadb1
Move Interactable and Selectable to Mods.Common.
2020-03-24 00:07:10 -05:00
Paul Chote
c523ca8efe
Fix FreeSubCell ignoring preferred subcell requests.
2020-03-11 15:40:12 +01:00
Paul Chote
9acea56108
Fix pathing across transit-only cells.
2020-03-11 15:40:12 +01:00
Paul Chote
44a7422375
Fix variable naming in Locomotor.
2020-03-11 15:40:12 +01:00
Paul Chote
d2f306e488
Fix GetActorsAt(CPos, SubCell) with special-case subcells.
...
If given FullCell or Any we should be returning actors in
any subcell, not none.
2020-03-03 20:06:51 +01:00
Ivaylo Draganov
3e2022a3dd
Allow players to mute shellmap background music
2020-02-22 15:50:01 +00:00
Paul Chote
85a5b6cc17
Fix subcell crusher logic.
2020-02-09 13:18:57 +01:00
Paul Chote
522861e484
Support 32 bit png sprites.
2020-01-17 16:49:58 +01:00
Matthias Mailänder
8dda6d8e3d
Remove unnecessary null check.
2020-01-14 22:08:57 +01:00
Matthias Mailänder
c43d581e7f
Add cursor palette support to GIMP/Jasc palette definitions.
2020-01-14 22:08:57 +01:00
teinarss
f0b69f8b8d
Separated resource rendering into another trait
2020-01-14 19:38:47 +01:00
Matthias Mailänder
c95216cd19
Move the hard-coded shroud palette to the C&C folder.
2020-01-12 19:35:41 +00:00
Paul Chote
cc05621c10
Draw editor terrain/resource preview as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
e74033bded
Render editor actor previews as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
fe25fdf0ff
Improve robustness of editor actor cell checks.
2020-01-12 18:30:50 +01:00
tovl
695d9a6cb1
Centralize shroud changes in one pass to improve performance.
2020-01-12 04:50:25 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Matthias Mailänder
7e9a3d3bc9
Unhardcode transparent index in manual palettes as well.
2020-01-05 13:17:43 +00:00
Matthias Mailänder
6ea85a1a62
Don't hard-code the transparent background color.
2020-01-05 13:17:43 +00:00
tovl
434c46058f
Disallow units idling on service depot.
2020-01-04 16:04:27 +00:00
Paul Chote
2bf16a34d6
Filter invalid actor IDs when restoring selection save data.
2019-12-28 20:48:46 +01:00
Paul Chote
630ca0aefb
Draw editor selection box using the UI renderers.
2019-12-11 11:02:04 +01:00
abcdefg30
4717e98c48
Add a subCell parameter to IPositionableInfo.CanEnterCell
2019-11-21 14:13:17 +01:00
Abdurrahmaan Iqbal
d2819dca77
Show dialogue only when there are unsaved changes
2019-11-07 20:33:43 +01:00
tovl
d2991247a3
Add separate condition to mobile for disabling nudging only.
2019-10-28 19:35:32 +01:00
tovl
c4d1468f62
Make locomotor cache and nudging logic aware of mobile trait status.
2019-10-28 19:35:32 +01:00
Paul Chote
1599eac66c
Rename SelectionBoxRenderable to SelectionBoxAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
1dc84f48de
Migrate traits to IRenderAnnotations.
2019-10-20 23:46:33 +02:00
Paul Chote
9b4d149a06
Revert "Suppress MoveIntoWorldInit for map-placed Mobile actors."
...
This reverts commit f0c28cc15334c7224630c375d669274f8da8fb31.
2019-10-17 23:31:15 +02:00
Paul Chote
5eaa99827d
Suppress MoveIntoWorldInit for map-placed Mobile actors.
2019-10-07 19:02:48 +02:00
tovl
ac6431acf8
Clean up usage of CancelActivity.
2019-10-05 19:07:54 +02:00
teinarss
9bfc324c04
Mark cells that have changed MovementType as dirty
2019-10-05 14:37:54 +02:00
teinarss
76034c198e
Added Undo Redo to editor
2019-09-27 17:40:32 +02:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
Paul Chote
df2300bee0
Fix player viewport saving for non-spectators.
2019-09-15 15:11:47 +02:00
RoosterDragon
31918e8712
Add UnionRectangles extension method.
2019-09-14 22:09:40 +02:00