diff --git a/rwengine/include/core/FileIndex.hpp b/rwengine/include/core/FileIndex.hpp index 67d7b8e6..51695379 100644 --- a/rwengine/include/core/FileIndex.hpp +++ b/rwengine/include/core/FileIndex.hpp @@ -26,6 +26,12 @@ public: */ void indexDirectory(const std::string& directory); + /** + * Adds the files contained within the given directory tree to the + * file index. + */ + void indexTree(const std::string& root); + /** * Adds the files contained within the given Archive file to the * file index. diff --git a/rwengine/include/engine/GameData.hpp b/rwengine/include/engine/GameData.hpp index fa9a4bf2..c246a3c7 100644 --- a/rwengine/include/engine/GameData.hpp +++ b/rwengine/include/engine/GameData.hpp @@ -16,6 +16,7 @@ #include