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