Пример #1
0
        private void StartSong(int SongNr)
        {
            if ((CSongs.Category >= 0) && (SongNr >= 0))
            {
                EGameMode gm;
                if (_AvailableGameModes.Count >= SelectSlides[htSelectSlides(SelectSlideOptionsMode)].Selection)
                {
                    gm = _AvailableGameModes[SelectSlides[htSelectSlides(SelectSlideOptionsMode)].Selection];
                }
                else
                {
                    if (CSongs.VisibleSongs[SongNr].IsDuet)
                    {
                        gm = GameModes.EGameMode.TR_GAMEMODE_DUET;
                    }
                    else
                    {
                        gm = GameModes.EGameMode.TR_GAMEMODE_NORMAL;
                    }
                }

                CGame.Reset();
                CGame.ClearSongs();

                CGame.AddVisibleSong(SongNr, gm);

                CGraphics.FadeTo(EScreens.ScreenNames);
            }
        }
Пример #2
0
        private void StartSong(int SongNr)
        {
            if ((CSongs.Category >= 0) && (SongNr >= 0))
            {
                if (CSongs.VisibleSongs[SongNr].IsDuet)
                {
                    CGame.SetGameMode(GameModes.EGameMode.Duet);
                }
                else
                {
                    CGame.SetGameMode(GameModes.EGameMode.Normal);
                }

                CGame.Reset();
                CGame.ClearSongs();
                CGame.AddVisibleSong(SongNr);
                //CGame.AddSong(SongNr+1);

                CGraphics.FadeTo(EScreens.ScreenNames);
            }
        }
Пример #3
0
        private void StartMedleySong(int SongNr)
        {
            if ((CSongs.Category >= 0) && (SongNr >= 0))
            {
                EGameMode gm;
                if (CSongs.VisibleSongs[SongNr].Medley.Source != EMedleySource.None)
                {
                    gm = GameModes.EGameMode.TR_GAMEMODE_MEDLEY;
                }
                else
                {
                    return;
                }

                CGame.Reset();
                CGame.ClearSongs();
                CGame.AddVisibleSong(SongNr, gm);

                CGraphics.FadeTo(EScreens.ScreenNames);
            }
        }
Пример #4
0
        private void StartVisibleSong(int SongNr)
        {
            if (CSongs.Category >= 0 && SongNr >= 0 && CSongs.NumVisibleSongs > SongNr)
            {
                EGameMode gm;
                if (CSongs.VisibleSongs[SongNr].IsDuet)
                {
                    gm = GameModes.EGameMode.TR_GAMEMODE_DUET;
                }
                else
                {
                    gm = GameModes.EGameMode.TR_GAMEMODE_NORMAL;
                }

                CGame.Reset();
                CGame.ClearSongs();

                CGame.AddVisibleSong(SongNr, gm);

                CGraphics.FadeTo(EScreens.ScreenNames);
            }
        }