diff --git a/Minecraft.Client/BufferedImage.h b/Minecraft.Client/BufferedImage.h index a0227fe2..a4746ef7 100644 --- a/Minecraft.Client/BufferedImage.h +++ b/Minecraft.Client/BufferedImage.h @@ -1,9 +1,20 @@ #pragma once +#include using namespace std; class Graphics; class DLCPack; +union Pixel { // Could be a duplicate but I didnt search that hard + uint32_t raw; + struct { // argb flipped because of endianness + unsigned char b; + unsigned char g; + unsigned char r; + unsigned char a; + }; +}; + class BufferedImage { private: