mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 11:56:49 +00:00
chore: format Minecraft.Client
This commit is contained in:
@@ -2,22 +2,18 @@
|
||||
#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);
|
||||
Model::Model() {
|
||||
riding = false;
|
||||
young = true;
|
||||
texWidth = 64;
|
||||
texHeight = 32;
|
||||
}
|
||||
|
||||
TexOffs *Model::getMapTex(std::wstring id)
|
||||
{
|
||||
// 4J-PB - assuming there will always be this one
|
||||
return mappedTexOffs[id];
|
||||
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];
|
||||
}
|
||||
Reference in New Issue
Block a user