Added functionality to generate asset names

This commit is contained in:
parax0
2016-12-12 01:33:46 -07:00
parent efa85036c2
commit 2e44e5b119
35 changed files with 82035 additions and 311 deletions

View File

@@ -83,6 +83,13 @@ void CProjectOverviewDialog::ExportGame()
return;
}
// Verify export directory is empty
if (!FileUtil::IsEmpty(TO_TSTRING(ExportDir)))
{
QMessageBox::Button Button = QMessageBox::warning(this, "Warning", "<b>Warning:</b> The specified directory is not empty. Export anyway?", QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::NoButton);
if (Button != QMessageBox::Ok) return;
}
CGameExporter Exporter(TO_TSTRING(GameRoot), TO_TSTRING(ExportDir));
Exporter.Export();
}