mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Basic as fuck UI, and the controls for manipulating it suck, but the basic elements of the feature set I'm looking for have been implemented in some form or another. More at a later time. MI, be glad I didn't do this in deeznux ;P
38 lines
888 B
C
38 lines
888 B
C
/// \file
|
|
/// \brief Support to find files
|
|
|
|
#ifndef __FILESRCH_H__
|
|
#define __FILESRCH_H__
|
|
|
|
#include "doomdef.h"
|
|
#include "d_netfil.h"
|
|
|
|
/** \brief The filesearch function
|
|
|
|
This function search files, manly WADs and return back the status of the file
|
|
|
|
\param filename the file to look for
|
|
\param startpath where to start look from
|
|
\param wantedmd5sum want to check with MD5
|
|
\param completepath want to return the complete path of the file?
|
|
\param maxsearchdepth the max depth to search for the file
|
|
|
|
\return filestatus_t
|
|
|
|
|
|
*/
|
|
|
|
filestatus_t filesearch(char *filename, const char *startpath, const UINT8 *wantedmd5sum,
|
|
boolean completepath, int maxsearchdepth);
|
|
|
|
extern char menupath[1024];
|
|
extern size_t menupathindex[20];
|
|
extern size_t menudepthleft;
|
|
|
|
extern char **dirmenu;
|
|
extern size_t sizedirmenu;
|
|
extern size_t dir_on;
|
|
|
|
boolean preparefilemenu(void);
|
|
|
|
#endif // __FILESRCH_H__
|