This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-03-01 12:16:08 +08:00

23 lines
359 B
C++

#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];
}