1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +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:
Ethan Lee 2021-12-26 08:31:36 -05:00
parent dfb1e31d78
commit f723e03871
2 changed files with 0 additions and 12 deletions

View file

@ -5,17 +5,6 @@
#include "FileSystemUtils.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)
{
m_music = Mix_LoadMUS_RW(rw, 1);

View file

@ -6,7 +6,6 @@
class MusicTrack
{
public:
MusicTrack(const char* fileName);
MusicTrack(SDL_RWops *rw);
Mix_Music *m_music;
bool m_isValid;