From 65c1d2b0b022de1340509738e65314474e2eb141 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 13 Jan 2005 23:38:31 +0000 Subject: Added heavily modified resource manager by zenogais that is currently using Allegro to load/draw images. Only the login wallpaper is currently loaded using the resource manager and the resource manager still waits with searching for available files until they are asked for instead of indexing what is available. --- src/configuration.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/configuration.cpp') diff --git a/src/configuration.cpp b/src/configuration.cpp index 759a1fa9..074de7c6 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -24,6 +24,8 @@ #include "configuration.h" #include +#include +#include Configuration::OptionValue::OptionValue(): numericValue(0.0f) @@ -46,7 +48,7 @@ void Configuration::init(std::string filename) { iniOptions.clear(); while (inFile.good()) { - getline(inFile, inBuffer, '\n'); + std::getline(inFile, inBuffer, '\n'); if (inBuffer.substr(0, 1) != INI_COMMENTER) { // Replace spaces with void -- cgit v1.2.3-60-g2f50