From 20af84454a25793c74c639dc74ffa7fe4ba90d8a Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:15:26 -0600 Subject: [PATCH] fix: add boolean typdef, more case-insensitive includes --- Minecraft.World/HangingEntityItem.h | 2 +- Minecraft.World/RedStoneItem.cpp | 2 +- Minecraft.World/TileItem.cpp | 2 +- Minecraft.World/linux/wlinux.h | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Minecraft.World/HangingEntityItem.h b/Minecraft.World/HangingEntityItem.h index 51bd8b239..e927f24ed 100644 --- a/Minecraft.World/HangingEntityItem.h +++ b/Minecraft.World/HangingEntityItem.h @@ -1,6 +1,6 @@ #pragma once -#include "item.h" +#include "Item.h" class HangingEntity; diff --git a/Minecraft.World/RedStoneItem.cpp b/Minecraft.World/RedStoneItem.cpp index 64201caa4..5c7c8a4ab 100644 --- a/Minecraft.World/RedStoneItem.cpp +++ b/Minecraft.World/RedStoneItem.cpp @@ -4,7 +4,7 @@ #include "net.minecraft.world.level.tile.h" #include "ItemInstance.h" #include "GenericStats.h" -#include "RedstoneItem.h" +#include "RedStoneItem.h" RedStoneItem::RedStoneItem(int id) : Item(id) { diff --git a/Minecraft.World/TileItem.cpp b/Minecraft.World/TileItem.cpp index 8f624bff6..a0a7fb93e 100644 --- a/Minecraft.World/TileItem.cpp +++ b/Minecraft.World/TileItem.cpp @@ -10,7 +10,7 @@ using namespace std; #include "net.minecraft.world.h" #include "net.minecraft.stats.h" #include "TileItem.h" -#include "facing.h" +#include "Facing.h" // 4J-PB - for the debug option of not removing items #include diff --git a/Minecraft.World/linux/wlinux.h b/Minecraft.World/linux/wlinux.h index 569b33a4d..90c3d1d4c 100644 --- a/Minecraft.World/linux/wlinux.h +++ b/Minecraft.World/linux/wlinux.h @@ -44,6 +44,7 @@ typedef struct { typedef long long LONGLONG; typedef size_t SIZE_T; typedef std::wstring LPWSTR; +typedef unsigned char boolean; // java brainrot // https://learn.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime typedef struct _FILETIME {