blob: 844b1efb2a2ff3fa2fe501c26acc8132812778de (
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
|
#ifndef __KOOPATLAS_STARCOIN_H
#define __KOOPATLAS_STARCOIN_H
#include "koopatlas/core.h"
class dWMStarCoin : public dActor_c {
public:
dWMStarCoin();
int onCreate();
int onDelete();
int onExecute();
int onDraw();
void specialDraw1();
mHeapAllocator_c allocator;
nw4r::g3d::ResFile res;
m3d::mdl_c shopkeep;
mMtx matrix;
bool layoutLoaded;
m2d::EmbedLayout_c layout;
bool isHidden;
s16 rotation;
void LoadCoinsForWorld(int world);
void setCoin(bool On, int coin, int slot);
void setText(const char *str, const char *name);
void setWorldName(int world);
static dWMStarCoin *build();
static dWMStarCoin *instance;
private:
bool isPointBarShown;
};
#endif
|