NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
lyt_resource.hpp
1#pragma once
2#include <lib/rvl/arc/ARC.h>
3#include <lib/nw4r/ut/detail/link_list_impl.hpp>
4
5namespace nw4r {
6namespace lyt {
7
9public:
10 virtual ~ResourceAccessor();
11 virtual void *GetResource(unsigned long, const char *, unsigned long *) = 0;
12 virtual void *GetFont(const char *);
13};
14
16public:
17 virtual ~ArcResourceAccessor();
18 virtual void *GetResource(unsigned long, const char *, unsigned long *);
19 virtual void *GetFont(const char *);
20
21 bool Attach(void *, const char *);
22 void Detach();
23
24private:
25 ARCHandle mArcHandle;
26 void* mpArcBuf;
28 char mResRootDir[128];
29};
30
31} // namespace lyt
32} // namespace nw4r
Definition ARC.h:8