aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Model.cpp
blob: 63ba0c53c10205b551c6121c3feae6a5ec9e8035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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];
}