blob: 347fcb443f6627e1253324cf0d1ee94c9594b56d (
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_HUD_H
#define __KOOPATLAS_HUD_H
#include "koopatlas/core.h"
class dWMHud_c : public dBase_c {
public:
dWMHud_c();
int onCreate();
int onDelete();
int onExecute();
int onDraw();
bool layoutLoaded;
m2d::EmbedLayout_c layout;
void updateLives();
void showPointBar();
void hidePointBar();
void setPointName();
void checkPointStatus();
void setLevelText(const char *str, int length = -1);
void setLevelText(const wchar_t *str, int length = -1);
void setWorldName();
void setWorldText(const char *str, int length = -1);
void setWorldText(const wchar_t *str, int length = -1);
static dWMHud_c *build();
static dWMHud_c *instance;
private:
bool isPointBarShown;
};
#endif
|