forked from mirror/OpenTTD
(svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner
This commit is contained in:
@@ -67,8 +67,9 @@ bool ExtractTar(const char *tar_filename);
|
||||
extern char *_personal_dir; ///< custom directory for personal settings, saves, newgrf, etc.
|
||||
|
||||
/** Helper for scanning for files with a given name */
|
||||
class FileScanner
|
||||
{
|
||||
class FileScanner {
|
||||
protected:
|
||||
Subdirectory subdir; ///< The current sub directory we are searching through
|
||||
public:
|
||||
/** Destruct the proper one... */
|
||||
virtual ~FileScanner() {}
|
||||
|
Reference in New Issue
Block a user