summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:54:52 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:54:52 +0000
commitd6cd3b1605a8ab40a13f7fca805333c3ccefc52e (patch)
treea660b072060aa26cc65a8b4e9ed9ad6b1781b51d /src/fios.h
parent95bb103a233c9986777897c0d8b26f6f7c1cf08f (diff)
downloadopenttd-d6cd3b1605a8ab40a13f7fca805333c3ccefc52e.tar.xz
(svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList.
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fios.h b/src/fios.h
index 888e3c236..c1da5720f 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -200,6 +200,9 @@ public:
this->files.Compact();
}
+ void BuildFileList(SaveLoadDialogMode mode);
+ const FiosItem *FindItem(const char *file);
+
SmallVector<FiosItem, 32> files; ///< The list of files.
};
@@ -235,6 +238,4 @@ int CDECL CompareFiosItems(const FiosItem *a, const FiosItem *b);
extern const TextColour _fios_colours[];
-void BuildFileList(SaveLoadDialogMode mode);
-
#endif /* FIOS_H */