Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +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
8fcc80b05a
Use IRender.ScreenBounds in ScreenMap.
...
Traits are now required to trigger a ScreenMap update whenever they
believe that their ScreenBounds have changed.
2017-12-11 19:45:07 +01:00
Paul Chote
86bfe28ade
Add ScreenBounds method to IRender interface.
...
This method is expected to return Rectangles that cover
the region where Renderables returned by Render may exist.
2017-12-11 19:45:07 +01:00
Paul Chote
6ca0208694
Rename VoxelPreview to ModelPreview.
2017-06-14 18:56:06 +02:00
Paul Chote
736e70df78
Rename VoxelRenderable to ModelRenderable.
2017-06-14 18:56:06 +02:00
Paul Chote
4f42778d26
Rename VoxelAnimation to ModelAnimation.
2017-06-14 18:56:06 +02:00
Paul Chote
69ca9ffaba
Set the default voxel Scale to match the original game.
2017-04-29 13:21:13 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
teees
4fa3ecfafb
Add DynamicFacingInit.
2016-06-15 20:36:23 +01:00
teees
8724ed29bc
Support dynamic offsets in ActorPreviews.
2016-06-15 20:36:08 +01:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
7993068c8f
Remove Map.SequenceProvider.
2016-03-12 19:46:20 +00: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
RoosterDragon
912a0630e2
Tweak some Render methods for efficiency.
2015-12-12 20:42:43 +00:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
45112cfa76
Remove redundant IBodyOrientation[Info] & replace with BodyOrientation[Info]
2015-09-15 22:57:08 -05:00
Pavel Penev
09f67d18bb
Some internal "race" to "faction" renaming
2015-08-22 23:34:36 +03:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Paul Chote
6a586fe501
Make RenderVoxels fields readonly.
2015-08-01 13:28:56 +01:00
penev92
7c1ef2231d
Rename RaceInit to FactionInit
2015-07-25 00:39:31 +03:00
Matthias Mailänder
7e1c3047f6
move generic Voxel render traits to Mods.Common
2015-05-14 17:02:47 +02:00