Lisp*
Parser::parse(const std::string& filename)
{
- IFileStream in(filename);
+ IFileStreambuf ins(filename);
+ std::istream in(&ins);
+
if(!in.good()) {
std::stringstream msg;
msg << "Parser problem: Couldn't open file '" << filename << "'.";
// Level info file doesn't define any levels, so read the
// directory to see what we can find
- std::string path = basedir + "/";
+ std::string path = basedir;
char** files = PHYSFS_enumerateFiles(path.c_str());
if(!files) {
log_warning << "Couldn't read subset dir '" << path << "'" << std::endl;