Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Util.h File Reference
#include "lib/file/vfs/vfs_path.h"
#include "lib/os_path.h"
#include "lib/status.h"
#include "ps/CStr.h"
Include dependency graph for Util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const wchar_t * ErrorString (int err)
 
CStr GetStatusAsString (Status status)
 
OsPath createDateIndexSubdirectory (const OsPath &parentDir)
 Return an unused directory, based on date and index (for example 2016-02-09_0001) More...
 
Status tex_write (Tex *t, const VfsPath &filename)
 
std::string Hexify (const std::string &s)
 
std::string Hexify (const u8 *s, size_t length)
 

Function Documentation

◆ createDateIndexSubdirectory()

OsPath createDateIndexSubdirectory ( const OsPath parentDir)

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

◆ ErrorString()

const wchar_t * ErrorString ( int  err)

◆ GetStatusAsString()

CStr GetStatusAsString ( Status  status)

◆ Hexify() [1/2]

std::string Hexify ( const std::string &  s)

◆ Hexify() [2/2]

std::string Hexify ( const u8 s,
size_t  length 
)

◆ tex_write()

Status tex_write ( Tex t,
const VfsPath filename 
)