1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 23:48:30 +02:00
VVVVVV/desktop_version/src/Music.h
Misa eea2232c12 Remove outdated comments from Music.h and Music.cpp
Lots of stuff from the Flash version, especially in Music.h.
2020-04-03 10:40:50 -04:00

61 lines
982 B
C++

#ifndef MUSIC_H
#define MUSIC_H
#include "SoundSystem.h"
#include <vector>
#define musicroom(rx, ry) ((rx) + ((ry) * 20))
class musicclass
{
public:
void init();
void play(int t);
void loopmusic();
void stopmusic();
void haltdasmusik();
void silencedasmusik();
void fadeMusicVolumeIn(int ms);
void fadeout();
void processmusicfade();
void processmusicfadein();
void processmusic();
void niceplay(int t);
void changemusicarea(int x, int y);
int currentsong, musicfade, musicfadein;
int resumesong;
void playef(int t);
std::vector<SoundTrack> soundTracks;
std::vector<MusicTrack> musicTracks;
SoundSystem soundSystem;
bool safeToProcessMusic;
int nicechange;
int nicefade;
bool m_doFadeInVol;
int FadeVolAmountPerFrame;
int musicVolume;
float volume;
bool custompd;
int fadeoutqueuesong; // -1 if no song queued
bool dontquickfade;
// MMMMMM mod settings
bool mmmmmm;
bool usingmmmmmm;
};
extern musicclass music;
#endif /* MUSIC_H */