the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#include "stdafx.h"
2#include "TexOffs.h"
3#include "Model.h"
4
5
6Model::Model()
7{
8 riding = false;
9 young=true;
10 texWidth=64;
11 texHeight=32;
12}
13
14void Model::setMapTex(wstring id, int x, int y)
15{
16 mappedTexOffs[id]=new TexOffs(x, y);
17}
18
19TexOffs *Model::getMapTex(wstring id)
20{
21 // 4J-PB - assuming there will always be this one
22 return mappedTexOffs[id];
23}