Paul Chote
1cfb110d03
Allow the cursor to be force disabled.
2019-04-20 14:54:48 +02:00
Paul Chote
bb324fb2d4
Add Sound.DisableAllSounds property.
2019-04-20 14:54:48 +02:00
Paul Chote
5d43417a5f
Add player trait support for IWorldLoaded.
2019-04-20 14:54:48 +02:00
abcdefg30
1bb319425b
Add Sound.Play overloads that play a random sound from a list
2019-04-20 01:22:30 +02:00
teinarss
71596ae959
Added drag direction mouse interaction for set the approach direction for airstrike and parabombs
2019-04-04 20:10:34 +02:00
Mustafa Alperen Seki
9fef2c01ec
Add AppearsOnMapPreview
...
Allows preplaced actors to be rendered on map preview when saving the
map.
Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
Paul Chote
f69c6ab3fb
Update SharpZipLib to 1.1.0.
...
The default code page has been changed to UTF8
so our workarounds are no longer needed.
2019-03-30 20:47:22 +01:00
Oliver Brakmann
b4fd7331b2
Simplify Activity class
...
After the removal of the CompositeActivity class, all the supporting
code that made it work can be removed as well.
2019-03-30 14:38:23 +00:00
Ivaylo Draganov
7695714f66
Add hotkey for removing actors from control groups
...
* Add `RemoveFromControlGroup` hotkey
* Add `RemoveFromControlGroup` method to `OpenRA.Game.Selection`
2019-03-28 13:20:47 +01:00
Oliver Brakmann
44ca01d36c
Remove pretick argument from Activity.Queue()
...
Pre-ticking a next activity would break the assumption that activities
in a queue would be processed in sequence.
2019-03-24 15:53:13 +00:00
Paul Chote
1d4576229a
Move FreeType handling into the Platform dll.
2019-03-14 16:39:26 +01:00
Paul Chote
2a9721a9f8
Remove System.Drawing dependency.
2019-03-14 01:01:49 +01:00
Paul Chote
5cc81f7bf7
Implement a simple managed png writer.
2019-03-14 01:01:49 +01:00
Paul Chote
71b61ad8ee
Remove bogus and unnecessary Color[] FieldLoader override.
2019-03-12 12:44:29 +01:00
Paul Chote
d70055c38d
Add int channel version of Color.FromAhsl.
2019-03-12 12:41:06 +01:00
Paul Chote
6927767013
Add authentication fingerprint to replay metadata.
2019-03-12 12:37:51 +01:00
Paul Chote
ab6ae7bc8d
Support 24 bit png loading.
2019-03-11 20:14:09 +01:00
tovl
705795abde
Activity.Cancel returns void instead of bool.
2019-03-09 21:47:43 +00:00
tovl
a17cd0fa06
Replaced Canceled state with Canceling state.
2019-03-09 21:47:43 +00:00
tovl
8191a6566b
Add missing self and optional pretick parameters to Queue, QueueChild and PrintActivity methods.
...
This means sequenceActivities needs to accept self as well.
2019-03-09 21:47:43 +00:00
tovl
69004f2b94
Prevent premature nulling of childactivities.
2019-03-09 21:47:43 +00:00
tovl
35dba74ded
remove unused CompositeActivity
2019-03-09 21:47:43 +00:00
abcdefg30
0524a59b6b
Fix map preview generation for isometric terrain
2019-03-08 21:21:10 +01:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
094c8b6432
Use Color.ToString() in perf logs.
2019-03-04 18:26:42 +00:00
Paul Chote
015316e909
Remove uses of state-mutating Rectangle.Offset and Intersect.
2019-03-04 18:26:42 +00:00
Paul Chote
0b641c20df
Remove unnecessary uses of System.Drawing primitives.
2019-03-04 18:26:42 +00:00
Paul Chote
00496e2ec2
Remove Order.TargetLocation.
2019-03-04 18:08:42 +00:00
Paul Chote
94f7f6fd2e
Remove obsolete code.
2019-02-24 14:02:19 +01:00
Paul Chote
5a1124426d
Rewrite screenshot saving.
2019-02-24 14:02:19 +01:00
Paul Chote
5f212a99fe
Convert Map.SavePreview to new Png code.
2019-02-24 14:02:19 +01:00
Paul Chote
82fade25a6
Replace Sheet.AsBitmap with Sheet.AsPng.
2019-02-24 14:02:19 +01:00
Paul Chote
b41d4f5cee
Allow Pngs to be created from pixel data.
2019-02-24 14:02:19 +01:00
Paul Chote
4f73b51240
Add Png.Save method.
2019-02-24 14:02:19 +01:00
Paul Chote
ea05e8aae5
Remove flawed RateLimit implementation.
2019-02-23 18:05:57 +00:00
Andre Mohren
42446ac9ba
Implemented trait defined Rollovers.
2019-02-22 21:15:33 +00:00
Paul Chote
5995915281
Fix Positions returned by FrozenActor targets.
...
Also removes redundant Targetables check from actors.
2019-02-03 20:21:51 +01:00
Paul Chote
b71c080285
Add VolumeModifier support to music.
2019-02-02 22:32:29 +01:00
Paul Chote
d6d1f3a06d
Fix FrozenUnderFog / FrozenActor visibility consistency.
...
This fixes cases where both objects return visible / not
when queried at the wrong time during a tick.
2019-01-27 15:21:13 +01:00
Paul Chote
cbe3733deb
Add VolumeModifier support to sound definitions.
2019-01-27 15:05:27 +01:00
Paul Chote
62102b9f77
Add support for Terrain targets with multiple positions.
2019-01-26 22:53:46 +00:00
Paul Chote
fbb1947624
Make Target fields readonly.
2019-01-26 22:53:46 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
a545b2e5fa
Deselect actors when their owner changes.
2019-01-26 21:40:31 +00:00
Paul Chote
0df159e73b
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:31 +00:00
Paul Chote
b1e87e4f60
Remove System.Bitmap from ITexture.
2019-01-08 21:20:06 +00:00
Paul Chote
84e965835b
Remove System.Bitmap from badge and mod icons.
2019-01-08 21:20:06 +00:00
Paul Chote
f65a777366
Remove System.Bitmap from map preview loading.
2019-01-08 21:20:06 +00:00
Paul Chote
4f10d4a302
Remove System.Bitmap from UI artwork loading.
2019-01-08 21:20:06 +00:00