mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 15:33:38 +00:00
23 lines
387 B
C++
23 lines
387 B
C++
#include "../../Platform/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];
|
|
} |