|
Pyrogenesis
13997
|
#include "precompiled.h"#include "scripting/ScriptingHost.h"#include "scriptinterface/ScriptInterface.h"#include "lib/ogl.h"#include "lib/svn_revision.h"#include "lib/timer.h"#include "lib/utf8.h"#include "lib/res/graphics/ogl_tex.h"#include "lib/posix/posix_utsname.h"#include "lib/sysdep/cpu.h"#include "lib/sysdep/gfx.h"#include "lib/sysdep/numa.h"#include "lib/sysdep/os_cpu.h"#include "lib/sysdep/snd.h"#include "ps/CLogger.h"#include "ps/ConfigDB.h"#include "ps/Filesystem.h"#include "ps/UserReport.h"#include "ps/VideoMode.h"#include "ps/GameSetup/Config.h"Go to the source code of this file.
Macros | |
| #define | INTEGER(id) |
| #define | INTEGER2(id) |
| #define | FLOAT(id) |
| #define | FLOAT2(id) |
| #define | STRING(id) |
| #define | QUERY(target, pname) |
| #define | VERTEXPROGRAM(id) |
| #define | FRAGMENTPROGRAM(id) |
| #define | BOOL(id) INTEGER(id) |
Functions | |
| static void | ReportGLLimits (ScriptInterface &scriptInterface, CScriptValRooted settings) |
| static bool | IsOverridden (const char *setting) |
| void | SetDisableAudio (void *cbdata, bool disabled) |
| void | SetDisableS3TC (void *cbdata, bool disabled) |
| void | SetDisableShadows (void *cbdata, bool disabled) |
| void | SetDisableShadowPCF (void *cbdata, bool disabled) |
| void | SetDisableAllWater (void *cbdata, bool disabled) |
| void | SetDisableFancyWater (void *cbdata, bool disabled) |
| void | SetDisableFBOWater (void *cbdata, bool disabled) |
| void | SetRenderPath (void *cbdata, std::string renderpath) |
| void | RunHardwareDetection () |
| Runs hardware-detection script to adjust default config settings and/or emit warnings depending on the user's system configuration. More... | |
| #define FLOAT | ( | id | ) |
| #define FLOAT2 | ( | id | ) |
| #define FRAGMENTPROGRAM | ( | id | ) |
| #define INTEGER | ( | id | ) |
| #define INTEGER2 | ( | id | ) |
| #define QUERY | ( | target, | |
| pname | |||
| ) |
| #define STRING | ( | id | ) |
| #define VERTEXPROGRAM | ( | id | ) |
|
static |
Definition at line 95 of file HWDetect.cpp.
|
static |
Definition at line 310 of file HWDetect.cpp.
| void RunHardwareDetection | ( | ) |
Runs hardware-detection script to adjust default config settings and/or emit warnings depending on the user's system configuration.
This must only be called after ogl_Init.
Definition at line 165 of file HWDetect.cpp.
| void SetDisableAllWater | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 124 of file HWDetect.cpp.
| void SetDisableAudio | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 101 of file HWDetect.cpp.
| void SetDisableFancyWater | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 141 of file HWDetect.cpp.
| void SetDisableFBOWater | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 152 of file HWDetect.cpp.
| void SetDisableS3TC | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 106 of file HWDetect.cpp.
| void SetDisableShadowPCF | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 118 of file HWDetect.cpp.
| void SetDisableShadows | ( | void * | cbdata, |
| bool | disabled | ||
| ) |
Definition at line 112 of file HWDetect.cpp.
| void SetRenderPath | ( | void * | cbdata, |
| std::string | renderpath | ||
| ) |
Definition at line 160 of file HWDetect.cpp.
1.8.5