//---------------------------------------------------------------------------------------------------------------------------------------------------
//
// Copyright (C)2007 DarkWynter Studios. All rights reserved.
//
//---------------------------------------------------------------------------------------------------------------------------------------------------
// {Contact : darkwynter.com for licensing information
//---------------------------------------------------------------------------------------------------------------------------------------------------
namespace DarkWynter.Stream
{
#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using System.Xml;
using System.Diagnostics;
#endregion
using Nuclex;
///
/// Contains the Global Scoreboard where application-scope variables are posted and read.
///
public static class Statics_Stream
{
#region Render
///
/// Render Settings
///
public struct RenderSettings
{
///
/// Graphics Manager
///
public static Nuclex.GraphicsDeviceManager graphics;
///
/// View matrix
///
public static Matrix matrixView;
///
/// Projection matrix
///
public static Matrix matrixProjection;
///
/// Position matrix
///
public static Matrix matrixPosition;
///
/// Zoom enabled/disabled
///
public static bool zoomEnabled = false;
///
/// Zoom scaling factor
///
public static float zoomFactor = 2.0f;
///
/// Hack for drawing the bot's view in a separate viewport
///
public static bool HIJACK_VIEWPORT = false;
///
/// Window Size. Width, Height
///
public static int clientWidth, clientHeight;
///
/// Window minimum and maximum depth
///
public static float clientMinDepth, clientMaxDepth;
///
/// Default view Port
///
public static Viewport defaultViewport = new Viewport(); // Default viewport that takes up the whole screen
///
/// List of view-ports
///
public static List cameraList = new List(); // Window viewports (for multiplayer)
///
/// Window Width
///
public static int GAME_WINDOW_WIDTH = 800;
///
/// Window Height
///
public static int GAME_WINDOW_HEIGHT = 600;
}
#endregion
#region GPU Processor
///
/// GPU Processor settings
///
public struct GPU_ProcessorSettings
{
///
/// Indexed viewport target size
///
public static int INDEXED_TARGET_SIZE = 256;
///
/// Spatial viewport target size
///
public static int SPATIAL_TARGET_SIZE = 1024;
}
#endregion
#region Fonts
///
/// Fonts used for drawing text on-screen
///
public struct Fonts
{
// Basic Fonts that are used
///
/// Arial
///
public static SpriteFont Arial;
///
/// Comic Sans
///
public static SpriteFont ComicSans;
///
/// Comic Sans small
///
public static SpriteFont ComicSansSmall;
}
#endregion
}
}