mysimulation/server/tso.common/FSOEnvironment.cs
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

38 lines
1.4 KiB
C#
Executable file

using System.Threading;
namespace FSO.Common
{
public static class FSOEnvironment
{
public static Thread GameThread;
public static string ContentDir = "Content/";
public static string UserDir = "Content/";
public static string GFXContentDir = "Content/OGL";
public static bool DirectX = false;
public static bool Linux = false;
public static bool UseMRT = true;
/// <summary>
/// True if system does not support gl_FragDepth (eg. iOS). Uses alternate pipeline that abuses stencil buffer.
/// </summary>
public static bool SoftwareDepth = false;
public static int GLVer = 3;
public static float UIZoomFactor = 1f;
public static float DPIScaleFactor = 1;
public static bool SoftwareKeyboard = false;
public static bool NoSound = false;
public static int RefreshRate = 60;
/// <summary>
/// True if 3D features are enabled (like smooth rotation + zoom). Loads some content with mipmaps and other things.
/// Used to mean "3d camera" as well, though that has been moved to configuration and world state.
/// </summary>
public static bool Enable3D;
public static bool EnableNPOTMip = true;
public static bool TexCompress = true;
public static bool TexCompressSupport = true;
public static bool MSAASupport = true;
public static string Args = "";
}
}