2019-11-01 18:25:42 +00:00
|
|
|
#pragma once
|
|
|
|
// Directory searching routines
|
|
|
|
|
2020-04-11 21:50:43 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include "zstring.h"
|
|
|
|
|
2020-04-11 22:07:52 +00:00
|
|
|
|
|
|
|
class FConfigFile;
|
|
|
|
|
|
|
|
bool D_AddFile(TArray<FString>& wadfiles, const char* file, bool check, int position, FConfigFile* config);
|
|
|
|
void D_AddWildFile(TArray<FString>& wadfiles, const char* value, const char *extension, FConfigFile* config);
|
|
|
|
void D_AddConfigFiles(TArray<FString>& wadfiles, const char* section, const char* extension, FConfigFile* config);
|
|
|
|
void D_AddDirectory(TArray<FString>& wadfiles, const char* dir, const char *filespec, FConfigFile* config);
|
|
|
|
const char* BaseFileSearch(const char* file, const char* ext, bool lookfirstinprogdir, FConfigFile* config);
|