diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:54:52 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:54:52 +0000 |
commit | d6cd3b1605a8ab40a13f7fca805333c3ccefc52e (patch) | |
tree | a660b072060aa26cc65a8b4e9ed9ad6b1781b51d /src/fios.h | |
parent | 95bb103a233c9986777897c0d8b26f6f7c1cf08f (diff) | |
download | openttd-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.h | 5 |
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 */ |