summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-15 23:43:22 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-15 23:43:22 +0000
commit9cea91975451a7abb6f15e08f7fb6c20efed152c (patch)
treeddf2aaf22597d8fa63a33dd62a57cb50e083f7e3 /src/resources/resourcemanager.h
parent97cac06ae12026f4be3765f68b0aea3caf02d8f0 (diff)
downloadmana-client-9cea91975451a7abb6f15e08f7fb6c20efed152c.tar.gz
mana-client-9cea91975451a7abb6f15e08f7fb6c20efed152c.tar.bz2
mana-client-9cea91975451a7abb6f15e08f7fb6c20efed152c.tar.xz
mana-client-9cea91975451a7abb6f15e08f7fb6c20efed152c.zip
Fixed compiler warnings and added plain text file loading to resource manager.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index e3ad1e94..93c2dd85 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -26,6 +26,7 @@
#include <map>
#include <string>
+#include <vector>
#include "resource.h"
#include "image.h"
#include "music.h"
@@ -114,6 +115,12 @@ class ResourceManager
loadFile(const std::string &fileName, int &fileSize);
/**
+ * Retrieves the contents of a text file.
+ */
+ std::vector<std::string>
+ loadTextFile(const std::string &fileName);
+
+ /**
* Returns an instance of the class, creating one if it does not
* already exist.
*/