|
|
|
@ -47,7 +47,7 @@ CContinentContainer::CContinentContainer()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
void CContinentContainer::init(uint gridWidth, uint gridHeight, double primitiveMaxSize, uint nbWorldImages, const string packedSheetsDirectory, double cellSize, bool loadPacsPrims)
|
|
|
|
|
void CContinentContainer::init(uint gridWidth, uint gridHeight, double primitiveMaxSize, uint nbWorldImages, const string &packedSheetsDirectory, double cellSize, bool loadPacsPrims)
|
|
|
|
|
{
|
|
|
|
|
_GridWidth = gridWidth;
|
|
|
|
|
_GridHeight = gridHeight;
|
|
|
|
@ -56,6 +56,12 @@ void CContinentContainer::init(uint gridWidth, uint gridHeight, double primitive
|
|
|
|
|
_CellSize = cellSize;
|
|
|
|
|
_LoadPacsPrims = loadPacsPrims;
|
|
|
|
|
|
|
|
|
|
buildSheets(packedSheetsDirectory);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
void CContinentContainer::buildSheets(const string &packedSheetsDirectory)
|
|
|
|
|
{
|
|
|
|
|
std::vector<std::string> filters;
|
|
|
|
|
filters.push_back("continent");
|
|
|
|
|
loadForm(filters, packedSheetsDirectory+"continents.packed_sheets", _SheetMap);
|
|
|
|
|