diff options
author | Aki <please@ignore.pl> | 2022-04-12 19:29:43 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-12 19:29:43 +0200 |
commit | f1b033aeee50e58cb4efb2641f6d867492b31030 (patch) | |
tree | 2da7e7b5216ac5f5c045bc8136a27e8d6991d1ac /StarsEx | |
parent | 63e7217838a6f795bc2e40a475f2a61100f89dad (diff) | |
download | starshatter-f1b033aeee50e58cb4efb2641f6d867492b31030.zip starshatter-f1b033aeee50e58cb4efb2641f6d867492b31030.tar.gz starshatter-f1b033aeee50e58cb4efb2641f6d867492b31030.tar.bz2 |
Remvoed unused UseVideo of DataLoader
Diffstat (limited to 'StarsEx')
-rw-r--r-- | StarsEx/DataLoader.cpp | 10 | ||||
-rw-r--r-- | StarsEx/DataLoader.h | 3 |
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; |