Paul Chote
7694d0842b
Fix two outdated comments.
2021-03-12 21:52:16 +01:00
Paul Chote
96c3825b6a
Add alpha support to TerrainSpriteLayer.
2021-03-12 21:52:16 +01:00
Paul Chote
a6467cb515
Fix Nullable type handling in Lua docs.
2021-03-10 17:46:44 +01:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
reaperrr
2473b8763b
Rename methods/activities with Visual in them
...
While they may be only 'visual' in terms of influence/cell grid,
they all do update CenterPosition, which is essentially the
actual world position of the actor.
'Visual' would imply that it only affects the position where the
actor is drawn, which is inaccurate.
Furthermore, using the term 'Visual' here would make
naming future methods/properties related to visual interpolation
unnecessarily complicated, because that's where we might
need a real 'Visual(Only)Position'.
2021-03-08 11:19:11 +01:00
teinarss
7073279ab8
Replace WebClient with HttpClient
2021-03-07 16:04:57 +00:00
teinarss
ed43071792
Compile engine and mod dlls as NET5 when not using mono
2021-03-07 16:04:57 +00:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
teinarss
c2279d3071
Change GetField calls to use nameof
2021-02-28 18:43:51 +01:00
teinarss
ed295ae315
Change throw exceptions to use nameof in parameter
2021-02-28 18:43:51 +01:00
teinarss
53b781960c
Change FieldLoader.LoadUsing to use nameof
2021-02-28 18:43:51 +01:00
Paul Chote
0975102e92
Add Alpha support to sequences.
...
Alpha can specify a single value for the sequence
or values for each frame in the sequence.
AlphaFade: True can be specified to linearly fade
to transparent over the length of the animation.
2021-02-24 19:20:48 +01:00
Matthias Mailänder
5aa67a42c1
Bump Eluant version to support Unicode strings.
2021-02-18 23:16:49 +01:00
Vapre
f176a0ed83
Fix. Call EndGame in one place of server main loop. Ensure UPnP port forward is removed always. 18807.
2021-02-14 13:54:48 +00:00
Matthias Mailänder
e7cfd2765c
Make UI cursors configurable.
2021-02-14 13:09:59 +00:00
abcdefg30
96c4554644
Remove GenericSelectTarget
2021-02-14 12:51:12 +00:00
Adam Mitchell
9ee7294c81
Improve shroud performance
2021-02-12 20:58:56 +01:00
abcdefg30
e6c9d5fc96
Don't check IsTraitDisabled twice when calculating IsTargetableBy
2021-02-12 02:17:26 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
df1191db5b
Don't crash if a null uid is given to QueryRemoteMapDetails.
2021-01-30 13:44:51 +01:00
teinarss
58313520f0
Change renderables to class to avoid boxing
2021-01-29 00:24:27 +01:00
Paul Chote
82a9809192
Remove RenderSprites.Scale.
2021-01-21 18:22:11 +01:00
Paul Chote
f6b40b2bce
Allow sequences to define a Scale factor.
2021-01-21 18:22:11 +01:00
abcdefg30
fd75e03d9c
Use pattern matching in FieldSaver
2021-01-21 18:05:07 +01:00
Paul Chote
15c926b6b9
Move DefineConstants="MONO" into OpenRA.Game.csproj.
2021-01-16 22:58:05 +01:00
Paul Chote
142870d78a
Support multiple sheets in TerrainSpriteLayer.
2021-01-16 22:09:08 +01:00
Paul Chote
b0aa32cd1b
Support multiple palettes in TerrainSpriteLayer.
2021-01-16 22:09:08 +01:00
Paul Chote
53db1230ab
Move default tileset parsing to Mods.Common.
2021-01-11 21:57:55 +01:00
Paul Chote
207e09fea9
Add plumbing for mod-defined terrain loaders.
2021-01-11 21:57:55 +01:00
Paul Chote
995c33a942
Remove Ruleset.TileSet.
2021-01-11 21:57:55 +01:00
Paul Chote
2782620081
Add ITemplatedTerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
be2ca77acf
Add ITerrainInfoNotifyMapCreated interface.
2021-01-11 21:57:55 +01:00
Paul Chote
87790069e9
Add ITerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
0a374e2264
Move ownership of tile sprites to the terrain renderer.
2021-01-11 21:57:55 +01:00
Paul Chote
02a2624bcc
Add a per-player handicap option to the lobby.
...
Handicaps reduce unit health, firepower, and build speed.
2021-01-10 22:23:52 +01:00
Matthias Mailänder
7bc17b59f5
Add a generic video player widget.
2021-01-10 10:21:17 +01:00
Paul Chote
16d0f8a5a6
Add a setting to pause the shellmap.
2021-01-10 00:23:30 +01:00
Paul Chote
96641873ae
Replace highlight palette with tint effects.
2021-01-06 00:06:51 +01:00
Paul Chote
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
67754e8693
Add alpha support to SpriteRenderer.
2021-01-06 00:06:51 +01:00
Paul Chote
b88495c689
Remove palettes from base IRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
6fed31717c
Fix map editor inverting preview color channels.
2021-01-02 11:43:55 +01:00
Paul Chote
aee3eb99c3
Fix --dump-sequence-sheets crash.
2021-01-02 11:43:55 +01:00
teinarss
5e74e58b22
Add support for dotnet core for Windows
2021-01-01 19:42:01 +01:00
Paul Chote
62fa3b7c9c
Rename SpriteFrameType enums.
2020-12-25 18:51:25 +01:00
Paul Chote
ce09b402d0
Fix definition and use of non-indexed sprite color channels.
...
Our SpriteFrameType names refer to the byte channel order rather than
the bit order, meaning that SpriteFrameType.BGRA corresponds to the
standard Color.ToArgb() etc byte order when the (little-endian) integer
is read as 4 individual bytes.
The previous code did not account for the fact that non-indexed Png
uses big-endian storage for its RGBA colours, and that SheetBuilder
had the color channels incorrectly swapped to match and cancel this out.
New SpriteFrameType enums are introduced to distinguish between BGRA
(little-endian) and RGBA (big-endian) formats, and also for 24bit data
without alpha. The channel swizzling / alpha creation is now handled
when copying into the texture atlas, removing the need for non-png
ISpriteLoader implementations to allocate an additional temporary array
and reorder the channels during load.
2020-12-25 18:51:25 +01:00
Paul Chote
6e7ad9df25
Remove vestigial translation plumbing.
...
This was never completed to the level required to
be properly used ingame.
2020-12-25 16:18:28 +01:00
Matthias Mailänder
fb20479379
Add .vxl support to the asset browser.
2020-12-25 00:00:11 +00:00
Vapre
e90fc1ef39
As proposed by Leonardo-Ferreira.
2020-12-24 23:43:35 +00:00
Vapre
ce013f17d6
Server DispatchOrdersToClients create frame once for all clients.
...
Avoid creating frame data per client connection. Avoid
the allocation of a memory stream and setting frame header
and copying frame data.
2020-12-24 23:43:35 +00:00