mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
make more things public
This commit is contained in:
parent
e33d39685c
commit
405fe46544
@ -20,9 +20,8 @@ namespace ClassicalSharp.Model {
|
||||
#endif
|
||||
public List<CachedModel> Models = new List<CachedModel>();
|
||||
public List<CachedTexture> Textures = new List<CachedTexture>();
|
||||
internal int vb;
|
||||
internal VertexP3fT2fC4b[] vertices;
|
||||
|
||||
public int vb;
|
||||
public VertexP3fT2fC4b[] vertices;
|
||||
|
||||
public void InitCache() {
|
||||
vertices = new VertexP3fT2fC4b[24 * 12];
|
||||
|
@ -15,7 +15,7 @@ namespace ClassicalSharp.Entities {
|
||||
|
||||
public string DisplayName, SkinName, SkinIdentifier;
|
||||
public SkinType SkinType;
|
||||
internal AnimatedComponent anim;
|
||||
public AnimatedComponent anim;
|
||||
internal ShadowComponent shadow;
|
||||
internal float uScale = 1, vScale = 1;
|
||||
|
||||
@ -57,7 +57,7 @@ namespace ClassicalSharp.Entities {
|
||||
}
|
||||
|
||||
protected Texture nameTex;
|
||||
protected internal int TextureId = -1, MobTextureId = -1;
|
||||
public int TextureId = -1, MobTextureId = -1;
|
||||
|
||||
public override void Despawn() {
|
||||
game.Graphics.DeleteTexture(ref TextureId);
|
||||
|
@ -37,6 +37,7 @@ namespace ClassicalSharp {
|
||||
|
||||
public string ServerName;
|
||||
public string ServerMotd;
|
||||
public string AppName = Program.AppName;
|
||||
|
||||
/// <summary> Whether the network processor is currently connected to a server. </summary>
|
||||
public bool Disconnected;
|
||||
|
@ -396,7 +396,7 @@ namespace ClassicalSharp.Network.Protocols {
|
||||
int count = clientExts.Length;
|
||||
if (!game.AllowCustomBlocks) count -= 2;
|
||||
|
||||
SendExtInfo(Program.AppName, count);
|
||||
SendExtInfo(net.AppName, count);
|
||||
for (int i = 0; i < clientExts.Length; i++) {
|
||||
string name = clientExts[i];
|
||||
int ver = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user