mirror of
https://github.com/coah80/LegacyVulkEdition.git
synced 2026-06-12 12:21:53 +00:00
sorted all the client files into proper folders
This commit is contained in:
23
Minecraft.Client/Entity/Models/Model.cpp
Normal file
23
Minecraft.Client/Entity/Models/Model.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "stdafx.h"
|
||||
#include "TexOffs.h"
|
||||
#include "Model.h"
|
||||
|
||||
|
||||
Model::Model()
|
||||
{
|
||||
riding = false;
|
||||
young=true;
|
||||
texWidth=64;
|
||||
texHeight=32;
|
||||
}
|
||||
|
||||
void Model::setMapTex(wstring id, int x, int y)
|
||||
{
|
||||
mappedTexOffs[id]=new TexOffs(x, y);
|
||||
}
|
||||
|
||||
TexOffs *Model::getMapTex(wstring id)
|
||||
{
|
||||
// 4J-PB - assuming there will always be this one
|
||||
return mappedTexOffs[id];
|
||||
}
|
||||
Reference in New Issue
Block a user