Pyrogenesis  trunk
Functions | Variables
Util.cpp File Reference
#include "precompiled.h"
#include "ps/Util.h"
#include "lib/posix/posix_utsname.h"
#include "lib/ogl.h"
#include "lib/timer.h"
#include "lib/bits.h"
#include "lib/allocators/shared_ptr.h"
#include "lib/sysdep/sysdep.h"
#include "lib/sysdep/gfx.h"
#include "lib/sysdep/snd.h"
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/os_cpu.h"
#include "lib/sysdep/smbios.h"
#include "lib/tex/tex.h"
#include "i18n/L10n.h"
#include "lib/utf8.h"
#include "ps/GameSetup/Config.h"
#include "ps/GameSetup/GameSetup.h"
#include "ps/Game.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "ps/VideoMode.h"
#include "renderer/Renderer.h"
#include "maths/MathUtil.h"
#include "graphics/GameView.h"
#include <iomanip>
#include <sstream>
Include dependency graph for Util.cpp:

Functions

static std::string SplitExts (const char *exts)
 
void WriteSystemInfo ()
 
static const wchar_tHardcodedErrorString (int err)
 
const wchar_tErrorString (int err)
 
Status tex_write (Tex *t, const VfsPath &filename)
 
OsPath createDateIndexSubdirectory (const OsPath &parentDir)
 Return an unused directory, based on date and index (for example 2016-02-09_0001) More...
 
void WriteScreenshot (const VfsPath &extension)
 
void WriteBigScreenshot (const VfsPath &extension, int tiles)
 
std::string Hexify (const std::string &s)
 

Variables

CStrW g_CursorName
 
static size_t s_nextScreenshotNumber
 

Function Documentation

OsPath createDateIndexSubdirectory ( const OsPath parentDir)

Return an unused directory, based on date and index (for example 2016-02-09_0001)

const wchar_t* ErrorString ( int  err)
static const wchar_t* HardcodedErrorString ( int  err)
static
std::string Hexify ( const std::string &  s)
static std::string SplitExts ( const char *  exts)
static
Status tex_write ( Tex t,
const VfsPath filename 
)
void WriteBigScreenshot ( const VfsPath extension,
int  tiles 
)
void WriteScreenshot ( const VfsPath extension)
void WriteSystemInfo ( )

Variable Documentation

CStrW g_CursorName
size_t s_nextScreenshotNumber
static