move everything to minecraft subdir, switch to absolute include path

This commit is contained in:
Tropical
2026-03-30 11:01:08 -05:00
parent d570e28c16
commit 5c17c5c9ff
7716 changed files with 36853 additions and 36857 deletions
@@ -0,0 +1,22 @@
#include "Minecraft.World/Header Files/stdafx.h"
#include "TutorialMessage.h"
TutorialMessage::TutorialMessage(
int messageId, bool limitRepeats /*= false*/,
unsigned char numRepeats /*= TUTORIAL_MESSAGE_DEFAULT_SHOW*/)
: messageId(messageId),
limitRepeats(limitRepeats),
numRepeats(numRepeats),
timesShown(0) {}
bool TutorialMessage::canDisplay() {
return !limitRepeats || (timesShown < numRepeats);
}
const wchar_t* TutorialMessage::getMessageForDisplay() {
if (!canDisplay()) return L"";
if (limitRepeats) ++timesShown;
return app.GetString(messageId);
}