raze/source/common/utility/findfile.h

15 lines
709 B
C
Raw Normal View History

#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>
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);
const char* BaseFileSearch(const char* file, const char* ext, bool lookfirstinprogdir, FConfigFile* config);