mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-18 23:23:50 +00:00
Renamed and added functions
Renamed functions with skin offset or model offset in there name to have skin adjustment instead. Added two functions in Player.cpp and Player.h to handle model types for player. Altered getModel() function in EntityRenderer.h and moved fuctionallity to EntityRenderer.cpp. Optimized write() function in TextureAndGeometryPacket.cpp with __fastcall (prevents crashes in multiplayer when instances are running on the same PC).
This commit is contained in:
parent
878547dec8
commit
e8064d2ee3
21 changed files with 280 additions and 294 deletions
|
|
@ -242,7 +242,7 @@ void TextureAndGeometryPacket::read(DataInputStream *dis) //throws IOException
|
|||
}
|
||||
}
|
||||
|
||||
void TextureAndGeometryPacket::write(DataOutputStream *dos) //throws IOException
|
||||
void __fastcall TextureAndGeometryPacket::write(DataOutputStream *dos) //throws IOException
|
||||
{
|
||||
dos->writeUTF(textureName);
|
||||
dos->writeInt(dwSkinID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue