summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--StarsEx/DataLoader.cpp10
-rw-r--r--StarsEx/DataLoader.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/StarsEx/DataLoader.cpp b/StarsEx/DataLoader.cpp
index 2ef84c3..4814f8d 100644
--- a/StarsEx/DataLoader.cpp
+++ b/StarsEx/DataLoader.cpp
@@ -16,7 +16,6 @@
#include "Bmp.h"
#include "Pcx.h"
#include "Sound.h"
-#include "Video.h"
#include "Wave.h"
// +------------------------------------------------------------------+
@@ -27,7 +26,6 @@ DataLoader* DataLoader::loader = 0;
DataLoader::DataLoader() :
datapath(""),
- video(nullptr),
enable_media(true),
work_directory_source(new FileSystemDataSource())
{
@@ -42,14 +40,6 @@ DataLoader::~DataLoader()
// +--------------------------------------------------------------------+
void
-DataLoader::UseVideo(Video* v)
-{
- video = v;
-}
-
-// +--------------------------------------------------------------------+
-
-void
DataLoader::Initialize()
{
if (!loader) {
diff --git a/StarsEx/DataLoader.h b/StarsEx/DataLoader.h
index 4cc526d..820224a 100644
--- a/StarsEx/DataLoader.h
+++ b/StarsEx/DataLoader.h
@@ -20,7 +20,6 @@
class Bitmap;
class Sound;
-class Video;
// +--------------------------------------------------------------------+
@@ -43,7 +42,6 @@ public:
void Reset();
void UseFileSystem(bool use=true);
- void UseVideo(Video* v);
void EnableMedia(bool enable=true);
int MountDatafile(const char* name, Group group=Group::DEFAULT, int pos=-1);
@@ -81,7 +79,6 @@ private:
int LoadOggStream(const char* fname, Sound*& snd);
Text datapath;
- Video* video;
bool enable_media;
Text last_error;