the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 442 B view raw
1#pragma once 2 3// The default number of times any message should be shown 4#define TUTORIAL_MESSAGE_DEFAULT_SHOW 3 5 6class TutorialMessage 7{ 8private: 9 int messageId; 10 bool limitRepeats; 11 unsigned char numRepeats; 12 unsigned char timesShown; 13 DWORD lastDisplayed; 14 15public: 16 TutorialMessage(int messageId, bool limitRepeats = false, unsigned char numRepeats = TUTORIAL_MESSAGE_DEFAULT_SHOW); 17 18 bool canDisplay(); 19 LPCWSTR getMessageForDisplay(); 20};