Pyrogenesis  trunk
Functions | Variables
Config.cpp File Reference
#include "precompiled.h"
#include "Config.h"
#include "lib/timer.h"
#include "ps/CConsole.h"
#include "ps/CLogger.h"
#include "ps/ConfigDB.h"
#include "ps/GameSetup/CmdLineArgs.h"
Include dependency graph for Config.cpp:

Functions

static void LoadGlobals ()
 
static void ProcessCommandLineArgs (const CmdLineArgs &args)
 
void CONFIG_Init (const CmdLineArgs &args)
 

Variables

const wchar_t g_DefaultCursor [] = L"default-arrow"
 
CStrW g_CursorName = g_DefaultCursor
 
bool g_NoGLS3TC = false
 
bool g_NoGLAutoMipmap = false
 
bool g_NoGLVBO = false
 
bool g_PauseOnFocusLoss = false
 
bool g_RenderActors = true
 
bool g_Shadows = false
 
bool g_ShadowPCF = false
 
bool g_WaterUgly = false
 
bool g_WaterFancyEffects = false
 
bool g_WaterRealDepth = false
 
bool g_WaterRefraction = false
 
bool g_WaterReflection = false
 
bool g_WaterShadows = false
 
bool g_Particles = false
 
bool g_Silhouettes = false
 
bool g_ShowSky = false
 
bool g_PreferGLSL = false
 
bool g_PostProc = false
 
bool g_SmoothLOS = false
 
float g_Gamma = 1.0f
 
CStr g_RenderPath = "default"
 
int g_xres
 
int g_yres
 
float g_GuiScale = 1.0f
 
bool g_VSync = false
 
bool g_Quickstart = false
 
bool g_DisableAudio = false
 
bool g_ShowPathfindingOverlay = false
 
bool g_TriPathfind = false
 
CStr g_AutostartMap = ""
 

Function Documentation

void CONFIG_Init ( const CmdLineArgs args)
static void LoadGlobals ( )
static
static void ProcessCommandLineArgs ( const CmdLineArgs args)
static

Variable Documentation

CStr g_AutostartMap = ""
CStrW g_CursorName = g_DefaultCursor
const wchar_t g_DefaultCursor[] = L"default-arrow"
bool g_DisableAudio = false
float g_Gamma = 1.0f
float g_GuiScale = 1.0f
bool g_NoGLAutoMipmap = false
bool g_NoGLS3TC = false
bool g_NoGLVBO = false
bool g_Particles = false
bool g_PauseOnFocusLoss = false
bool g_PostProc = false
bool g_PreferGLSL = false
bool g_Quickstart = false
bool g_RenderActors = true
CStr g_RenderPath = "default"
bool g_ShadowPCF = false
bool g_Shadows = false
bool g_ShowPathfindingOverlay = false
bool g_ShowSky = false
bool g_Silhouettes = false
bool g_SmoothLOS = false
bool g_TriPathfind = false
bool g_VSync = false
bool g_WaterFancyEffects = false
bool g_WaterRealDepth = false
bool g_WaterReflection = false
bool g_WaterRefraction = false
bool g_WaterShadows = false
bool g_WaterUgly = false
int g_xres
int g_yres