#include <config.h>
#include <stddef.h>
-//#include <physfs.h>
+#include <physfs.h>
#include "worldmap/level.hpp"
#include "sprite/sprite_manager.hpp"
#include "sprite/sprite.hpp"
#include "video/drawing_context.hpp"
#include "log.hpp"
#include "file_system.hpp"
-#include <unison/vfs/FileSystem.hpp>
namespace WorldMapNS
{
lisp->get("extro-script", extro_script);
- if (!Unison::VFS::FileSystem::get().exists(basedir + name))
+ if (!PHYSFS_exists((basedir + name).c_str()))
{
log_warning << "level file '" << name
<< "' does not exist and will not be added to the worldmap" << std::endl;
if (picture_cached) return picture;
picture_cached = true;
std::string fname = FileSystem::strip_extension(basedir + name)+".jpg";
- if (!Unison::VFS::FileSystem::get().exists(fname)) {
+ if (!PHYSFS_exists(fname.c_str())) {
return 0;
}
picture = new Surface(fname);