using System.Collections.Generic; namespace GameCult.Eve.PluginFields { public static class EveFieldsSchemas { public const string Surface2D = "gamecult.fields.surface2d.v1"; public const string Objects = "gamecult.fields.objects.v1"; public const string Gravity = "gamecult.fields.gravity.v1"; public const string Splats = "gamecult.fields.splats.v1"; } public static class EveFieldsSplatChannels { public const int Visibility = 0; public const int Gravity = 1; public const int GravityWave = 2; public const int Influence = 3; public const int Tint = 4; } public static class EveFieldsSplatLayerKeys { public const string GravityHeight = "gravity.height"; public const string GravityWave = "gravity.wave"; public const string Visibility = "visibility.mask"; public const string FogSurfaceHeight = "fog.surface_height"; public const string FogPatchHeight = "fog.patch_height"; public const string FogPatch = "fog.patch"; public const string FogTint = "fog.tint"; public const string Influence = "influence.mask"; } public static class EveFieldsSplatBlendModes { public const string Add = "add"; public const string Max = "max"; public const string Alpha = "alpha"; } public static class EveFieldsSplatSourceKinds { public const int Constant = 0; public const int SimplexNoise = 1; public const int AnimatedSimplexNoise = 2; public const int AnimatedCellNoiseB = 3; public const int AnimatedRadialCosine = 4; } public static class EveFieldsSplatSourceFlags { public const int AbsoluteValue = 1; } public static class EveFieldsSplatFalloffs { public const int Solid = 0; public const int Linear = 1; public const int Smooth = 2; public const int InverseSmooth = 3; public const int PowerPulse = 4; } public interface IEveFieldsViewport { double MinX { get; } double MinY { get; } double MaxX { get; } double MaxY { get; } } public interface IEveFieldsSplatLayer { string LayerKey { get; } string DisplayName { get; } int Channel { get; } string BlendMode { get; } string GraphicsFormat { get; } bool ClearBeforeDraw { get; } double ClearR { get; } double ClearG { get; } double ClearB { get; } double ClearA { get; } } public interface IEveFieldsSplatSoa { int Count { get; } IReadOnlyList CenterX { get; } IReadOnlyList CenterY { get; } IReadOnlyList HalfExtentX { get; } IReadOnlyList HalfExtentY { get; } IReadOnlyList RotationCos { get; } IReadOnlyList RotationSin { get; } IReadOnlyList Channel { get; } IReadOnlyList Falloff { get; } IReadOnlyList ValueR { get; } IReadOnlyList ValueG { get; } IReadOnlyList ValueB { get; } IReadOnlyList ValueA { get; } IReadOnlyList SourceKey { get; } IReadOnlyList LayerIndex { get; } IReadOnlyList SourceKind { get; } IReadOnlyList FrequencyX { get; } IReadOnlyList FrequencyY { get; } IReadOnlyList PhaseX { get; } IReadOnlyList PhaseY { get; } IReadOnlyList AnimationSpeed { get; } IReadOnlyList SourceFlags { get; } IReadOnlyList FalloffScale { get; } IReadOnlyList FalloffExponent { get; } } public interface IEveFieldsSplatsDocument { string Schema { get; } long FrameId { get; } double SimulationTimeSeconds { get; } IEveFieldsViewport Viewport { get; } IReadOnlyList Layers { get; } IEveFieldsSplatSoa Splats { get; } } }