From f0b38721e05dbda1d3562abc06fec535d1aa5a07 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Wed, 6 Aug 2014 12:59:27 +0200 Subject: Loading all mods found in "mods" directory --- src/common/resources/resourcemanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/resources/resourcemanager.h') diff --git a/src/common/resources/resourcemanager.h b/src/common/resources/resourcemanager.h index 4052047..b222048 100644 --- a/src/common/resources/resourcemanager.h +++ b/src/common/resources/resourcemanager.h @@ -16,6 +16,7 @@ #pragma once +#include #include #include @@ -33,6 +34,7 @@ public: static SDL_RWops* GetSDLFileHandler(const std::string &filename); static CSNDFile* GetSNDFileHandler(const std::string &filename); static bool Exists(const std::string &filename); + static std::vector ListFiles(const std::string &directory); private: static int SDLSeek(SDL_RWops *context, int offset, int whence); -- cgit v1.2.3-1-g7c22