- tested and fixed game list loader.

This commit is contained in:
Christoph Oelckers 2019-10-31 00:41:56 +01:00
parent 2a7beeff69
commit c6753a3fec
10 changed files with 148 additions and 175 deletions

View file

@ -17,7 +17,6 @@
InputState inputState;
void SetClipshapes();
TArray<FString> CollectSearchPaths();
struct GameFuncNameDesc
{
@ -308,11 +307,11 @@ void CONFIG_Init()
G_LoadConfig();
// Startup dialog must be presented here so that everything can be set up before reading the keybinds.
TArray<FString> paths = CollectSearchPaths();
for (auto& path : paths)
auto groups = GrpScan();
for (auto& grp : groups)
{
OutputDebugStringA(path);
OutputDebugStringA("\r\n");
FStringf grpinfo("%s: %s, %s, %s, %s\r\n", grp.FileInfo.name.GetChars(), grp.FileName.GetChars(), grp.FileInfo.scriptname.GetChars(), grp.FileInfo.rtsname.GetChars(), grp.FileInfo.defname.GetChars());
OutputDebugStringA(grpinfo);
}
LumpFilter = currentGame;
if (LumpFilter.Compare("Redneck") == 0) LumpFilter = "Redneck.Redneck";