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,31 @@
#include "Minecraft.World/Header Files/stdafx.h"
#include "Minecraft.World/net/minecraft/world/item/ItemInstance.h"
#include "../../UI/UI.h"
#include "../Tutorial.h"
#include "XuiCraftingTask.h"
bool XuiCraftingTask::isCompleted() {
// This doesn't seem to work
// IUIScene_CraftingMenu *craftScene =
// reinterpret_cast<IUIScene_CraftingMenu *>(tutorial->getScene());
UIScene_CraftingMenu* craftScene =
reinterpret_cast<UIScene_CraftingMenu*>(tutorial->getScene());
bool completed = false;
switch (m_type) {
case e_Crafting_SelectGroup:
if (craftScene != nullptr &&
craftScene->getCurrentGroup() == m_group) {
completed = true;
}
break;
case e_Crafting_SelectItem:
if (craftScene != nullptr && craftScene->isItemSelected(m_item)) {
completed = true;
}
break;
}
return completed;
}