NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Namespaces | Functions | Variables
GlobalPropertyNames.h File Reference

Provides a list of the global property key strings created by Graphics Core and their default values. More...

#include <string>
#include "Types.h"
Include dependency graph for GlobalPropertyNames.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  GraphicsCore
 Namespace to contain every item that is related to the rendering engine. The name itself is a legacy, as is a lot of the code contain by it, from the Saturn V engine that built as part of Adam and Ricky's Engine class.


const std::string GraphicsCore::GP_WINDOW_WIDTH ("screenheight")
const std::string GraphicsCore::GP_WINDOW_HEIGHT ("screenwidth")
const std::string GraphicsCore::GP_CLIENT_WIDTH ("ClientWidth")
const std::string GraphicsCore::GP_CLIENT_HEIGHT ("ClientHeight")
const std::string GraphicsCore::GP_CLIENT_ASPECT ("ClientAspect")
const std::string GraphicsCore::GP_CLIENT_ASPECT_INV ("ClientAspectInv")
const std::string GraphicsCore::GP_GRAPHICS_PAUSE ("GraphicsPause")
const std::string GraphicsCore::GP_CLEAR_COLOR ("ClearColor")
const std::string GraphicsCore::GP_ANISOTROPIC_FILTERING ("AnisotropicFiltering")
const std::string GraphicsCore::GP_FOG_ENABLED ("FogEnabled")
const std::string GraphicsCore::GP_FOG_COLOR ("FogColor")
const std::string GraphicsCore::GP_FOG_MODE ("FogMode")
const std::string GraphicsCore::GP_FOG_RANGE_NEAR ("FogRangeNear")
const std::string GraphicsCore::GP_FOG_RANGE_FAR ("FogRangeFar")
const std::string GraphicsCore::GP_FOG_RANGE_DENSITY ("FogDensity")
const std::string GraphicsCore::GP_HWND ("hwnd")


const unsigned int GraphicsCore::GP_WINDOW_WIDTH_DEF = 1024
const unsigned int GraphicsCore::GP_WINDOW_HEIGHT_DEF = 768
const unsigned int GraphicsCore::GP_CLIENT_WIDTH_DEF = GP_WINDOW_WIDTH_DEF
const unsigned int GraphicsCore::GP_CLIENT_HEIGHT_DEF = GP_WINDOW_HEIGHT_DEF
const float GraphicsCore::GP_CLIENT_ASPECT_DEF = (float) GP_CLIENT_WIDTH_DEF / (float) GP_CLIENT_HEIGHT_DEF
const float GraphicsCore::GP_CLIENT_ASPECT_INV_DEF = 1.0f / GP_CLIENT_ASPECT_DEF
const bool GraphicsCore::GP_GRAPHICS_PAUSE_DEF = false
const Color GraphicsCore::GP_CLEAR_COLOR_DEF = Color(0.0, 0.0, 0.0, 1.0)
const unsigned int GraphicsCore::GP_ANISOTROPIC_FILTERING_DEF = 0
const bool GraphicsCore::GP_FOG_ENABLED_DEF = false
const Color GraphicsCore::GP_FOG_COLOR_DEF = Color(1.0, 1.0, 1.0, 1.0)
const unsigned int GraphicsCore::GP_FOG_MODE_DEF = 3
const float GraphicsCore::GP_FOG_RANGE_NEAR_DEF = 0.5f
const float GraphicsCore::GP_FOG_RANGE_FAR_DEF = 0.8f
const float GraphicsCore::GP_FOG_RANGE_DENSITY_DEF = 0.66f

Detailed Description

Provides a list of the global property key strings created by Graphics Core and their default values.

Ricky Curtice

Definition in file GlobalPropertyNames.h.