Update main screenshot to use default.png

This commit is contained in:
UnknownShadow200 2015-10-29 06:28:23 +11:00
parent 32a44fc231
commit f678a2b6c6
3 changed files with 11 additions and 10 deletions

View File

@ -39,12 +39,12 @@ namespace ClassicalSharp {
pos = Utils.RotateY( Utils.RotateX( pos, cosX, -sinX ), cosY, -sinY );
if( info.IsSprite[block] ) {
DrawXFace( block, 0f, TileSide.Right );
DrawZFace( block, 0f, TileSide.Back );
XQuad( block, 0f, TileSide.Right );
ZQuad( block, 0f, TileSide.Back );
} else {
DrawXFace( block, scale, TileSide.Left );
DrawZFace( block, -scale, TileSide.Back );
DrawYFace( block, scale * blockHeight, TileSide.Top );
XQuad( block, scale, TileSide.Left );
ZQuad( block, -scale, TileSide.Back );
YQuad( block, scale * blockHeight, TileSide.Top );
}
for( int i = 0; i < index; i++ )
@ -65,7 +65,7 @@ namespace ClassicalSharp {
}
static Vector3 pos = Vector3.Zero;
static void DrawYFace( byte block, float y, int side ) {
static void YQuad( byte block, float y, int side ) {
int texId = info.GetTextureLoc( block, side );
TextureRec rec = atlas.GetTexRec( texId );
FastColour col = colNormal;
@ -80,7 +80,7 @@ namespace ClassicalSharp {
pos.Z - scale, rec.U2, rec.V1, col );
}
static void DrawZFace( byte block, float z, int side ) {
static void ZQuad( byte block, float z, int side ) {
int texId = info.GetTextureLoc( block, side );
TextureRec rec = atlas.GetTexRec( texId );
if( blockHeight != 1 )
@ -97,7 +97,7 @@ namespace ClassicalSharp {
pos.Z - z, rec.U2, rec.V2, col );
}
static void DrawXFace( byte block, float x, int side ) {
static void XQuad( byte block, float x, int side ) {
int texId = info.GetTextureLoc( block, side );
TextureRec rec = atlas.GetTexRec( texId );
if( blockHeight != 1 )

View File

@ -320,7 +320,7 @@ namespace ClassicalSharp.Singleplayer {
if( !map.IsValidPos( blockPos ) ) break;
byte block = map.GetBlock( blockPos );
intensity -= (hardness[block] / 5 + 0.3f) * stepLen; // TODO: proper block hardness table
intensity -= (hardness[block] / 5 + 0.3f) * stepLen;
if( intensity > 0 && block != 0 ) {
game.UpdateBlock( blockPos.X, blockPos.Y, blockPos.Z, 0 );
}

View File

@ -1,7 +1,8 @@
ClassicalSharp is a custom Minecraft Classic client written in C# that works on both Windows and Linux.
**It is not affiliated with (or supported by) Mojang AB, Minecraft, or Microsoft in any way.**
![screenshot_realb](https://cloud.githubusercontent.com/assets/6509348/10686634/c3a01074-79b1-11e5-816b-2e3a0d8ffeee.png)
![screenshot_n](https://cloud.githubusercontent.com/assets/6509348/10800494/288b4f00-7e06-11e5-8344-5df33625cc8b.png)
You can grab the latest stable binaries [here](https://github.com/UnknownShadow200/ClassicalSharp/releases).