diff options
author | Chris Robinson <[email protected]> | 2015-10-03 20:41:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-10-03 20:41:18 -0700 |
commit | 70fbc2b1ff254295338c6d42b41d9fdb43b02d8f (patch) | |
tree | 71b1e437aca72282b170d584f270c429a84b3149 /OpenAL32/Include | |
parent | aa10068ca20c2241c8d80627a5be3aeb39efcea2 (diff) |
Add a function to get a list of data files
The method takes a marked-up filename (e.g. may include %r for a sample rate,
%% for %, etc), and returns a vector of strings of found filenames that match.
It will search the CWD, the local, and global data directories, in that order.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5051baf7..837d9e76 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -971,6 +971,8 @@ void FillCPUCaps(ALuint capfilter); FILE *OpenDataFile(const char *fname, const char *subdir); +vector_al_string SearchDataFiles(const char *match, const char *subdir); + /* Small hack to use a pointer-to-array type as a normal argument type. * Shouldn't be used directly. */ typedef ALfloat ALfloatBUFFERSIZE[BUFFERSIZE]; |