Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
TemplateLoader.cpp File Reference
#include "precompiled.h"
#include "TemplateLoader.h"
#include "lib/code_annotation.h"
#include "lib/file/vfs/vfs_util.h"
#include "lib/path.h"
#include "lib/status.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/Errors.h"
#include "ps/Filesystem.h"
#include "ps/XMB/XMBData.h"
#include "ps/XMB/XMBStorage.h"
#include "ps/XML/Xeromyces.h"
#include <cstddef>
#include <cstdint>
#include <utility>
Include dependency graph for TemplateLoader.cpp:

Functions

static Status AddToTemplates (const VfsPath &pathname, const CFileInfo &, const uintptr_t cbData)
 
static Status AddToTemplatesUnrestricted (const VfsPath &pathname, const CFileInfo &, const uintptr_t cbData)
 
static Status AddActorToTemplates (const VfsPath &pathname, const CFileInfo &, const uintptr_t cbData)
 

Variables

static const wchar_t TEMPLATE_ROOT [] = L"simulation/templates/"
 
static const wchar_t ACTOR_ROOT [] = L"art/actors/"
 
static CParamNode NULL_NODE (false)
 

Function Documentation

◆ AddActorToTemplates()

static Status AddActorToTemplates ( const VfsPath &  pathname,
const CFileInfo &  ,
const uintptr_t  cbData 
)
static

◆ AddToTemplates()

static Status AddToTemplates ( const VfsPath &  pathname,
const CFileInfo &  ,
const uintptr_t  cbData 
)
static

◆ AddToTemplatesUnrestricted()

static Status AddToTemplatesUnrestricted ( const VfsPath &  pathname,
const CFileInfo &  ,
const uintptr_t  cbData 
)
static

Variable Documentation

◆ ACTOR_ROOT

const wchar_t ACTOR_ROOT[] = L"art/actors/"
static

◆ NULL_NODE

CParamNode NULL_NODE(false) ( false  )
static

◆ TEMPLATE_ROOT

const wchar_t TEMPLATE_ROOT[] = L"simulation/templates/"
static