-
Notifications
You must be signed in to change notification settings - Fork 1
/
DeathMessage.h
50 lines (38 loc) · 1.09 KB
/
DeathMessage.h
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
46
47
48
49
50
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_DEATHMESSAGE_H__F9F9626C_0FD6_460E_B14F_0575D7631A0E__INCLUDED_)
#define AFX_DEATHMESSAGE_H__F9F9626C_0FD6_460E_B14F_0575D7631A0E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string>
typedef struct
{
bool gold;
bool barracks;
bool river;
bool undead;
bool maze;
bool cheese;
bool entered;
bool zagor;
int level;
}Achievements;
class DeathMessage
{
public:
DeathMessage();
int ShowDeath(int success);
void SetDeathMessage(char * msg,...);
Achievements done;
private:
std::string death_message;
};
#endif // !defined(AFX_DEATHMESSAGE_H__F9F9626C_0FD6_460E_B14F_0575D7631A0E__INCLUDED_)