mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-11-25 00:10:17 +00:00
Initial commit - LCEMP source code (assets excluded)
This commit is contained in:
commit
21a5a4aef0
2946 files changed
+577259
No files matched your search
@@ -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];
|
||||
}
|
||||
Reference in new issue
Block a user