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