the whole game

This commit is contained in:
Kolyah35
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
#ifndef NET_MINECRAFT_CLIENT_RENDERER__TextureData_H__
#define NET_MINECRAFT_CLIENT_RENDERER__TextureData_H__
enum TextureFormat
{
TEXF_UNCOMPRESSED_8888,
TEXF_UNCOMPRESSED_565,
TEXF_UNCOMPRESSED_5551,
TEXF_UNCOMPRESSED_4444,
TEXF_COMPRESSED_PVRTC_565,
TEXF_COMPRESSED_PVRTC_5551,
TEXF_COMPRESSED_PVRTC_4444
};
typedef struct TextureData {
TextureData()
: w(0),
h(0),
data(NULL),
numBytes(0),
transparent(true),
memoryHandledExternally(false),
format(TEXF_UNCOMPRESSED_8888),
identifier(-1)
{}
int w, h;
unsigned char* data;
int numBytes;
bool transparent;
bool memoryHandledExternally;
TextureFormat format;
int identifier;
} TextureData;
#endif /*NET_MINECRAFT_CLIENT_RENDERER__Textures_H__*/