Commit Graph

30 Commits

Author SHA1 Message Date
reaperrr
8ec3d5ddb8 Require explicit ITickRender 2017-10-07 10:17:11 +02:00
reaperrr
32df83d3c4 A few more misc explicit interface changes
By-products of making ITick require explicit implementation.
2017-09-16 15:51:37 +02:00
reaperrr
28e1f391e0 Make ITick require explicit implementation 2017-09-16 15:51:37 +02:00
reaperrr
b859b9ee43 Fix RotationPaletteEffect not working with player palettes 2017-07-15 11:19:09 +01:00
RoosterDragon
d1cc546f8d Avoid delegate allocation in RotationPaletteEffect.
Use a loop to perform the same check instead.
2017-01-19 20:23:50 +00:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
aa061a5bc6 Whitelist lighting and weather traits. 2016-04-09 13:41:08 -04:00
Paul Chote
602acabe47 Remove World.TileSet. 2016-03-12 19:47:07 +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
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
RoosterDragon
208b51feb1 Speed up GlobalLightingPaletteEffect.
Perform everything in integer arithmetic using some bit twiddling to avoid the performance cost of converting to and from floating point values.
2015-12-31 06:26:05 +00:00
reaperrr
6613db7a15 Fix RotationPaletteEffect tileset validity check
If Tilesets was empty but ExcludeTilesets was not, it would always return false even though that combination is supposed to mean only the excluded tileset(s) is/are not valid for this effect.
2015-09-14 16:36:56 +02:00
reaperrr
fabdefeaf1 Use HashSets for tileset checks, check in constructor for better performance 2015-09-06 20:58:24 +02:00
reaperrr
ea7811a076 Rename temp to rotationBuffer and remove comment 2015-09-06 19:28:16 +02:00
reaperrr
cd9effaa35 Added positive palette/tileset properties to RotationPaletteEffect 2015-09-06 19:28:15 +02:00
reaperrr
96c7d4345e Renamed WaterPaletteRotation to RotationPaletteEffect 2015-09-06 19:25:12 +02:00
reaperrr
ca055eb7bb Refactored WaterPaletteRotation
Moved RotationBase from tileset definition to WaterPaletteRotation effect.
Unhardcoded rotation range and rotation rate.
Added possibility to exclude Tilesets from effect.

Fixed RA water palette rotation for actors on desert maps (#8872).
2015-09-06 19:25:10 +02:00
atlimit8
8250f223c4 More HashSet trait fields & Lint support 2015-09-05 16:59:30 -05:00
Matthias Mailänder
25d14d87e1 add Effect.ChangeLighting(red, green, blue, ambient) to Lua API 2015-07-12 22:12:38 +02:00
Matthias Mailänder
ed7b54a21e add a Lua controllable flash palette trait 2015-07-05 18:15:12 +02:00
Matthias Mailänder
1eeedf9bb4 radar LightPaletteRotator is actually RA95 exclusive 2015-07-05 18:07:11 +02:00
Paul Chote
322285ef66 Update NukePaletteEffect for premultiplied alpha. 2015-05-24 18:32:42 +01:00
Matthias Mailänder
56405f42ab add a global palette effect for day/night ambient 2015-04-11 12:05:25 +02:00
abcdefg30
8ca61aa917 Updated all year numbers 2015-01-09 21:18:05 +01:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +01:00
Hellhake
fa72e04042 Remove BOM 2015-01-01 22:51:12 +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
reaperrr
f3f051fd46 Move Common Modifiers and PaletteEffects into Traits space 2014-11-18 18:10:59 +01:00