Commit Graph

43 Commits

Author SHA1 Message Date
Oliver Brakmann
88c20a6654 Merge pull request #9414 from atlimit8/TurretFacingsInit
Support loading multiple turret facings
2015-11-01 13:18:17 +01:00
RoosterDragon
983032205f Merge pull request #9593 from huwpascoe/HealthTrait
Moved Health to OpenRA.Mods.Common
2015-10-20 20:59:04 +01:00
Paul Chote
9ce8544e34 Add support for aggregate sequences. 2015-10-17 22:50:22 +01:00
Huw Pascoe
c95fc793e4 Moved Health trait to OpenRA.Mods.Common
In preparation for custom hitboxes.
2015-10-12 01:56:00 +01:00
atlimit8
54b03c92d8 Support loading multiple turret facings 2015-10-02 21:58:02 -05:00
Pavel Penev
642468ce0c Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
Taryn Hill
6fa1f757b0 Add Map.DistanceAboveTerrain(WPos) and Actor.IsAtGroundLevel() extension method 2015-08-01 11:48:47 -05:00
RoosterDragon
ccad451060 Add WorldRenderer.ScreenVectorComponents.
This allows the components to be returned via out parameters, avoiding the need to allocate an array for most callers.
2015-07-15 21:24:01 +01:00
Matthias Mailänder
413baf9d8b rename WDist.Range to WDist.Length 2015-07-09 10:55:38 +02:00
Matthias Mailänder
7447e0bf93 rename WRange to WDist 2015-07-09 10:55:38 +02:00
reaperrr
a3bd007ac7 Moved SelectionDecorations to Mods.Common
And added more settings.

Moved SelectionBoxRenderable to Mods.Common, too.
2015-06-17 20:13:52 +02:00
Paul Chote
3994e1eec9 Use FogObscures(WPos). 2015-06-07 19:50:03 +01:00
Paul Chote
5532ed4fc9 Remove now-redundant blend code. 2015-05-23 08:50:28 +01:00
RoosterDragon
b9ebeaadca Improve performance of line rendering.
- Create an overload that renders a line in one color, as this allows most existing calls to be simplified. This also allows a slight performance improvement by only normalizing the components once.
- Introduce a DrawLineStrip method. This improves performance by allowing the color components to be normalized once for the whole strip, and only needing to calculate vertices once per point rather than twice since we can reuse the last result.
2015-05-19 21:41:50 +01:00
abcdefg30
70e7b33fd7 Merge pull request #7979 from Mailaender/d2k-sand-blendmode
Fixed the Dune 2000 harvester sand out animation
2015-05-14 19:21:06 +02:00
Paul Chote
c0282bdff9 Remove Owner from ActorPreviews. 2015-05-10 00:01:43 +01:00
Matthias Mailänder
63e4d40770 add alpha channel to every possible blend mode 2015-04-26 09:22:19 +02:00
Paul Chote
09bad3f0ef Account for damage state in ActorPreviews. 2015-04-26 18:12:19 +12:00
Taryn Hill
f41497b421 Allow Defaults: image in sequence definitions. 2015-03-31 21:36:50 -05:00
Paul Chote
0a6e21d908 Support tileset-specific art in TS. 2015-03-26 22:42:43 +00:00
Paul Chote
7ad2f3e104 Support tileset-specific sprite definitions. 2015-03-26 22:41:45 +00:00
Paul Chote
4baf639130 Add a Reverses sequence key for TS/RA2 animations. 2015-03-24 17:37:08 +00:00
Paul Chote
4d60757611 Simplify sequence field parsing. 2015-03-24 17:37:08 +00:00
reaperrr
3c4d712b78 Merge pull request #7708 from pchote/sequence-utility
Add a utility command for checking sequences.
2015-03-23 13:19:42 +01:00
Paul Chote
c92d1342f0 Allow mods to define Defaults for all animations in a sequence. 2015-03-22 12:58:08 +00:00
Paul Chote
a69145caf0 Add a utility command for checking sequences. 2015-03-22 12:48:51 +00:00
Matthias Mailänder
3900733c1d Merge pull request #7581 from Phrohdoh/sequence-error-fix
Clarify the error relating to too many frames defined in a sequence.
2015-03-21 15:33:14 +01:00
RoosterDragon
1515ac54f6 Enforce a line length limit. 2015-03-19 17:20:34 +00:00
Taryn Hill
bc69539993 Clarify the error relating to too many frames defined in a sequence. 2015-03-14 15:50:52 -05:00
Paul Chote
f91ee3fb45 Fix sequence terminology. 2015-03-09 20:45:49 +00:00
Paul Chote
7292bd20b3 Move Sequence parsing into mod code. 2015-03-09 20:45:22 +00:00
Paul Chote
db1a27b071 Introduce IFinalizedRenderable.ScreenBounds. 2015-02-10 14:26:44 +00:00
Paul Chote
c55d723fb4 Remove Scale from IRenderable interface.
It is no longer used, and isn’t implemented for most renderables.
2015-02-09 23:26:06 +00:00
Paul Chote
a495a2f528 Split IFinalizedRenderable from Renderable to remove mutable structs. 2015-02-09 23:23:37 +00:00
abcdefg30
8ca61aa917 Updated all year numbers 2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2 Formatted all files.
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +01:00
Paul Chote
362b4aeaef Fix variable ordering. 2014-12-26 12:13:08 +13:00
Paul Chote
22ab35f681 Fix capitalization. 2014-12-26 12:13:08 +13:00
Paul Chote
ecd3809bc2 Fix a collection of whitespace-style issues in Mods.Common. 2014-12-14 17:06:43 +13:00
Paul Chote
6527ab21d7 Improve voxel shadow rendering. 2014-11-07 18:18:41 +13:00
steelphase
2f87a62ee8 Mods.Common Widgets
Moved over Widgets that don't require a bunch of things to move.
2014-10-01 09:48:41 -04:00
steelphase
f948bf0d1b Add Mod.Common Graphics
Moved Graphics to Mod.Common
2014-09-21 01:34:35 -04:00