47class ArcResourceAccessor :
public ResourceAccessor {
49 static const ulong RES_TYPE_ANIMATION =
'anim';
50 static const ulong RES_TYPE_LAYOUT =
'blyt';
51 static const ulong RES_TYPE_FONT =
'font';
52 static const ulong RES_TYPE_TEXTURE =
'timg';
55 ArcResourceAccessor();
57 virtual void* GetResource(ulong type,
const char* pName,
60 virtual ut::Font* GetFont(
const char* pName);
62 bool Attach(
void* pArchive,
const char* pRootDir);
65 bool IsAttached()
const {
66 return mArcBuf != NULL;
70 static const int ROOTPATH_MAX = 128;
75 FontRefLinkList mFontList;
76 char mResRootDir[ROOTPATH_MAX];