Did a beautification pass on IVideo and family

Removed property backing fields where applicable, introduced C#7 syntax for properties.
Renamed a bunch of interface properties and class private members with more descriptive names.
Did some inconsequential reordering.
This commit is contained in:
penev92
2021-08-01 20:41:46 +03:00
committed by Matthias Mailänder
parent 556413c91d
commit 0df3b34c52
5 changed files with 141 additions and 143 deletions

View File

@@ -13,13 +13,16 @@ namespace OpenRA.Video
{
public interface IVideo
{
ushort Frames { get; }
ushort FrameCount { get; }
byte Framerate { get; }
ushort Width { get; }
ushort Height { get; }
uint[,] FrameData { get; }
int CurrentFrame { get; }
/// <summary>
/// Current frame color data in 32-bit BGRA.
/// </summary>
uint[,] CurrentFrameData { get; }
int CurrentFrameNumber { get; }
void AdvanceFrame();
bool HasAudio { get; }