Save and load the veget set filename.
--HG-- branch : gsoc2014-dfighter
This commit is contained in:
parent
431178321f
commit
0f5e475d1c
2 changed files with 4 additions and 0 deletions
|
@ -125,6 +125,8 @@ public:
|
||||||
loadTilesDisplacement( set, static_cast< TileTypeNode* >( node->child( 3 ) ) );
|
loadTilesDisplacement( set, static_cast< TileTypeNode* >( node->child( 3 ) ) );
|
||||||
|
|
||||||
node->setOriented( set->getOriented() );
|
node->setOriented( set->getOriented() );
|
||||||
|
|
||||||
|
node->setVegetSet( set->getTileVegetableDescFileName().c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void loadTileSets( TileModel *model )
|
void loadTileSets( TileModel *model )
|
||||||
|
|
|
@ -189,6 +189,8 @@ public:
|
||||||
setupDisplacementTiles( set, n );
|
setupDisplacementTiles( set, n );
|
||||||
|
|
||||||
set->setOriented( n->isOriented() );
|
set->setOriented( n->isOriented() );
|
||||||
|
|
||||||
|
set->setTileVegetableDescFileName( n->vegetSet().toUtf8().constData() );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add tilesets to lands
|
// Add tilesets to lands
|
||||||
|
|
Loading…
Reference in a new issue