Pyrogenesis  trunk
Functions
HWDetect.cpp File Reference
#include "precompiled.h"
#include "lib/svn_revision.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "lib/external_libraries/libsdl.h"
#include "lib/posix/posix_utsname.h"
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/numa.h"
#include "lib/sysdep/os_cpu.h"
#include "soundmanager/SoundManager.h"
#include "ps/CLogger.h"
#include "ps/ConfigDB.h"
#include "ps/Filesystem.h"
#include "ps/GameSetup/Config.h"
#include "ps/Profile.h"
#include "ps/scripting/JSInterface_ConfigDB.h"
#include "ps/scripting/JSInterface_Debug.h"
#include "ps/UserReport.h"
#include "ps/VideoMode.h"
#include "renderer/backend/IDevice.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/JSON.h"
#include "scriptinterface/Object.h"
#include "scriptinterface/ScriptInterface.h"
#include <ft2build.h>
#include <freetype/freetype.h>
#include <sstream>
#include <string>
#include <thread>
Include dependency graph for HWDetect.cpp:

Functions

static void ReportSDL (const ScriptRequest &rq, JS::HandleValue settings)
 
static void ReportFreeType (const ScriptRequest &rq, JS::HandleValue settings)
 
void SetDisableAudio (bool disabled)
 
void RunHardwareDetection ()
 Runs hardware-detection script to adjust default config settings and/or emit warnings depending on the user's system configuration. More...
 

Function Documentation

◆ ReportFreeType()

static void ReportFreeType ( const ScriptRequest rq,
JS::HandleValue  settings 
)
static

◆ ReportSDL()

static void ReportSDL ( const ScriptRequest rq,
JS::HandleValue  settings 
)
static

◆ RunHardwareDetection()

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 backend device creation.

◆ SetDisableAudio()

void SetDisableAudio ( bool  disabled)