![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "lib/build_version.h"#include "lib/code_annotation.h"#include "lib/config2.h"#include "lib/debug.h"#include "lib/external_libraries/curl.h"#include "lib/external_libraries/enet.h"#include "lib/external_libraries/png.h"#include "lib/external_libraries/libsdl.h"#include "lib/path.h"#include "lib/posix/posix_utsname.h"#include "lib/sysdep/arch.h"#include "lib/sysdep/compiler.h"#include "lib/sysdep/cpu.h"#include "lib/sysdep/os.h"#include "lib/sysdep/os_cpu.h"#include "lib/sysdep/sysdep.h"#include "lib/timer.h"#include "ps/CLogger.h"#include "ps/CStr.h"#include "ps/Errors.h"#include "ps/Filesystem.h"#include "ps/GameSetup/Config.h"#include "ps/Profiler2.h"#include "ps/Pyrogenesis.h"#include "ps/UserReport.h"#include "ps/VideoMode.h"#include "ps/scripting/JSInterface_ConfigDB.h"#include "ps/scripting/JSInterface_Debug.h"#include "renderer/backend/IDevice.h"#include "scriptinterface/FunctionWrapper.h"#include "scriptinterface/JSON.h"#include "scriptinterface/Object.h"#include "scriptinterface/Interface.h"#include "scriptinterface/Request.h"#include "scriptinterface/StructuredClone.h"#include "soundmanager/ISoundManager.h"#include <SDL_cpuinfo.h>#include <SDL_version.h>#include <SDL_video.h>#include <boost/version.hpp>#include <cstdio>#include <ctime>#include <cwchar>#include <fmt/format.h>#include <freetype/fttypes.h>#include <iterator>#include <js/PropertyAndElement.h>#include <js/RootingAPI.h>#include <js/TypeDecls.h>#include <js/Value.h>#include <libxml/xmlversion.h>#include <random>#include <sodium.h>#include <sstream>#include <string>#include <thread>#include <unicode/uvernum.h>#include <vector>#include <zlib.h>#include <ft2build.h>#include <FT_FREETYPE_H>#include "lib/external_libraries/gloox.h"#include "nvtt/nvtt.h"#include <miniupnpc/miniupnpc.h>#include <vorbis/codec.h>Classes | |
| class | anonymous_namespace{HWDetect.cpp}::Reporter |
| class | anonymous_namespace{HWDetect.cpp}::LibraryReporter |
Namespaces | |
| namespace | anonymous_namespace{HWDetect.cpp} |
Functions | |
| JS::Value | anonymous_namespace{HWDetect.cpp}::MakeSDLReport (const Script::Request &rq) |
| JS::Value | anonymous_namespace{HWDetect.cpp}::MakeFreeTypeReport (const Script::Request &rq) |
| void | anonymous_namespace{HWDetect.cpp}::ReportLibraries (const Script::Request &rq, JS::HandleValue settings) |
| void | anonymous_namespace{HWDetect.cpp}::WriteSystemInfo (Renderer::Backend::IDevice *device, const utsname &un) |
| void | SetDisableAudio (bool disabled) |
| void | RunHardwareDetection (bool writeSystemInfoBeforeDetection, Renderer::Backend::IDevice *device) |
| Runs hardware-detection script to adjust default config settings and/or emit warnings depending on the user's system configuration. More... | |
| void RunHardwareDetection | ( | bool | writeSystemInfoBeforeDetection, |
| Renderer::Backend::IDevice * | device | ||
| ) |
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.
| void SetDisableAudio | ( | bool | disabled | ) |