blob: 6a0b4d4606daa9717c42cbe993a20f888c145e95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
// The default number of times any message should be shown
#define TUTORIAL_MESSAGE_DEFAULT_SHOW 3
class TutorialMessage
{
private:
int messageId;
bool limitRepeats;
unsigned char numRepeats;
unsigned char timesShown;
DWORD lastDisplayed;
public:
TutorialMessage(int messageId, bool limitRepeats = false, unsigned char numRepeats = TUTORIAL_MESSAGE_DEFAULT_SHOW);
bool canDisplay();
LPCWSTR getMessageForDisplay();
};
|