NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ut_ResFont.h
1#ifndef NW4R_UT_RES_FONT_H
2#define NW4R_UT_RES_FONT_H
3#include <nw4r/types_nw4r.h>
4
5#include <nw4r/ut/ut_ResFontBase.h>
6
7namespace nw4r {
8namespace ut {
9
10// Forward declarations
11struct BinaryFileHeader;
12
13class ResFont : public detail::ResFontBase {
14public:
15 ResFont();
16 virtual ~ResFont(); // at 0x8
17
18 bool SetResource(void* pBuffer);
19
20private:
21 static FontInformation* Rebuild(BinaryFileHeader* pHeader);
22
23private:
24 static const ulong SIGNATURE = 'RFNT';
25 static const ulong SIGNATURE_UNPACKED = 'RFNU';
26
27 static const ulong SIGNATURE_FONTINFO = 'FINF';
28 static const ulong SIGNATURE_TEXGLYPH = 'TGLP';
29 static const ulong SIGNATURE_CHARWIDTH = 'CWDH';
30 static const ulong SIGNATURE_CHARMAP = 'CMAP';
31
32 // TODO: Which block is this?
33 static const ulong SIGNATURE_GLGR = 'GLGR';
34};
35
36} // namespace ut
37} // namespace nw4r
38
39#endif
Debugging library which includes various utilities used by the rest of nw4r.
Definition ut_list.cpp:4