4jcraft/Minecraft.Client/Rendering/Models/Model.cpp
2026-03-06 11:50:22 -06:00

23 lines
384 B
C++

#include "../../Build/stdafx.h"
#include "../TexOffs.h"
#include "Model.h"
Model::Model()
{
riding = false;
young=true;
texWidth=64;
texHeight=32;
}
void Model::setMapTex(std::wstring id, int x, int y)
{
mappedTexOffs[id]=new TexOffs(x, y);
}
TexOffs *Model::getMapTex(std::wstring id)
{
// 4J-PB - assuming there will always be this one
return mappedTexOffs[id];
}