Recast: look for .GSET files first

When explicitly looking, show .GSET assets first.
This commit is contained in:
Kawe Mazidjatari 2024-07-16 13:59:56 +02:00
parent be50fa5cb5
commit f9a7b01f65

View File

@ -968,7 +968,7 @@ int not_main(int argc, char** argv)
ImGui::Separator();
ImGui::Text("Input Level");
if (ImGui::Button("Load Level..."))
if (ImGui::Button("Load Project..."))
{
char szFile[260];
OPENFILENAMEA diag = { 0 };
@ -985,7 +985,7 @@ int not_main(int argc, char** argv)
diag.lpstrFile = szFile;
diag.lpstrFile[0] = 0;
diag.nMaxFile = sizeof(szFile);
diag.lpstrFilter = "OBJ\0*.obj\0Ply\0*.ply\0All\0*.*\0"; //TODO: BSP\0*.bsp\0
diag.lpstrFilter = "GSET\0*.gset\0OBJ\0*.obj\0Ply\0*.ply\0"; //TODO: BSP\0*.bsp\0
diag.nFilterIndex = 1;
diag.lpstrFileTitle = NULL;
diag.nMaxFileTitle = 0;