summaryrefslogtreecommitdiff
path: root/src/d/d_dvd_unk.cpp
blob: eb34b79acc9f8377aa4c253912f03b5d28ddbe75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "d/d_dvd_unk.h"

#include "egg/core/eggHeap.h"
#include "nw4r/ut/ut_ResFont.h"


namespace dDvdUnk {

/** 805750d0 */
static unkstruct_c *singleton;

static nw4r::ut::ResFont *fontPtr;

/** 80052300 */
unkstruct_c *unkstruct_c::create(EGG::Heap *heap) {
    singleton = new (heap, 0x04) unkstruct_c();
    singleton->init();
}

/** 80052340 */
char unkstruct_c::getUnk() {
    return field_0x4;
}

/** 80052350 */
void unkstruct_c::draw() {
    // EGG::
}

/** 800526b0 */
void unkstruct_c::execute() {}

/** 80052750 */
void unkstruct_c::init() {
    field_0x0 = 0;
    field_0x4 = 0;
}

void unkstruct_c::createFont(EGG::Heap *heap) {
    fontPtr = new (heap, 0x04) nw4r::ut::ResFont();
}

} // namespace dDvdUnk