Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@86 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
df7823280c
commit
581165bb58
@ -365,6 +365,11 @@ void cChunk::Tick(float a_Dt)
|
||||
FastSetBlock( m_BlockTickX, m_BlockTickY, m_BlockTickZ, E_BLOCK_AIR, GetLight( m_BlockMeta, Index ) );
|
||||
m_World->GrowTree( m_BlockTickX + m_PosX*16, m_BlockTickY, m_BlockTickZ + m_PosZ*16 );
|
||||
}
|
||||
break;
|
||||
case E_BLOCK_LEAVES: //todo, http://www.minecraftwiki.net/wiki/Data_values#Leaves
|
||||
{
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -36,21 +36,21 @@ public:
|
||||
} else if ( (int)MetaData == 7 ) {
|
||||
return 0x3;
|
||||
} else if ( (int)MetaData == 8 ) {
|
||||
return 0x12;
|
||||
return 0xC;
|
||||
} else if ( (int)MetaData == 9 ) {
|
||||
return 0x13;
|
||||
return 0xD;
|
||||
} else if ( (int)MetaData == 10 ) {
|
||||
return 0x14;
|
||||
return 0xE;
|
||||
} else if ( (int)MetaData == 11 ) {
|
||||
return 0x15;
|
||||
return 0xF;
|
||||
} else if ( (int)MetaData == 12 ) {
|
||||
return 0x8;
|
||||
} else if ( (int)MetaData == 13 ) {
|
||||
return 0x9;
|
||||
} else if ( (int)MetaData == 14 ) {
|
||||
return 0x10;
|
||||
return 0xA;
|
||||
} else if ( (int)MetaData == 15 ) {
|
||||
return 0x11;
|
||||
return 0xB;
|
||||
}
|
||||
} //tolua_export
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user