mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Remove unused MusicTrack constructor.
This wouldn't work anyway since music would need to be loaded via physfs.
This commit is contained in:
parent
dfb1e31d78
commit
f723e03871
2 changed files with 0 additions and 12 deletions
|
@ -5,17 +5,6 @@
|
||||||
#include "FileSystemUtils.h"
|
#include "FileSystemUtils.h"
|
||||||
#include "Vlogging.h"
|
#include "Vlogging.h"
|
||||||
|
|
||||||
MusicTrack::MusicTrack(const char* fileName)
|
|
||||||
{
|
|
||||||
m_music = Mix_LoadMUS(fileName);
|
|
||||||
m_isValid = true;
|
|
||||||
if(m_music == NULL)
|
|
||||||
{
|
|
||||||
vlog_error("Unable to load Ogg Music file: %s", Mix_GetError());
|
|
||||||
m_isValid = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MusicTrack::MusicTrack(SDL_RWops *rw)
|
MusicTrack::MusicTrack(SDL_RWops *rw)
|
||||||
{
|
{
|
||||||
m_music = Mix_LoadMUS_RW(rw, 1);
|
m_music = Mix_LoadMUS_RW(rw, 1);
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
class MusicTrack
|
class MusicTrack
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MusicTrack(const char* fileName);
|
|
||||||
MusicTrack(SDL_RWops *rw);
|
MusicTrack(SDL_RWops *rw);
|
||||||
Mix_Music *m_music;
|
Mix_Music *m_music;
|
||||||
bool m_isValid;
|
bool m_isValid;
|
||||||
|
|
Loading…
Reference in a new issue