|
@@ -27,7 +27,7 @@ BasicBlock::BasicBlock( const BlockType* zType, const char* texture, ItemType* z
|
|
|
textur->setPolygonTextur( 4, dynamic_cast<Textur*>(tex->getThis()) );
|
|
|
textur->setPolygonTextur( 5, tex );
|
|
|
setModelTextur( textur );
|
|
|
- breakTextur = currentGame->zScreen()->zGraphicsApi()->createOrGetTextur( "blocks.ltdb/crack", 0 );
|
|
|
+ breakTextur = currentGame->zScreen()->zGraphicsApi()->createOrGetTextur( "blocks.ltdb/crack.png", 0 );
|
|
|
}
|
|
|
|
|
|
BasicBlock::~BasicBlock()
|
|
@@ -64,7 +64,7 @@ void DirtBlockType::loadSuperBlock( Block* zBlock, Framework::StreamReader* zRea
|
|
|
|
|
|
Block* DirtBlockType::createBlock( Framework::Vec3<int> position )
|
|
|
{
|
|
|
- Block* b = new BasicBlock( DirtBlockType::INSTANCE, "blocks.ltdb/dirt", 0, position, 0 ); // TODO: add efective tool
|
|
|
+ Block* b = new BasicBlock( DirtBlockType::INSTANCE, "blocks.ltdb/dirt.png", 0, position, 0 ); // TODO: add efective tool
|
|
|
initializeSuperBlock( b );
|
|
|
return b;
|
|
|
}
|
|
@@ -102,7 +102,7 @@ Item* DirtBlockItemType::createItem() const
|
|
|
Framework::Model3DTextur* DirtBlockItemType::getItemTextur() const
|
|
|
{
|
|
|
Model3DTextur* textur = new Model3DTextur();
|
|
|
- Textur* tex = currentGame->zScreen()->zGraphicsApi()->createOrGetTextur( "blocks.ltdb/dirt", 0 );
|
|
|
+ Textur* tex = currentGame->zScreen()->zGraphicsApi()->createOrGetTextur( "blocks.ltdb/dirt.png", 0 );
|
|
|
textur->setPolygonTextur( 0, dynamic_cast<Textur*>(tex->getThis()) );
|
|
|
textur->setPolygonTextur( 1, dynamic_cast<Textur*>(tex->getThis()) );
|
|
|
textur->setPolygonTextur( 2, dynamic_cast<Textur*>(tex->getThis()) );
|