Initial commit
This commit is contained in:
parent
def8cb4153
commit
b691c43c44
19437 changed files with 4363922 additions and 0 deletions
23
Minecraft.Client/Model.cpp
Normal file
23
Minecraft.Client/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];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue