mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- tested and fixed game list loader.
This commit is contained in:
parent
2a7beeff69
commit
c6753a3fec
10 changed files with 148 additions and 175 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue