Pyrogenesis trunk
Functions | Variables
TemplateLoader.cpp File Reference
#include "precompiled.h"
#include "TemplateLoader.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "ps/XML/Xeromyces.h"
Include dependency graph for TemplateLoader.cpp:

Functions

static Status AddToTemplates (const VfsPath &pathname, const CFileInfo &fileInfo, const uintptr_t cbData)
 
static Status AddToTemplatesUnrestricted (const VfsPath &pathname, const CFileInfo &fileInfo, const uintptr_t cbData)
 
static Status AddActorToTemplates (const VfsPath &pathname, const CFileInfo &fileInfo, 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 fileInfo,
const uintptr_t  cbData 
)
static

◆ AddToTemplates()

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

◆ AddToTemplatesUnrestricted()

static Status AddToTemplatesUnrestricted ( const VfsPath pathname,
const CFileInfo fileInfo,
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