Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:20:20 -05:00
commit 2dfcaaa842
5375 files changed
+978475

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#include "stdafx.h"
#include "TileEntityRenderer.h"
#include "TileEntityRenderDispatcher.h"
void TileEntityRenderer::bindTexture(ResourceLocation *location)
{
Textures *t = tileEntityRenderDispatcher->textures;
if(t != NULL) t->bind(t->loadTexture(location->getTexture()));
}
void TileEntityRenderer::bindTexture(const wstring& urlTexture, ResourceLocation *location)
{
Textures *t = tileEntityRenderDispatcher->textures;
if(t != NULL) t->bind(t->loadHttpTexture(urlTexture, location->getTexture()));
}
Level *TileEntityRenderer::getLevel()
{
return tileEntityRenderDispatcher->level;
}
void TileEntityRenderer::init(TileEntityRenderDispatcher *tileEntityRenderDispatcher)
{
this->tileEntityRenderDispatcher = tileEntityRenderDispatcher;
}
Font *TileEntityRenderer::getFont()
{
return tileEntityRenderDispatcher->getFont();
}