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
5
namespace
nw4r {
6
namespace
lyt {
7
8
class
ResourceAccessor
{
9
public
:
10
virtual
~ResourceAccessor
();
11
virtual
void
*GetResource(
unsigned
long
,
const
char
*,
unsigned
long
*) = 0;
12
virtual
void
*GetFont(
const
char
*);
13
};
14
15
class
ArcResourceAccessor
:
public
ResourceAccessor
{
16
public
:
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
24
private
:
25
ARCHandle
mArcHandle;
26
void
* mpArcBuf;
27
ut::detail::LinkListImpl
mFontList;
28
char
mResRootDir[128];
29
};
30
31
}
// namespace lyt
32
}
// namespace nw4r
nw4r::lyt::ArcResourceAccessor
Definition
lyt_resource.hpp:15
nw4r::lyt::ResourceAccessor
Definition
lyt_resource.hpp:8
nw4r::ut::detail::LinkListImpl
Definition
link_list_impl.hpp:8
ARCHandle
Definition
ARC.h:8
include
lib
nw4r
lyt
lyt_resource.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0