blob: cab1a7cd24ab0a4b564876df9cdc5b322b63bdab (
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
44
45
|
#ifndef TIME_PROC_H
#define TIME_PROC_H
/**
* A callback implementation that controls ???
*/
#include "m/m3d/m_proc.h"
#include "m/m3d/m_smdl.h"
#include "nw4r/g3d/g3d_scnobj.h"
class TimeCallback_c : public nw4r::g3d::IScnObjCallback {
public:
TimeCallback_c() : field_0x04(0), field_0x08(0), field_0x09(0) {}
virtual ~TimeCallback_c() {}
virtual void ExecCallback_CALC_VIEW(
nw4r::g3d::ScnObj::Timing /* timing */, nw4r::g3d::ScnObj * /* pObj */, u32 /* param */, void * /* pInfo */
) override;
/* 0x04 */ u32 field_0x04;
/* 0x08 */ u8 field_0x08;
/* 0x09 */ u8 field_0x09;
};
class TimeProcBase : public m3d::proc_c {
public:
virtual ~TimeProcBase() {}
};
class TimeProc : public TimeProcBase {
public:
TimeProc() {}
virtual ~TimeProc() {}
TimeCallback_c mCallback;
};
class MdlWithTimeProc : public m3d::smdl_c {
public:
int fn_8001F3B0(nw4r::g3d::ResMdl mdl, mAllocator_c *alloc, u32 bufferOption);
TimeProc mProc;
};
#endif // TIME_PROC_H
|