|
@@ -95,6 +95,13 @@ DirtBlockType::DirtBlockType()
|
|
: BasicBlockType( ID, "blocks.ltdb/dirt.png" )
|
|
: BasicBlockType( ID, "blocks.ltdb/dirt.png" )
|
|
{}
|
|
{}
|
|
|
|
|
|
|
|
+Block* DirtBlockType::createBlock( Framework::Vec3<int> position )
|
|
|
|
+{
|
|
|
|
+ Block* b = BasicBlockType::createBlock( position );
|
|
|
|
+ b->zTextur()->setPolygonTextur( 4, currentGame->zScreen()->zGraphicsApi()->createOrGetTextur( "blocks.ltdb/lawn.png", 0 ) );
|
|
|
|
+ return b;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
|
|
DirtBlockItemType::DirtBlockItemType()
|
|
DirtBlockItemType::DirtBlockItemType()
|
|
: BasicBlockItemType( ID, "Dirt", "blocks.ltdb/dirt.png" )
|
|
: BasicBlockItemType( ID, "Dirt", "blocks.ltdb/dirt.png" )
|