mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 16:55:33 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#include "../../../../../../Minecraft.World/Header Files/stdafx.h"
|
||||
#include "TileEntityRenderer.h"
|
||||
#include "TileEntityRenderDispatcher.h"
|
||||
|
||||
void TileEntityRenderer::bindTexture(ResourceLocation* location) {
|
||||
Textures* t = tileEntityRenderDispatcher->textures;
|
||||
if (t != nullptr) t->bind(t->loadTexture(location->getTexture()));
|
||||
}
|
||||
|
||||
void TileEntityRenderer::bindTexture(const std::wstring& urlTexture,
|
||||
ResourceLocation* location) {
|
||||
Textures* t = tileEntityRenderDispatcher->textures;
|
||||
if (t != nullptr)
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user