2002-12-05 03:49:46 +00:00
|
|
|
#ifndef MUSICBANNERWHEEL_H
|
|
|
|
|
#define MUSICBANNERWHEEL_H
|
|
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
Class: MusicBannerWheel
|
|
|
|
|
|
|
|
|
|
Desc: A wheel with song banners used in the Select Music screen.
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2003-12-14 08:11:05 +00:00
|
|
|
Frieza
|
2002-12-05 03:49:46 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "Banner.h"
|
|
|
|
|
#include "Sprite.h"
|
|
|
|
|
#include "ScrollingList.h"
|
2002-12-10 23:16:44 +00:00
|
|
|
#include "SongManager.h"
|
|
|
|
|
#include "BitmapText.h"
|
2002-12-20 19:05:54 +00:00
|
|
|
#include "SongManager.h"
|
|
|
|
|
#include "PlayerOptions.h"
|
|
|
|
|
#include "SongOptions.h"
|
|
|
|
|
|
2002-12-05 03:49:46 +00:00
|
|
|
|
|
|
|
|
class MusicBannerWheel : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MusicBannerWheel();
|
|
|
|
|
~MusicBannerWheel();
|
|
|
|
|
void BannersLeft();
|
|
|
|
|
void BannersRight();
|
|
|
|
|
Song* GetSelectedSong();
|
2002-12-29 23:24:53 +00:00
|
|
|
int CheckSongsExist() { return SongsExist; }
|
2003-01-16 21:21:09 +00:00
|
|
|
void PlayMusicSample();
|
2003-01-18 19:07:52 +00:00
|
|
|
void StartBouncing();
|
|
|
|
|
void StopBouncing();
|
2003-06-11 19:40:47 +00:00
|
|
|
void SetScanMode(bool Scanmode);
|
2003-09-07 22:03:23 +00:00
|
|
|
void ScanToNextGroup();
|
2003-06-11 19:40:47 +00:00
|
|
|
|
2002-12-05 03:49:46 +00:00
|
|
|
private:
|
|
|
|
|
void SetNewPos(int NewPos);
|
2002-12-10 23:16:44 +00:00
|
|
|
void LoadSongData();
|
2002-12-20 19:05:54 +00:00
|
|
|
void ChangeNotes();
|
2003-01-15 21:25:47 +00:00
|
|
|
void InsertNewBanner(int direction);
|
2002-12-10 23:16:44 +00:00
|
|
|
|
2003-06-11 19:40:47 +00:00
|
|
|
bool bScanning;
|
|
|
|
|
|
2003-02-15 05:15:24 +00:00
|
|
|
#ifdef DEBUG
|
2003-01-15 21:25:47 +00:00
|
|
|
BitmapText m_debugtext;
|
|
|
|
|
#endif
|
2002-12-05 03:49:46 +00:00
|
|
|
|
|
|
|
|
ScrollingList m_ScrollingList;
|
|
|
|
|
int currentPos;
|
2002-12-10 23:16:44 +00:00
|
|
|
int scrlistPos;
|
2002-12-29 23:24:53 +00:00
|
|
|
|
|
|
|
|
int SongsExist;
|
2002-12-31 03:09:58 +00:00
|
|
|
int SingleLoad;
|
2002-12-10 23:16:44 +00:00
|
|
|
|
2003-01-03 05:56:28 +00:00
|
|
|
vector<Song*> arraySongs;
|
2002-12-05 03:49:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|