Pump Theme Fixes

This commit is contained in:
Andrew Livy
2003-04-22 14:32:48 +00:00
parent f95a2e7736
commit c86fb65a2f
16 changed files with 35 additions and 10 deletions
+6 -2
View File
@@ -3,9 +3,13 @@ X denotes task complete or no longer required to do.
- denotes task to do, but also being worked upon by other dev. - denotes task to do, but also being worked upon by other dev.
H denotes task on hold. H denotes task on hold.
TODO As of: 12:26 03/02/28
* Mathematics Assignment
* Integrating Assignment 3
TODO As of: 16:57 03/02/08 TODO As of: 16:57 03/02/08
* Object Oriented Design 2 Assignment X Object Oriented Design 2 Assignment
* Operating Systems 2 Assignment X Operating Systems 2 Assignment
* Systems Programming 2 Assignment * Systems Programming 2 Assignment
* Para-Style EndScreens * Para-Style EndScreens
* Para-Style Scoreboard * Para-Style Scoreboard
@@ -1 +1 @@
header1 _shared1
@@ -0,0 +1 @@
ScreenSelectMusicEz2 difficulty frame.png
@@ -0,0 +1 @@
ScreenSelectMusicEz2 infoframe.png
@@ -0,0 +1 @@
ScreenSelectMusicEz2 mirroricon.png
@@ -0,0 +1 @@
ScreenSelectMusic options message 1x2.png
@@ -0,0 +1 @@
ScreenSelectMusicEz2 shuffleicon.png
@@ -0,0 +1 @@
ScreenSelectMusicEz2 speedicon.png
+2 -2
View File
@@ -24,8 +24,8 @@ public:
#endif #endif
/* /*
----------------------------------------------------------------------------- ------------------------------------------------------------------------------
Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved. Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved.
Glenn Maynard Glenn Maynard
----------------------------------------------------------------------------- ------------------------------------------------------------------------------
*/ */
+9 -2
View File
@@ -57,6 +57,8 @@ const ScreenMessage SM_NoSongs = ScreenMessage(SM_User+3);
ScreenEz2SelectMusic::ScreenEz2SelectMusic() : Screen("ScreenEz2SelectMusic") ScreenEz2SelectMusic::ScreenEz2SelectMusic() : Screen("ScreenEz2SelectMusic")
{ {
m_bTransitioning = false;
m_fRemainingWaitTime = 0.0f;
i_ErrorDetected=0; i_ErrorDetected=0;
CodeDetector::RefreshCacheItems(); CodeDetector::RefreshCacheItems();
@@ -341,6 +343,7 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
} }
m_bMadeChoice = true; m_bMadeChoice = true;
m_fRemainingWaitTime = RageTimer::GetTimeSinceStart();
TweenOffScreen(); TweenOffScreen();
@@ -353,8 +356,6 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
m_sprOptionsMessage.BeginTweening( 0.25f ); // fade out m_sprOptionsMessage.BeginTweening( 0.25f ); // fade out
m_sprOptionsMessage.SetDiffuse( RageColor(1,1,1,0) ); m_sprOptionsMessage.SetDiffuse( RageColor(1,1,1,0) );
m_sprOptionsMessage.SetZoomY( 0 ); m_sprOptionsMessage.SetZoomY( 0 );
m_Menu.StartTransitioning( SM_GoToNextScreen );
} }
@@ -367,6 +368,12 @@ void ScreenEz2SelectMusic::Update( float fDeltaTime )
this->PostScreenMessage( SM_NoSongs, 5.5f ); // timeout incase the user decides to do nothing :D this->PostScreenMessage( SM_NoSongs, 5.5f ); // timeout incase the user decides to do nothing :D
} }
if(m_bMadeChoice && RageTimer::GetTimeSinceStart() > m_fRemainingWaitTime + 2 && !m_bTransitioning)
{
m_bTransitioning = true;
m_Menu.StartTransitioning( SM_GoToNextScreen );
}
Screen::Update( fDeltaTime ); Screen::Update( fDeltaTime );
} }
+4 -1
View File
@@ -20,7 +20,7 @@
#include "MenuElements.h" #include "MenuElements.h"
#include "DifficultyMeter.h" #include "DifficultyMeter.h"
#include "DifficultyRating.h" #include "DifficultyRating.h"
#include "RageTimer.h"
class ScreenEz2SelectMusic : public Screen class ScreenEz2SelectMusic : public Screen
{ {
@@ -50,6 +50,7 @@ protected:
void TweenOffScreen(); void TweenOffScreen();
Sprite m_ChoiceListFrame; Sprite m_ChoiceListFrame;
Sprite m_ChoiceListHighlight; Sprite m_ChoiceListHighlight;
Sprite m_Guide; Sprite m_Guide;
@@ -65,6 +66,7 @@ protected:
RageSound m_soundMusicChange; RageSound m_soundMusicChange;
RageSound m_soundMusicCycle; RageSound m_soundMusicCycle;
float m_fRemainingWaitTime;
MusicBannerWheel m_MusicBannerWheel; MusicBannerWheel m_MusicBannerWheel;
MenuElements m_Menu; MenuElements m_Menu;
DifficultyRating m_DifficultyRating; DifficultyRating m_DifficultyRating;
@@ -73,6 +75,7 @@ protected:
int m_iSelection[NUM_PLAYERS]; int m_iSelection[NUM_PLAYERS];
bool m_bGoToOptions; bool m_bGoToOptions;
bool m_bMadeChoice; bool m_bMadeChoice;
bool m_bTransitioning;
int i_ErrorDetected; int i_ErrorDetected;
+1
View File
@@ -44,6 +44,7 @@
// //
#define PREV_SCREEN( play_mode ) THEME->GetMetric ("ScreenGameplay","PrevScreen"+Capitalize(PlayModeToString(play_mode))) #define PREV_SCREEN( play_mode ) THEME->GetMetric ("ScreenGameplay","PrevScreen"+Capitalize(PlayModeToString(play_mode)))
#define NEXT_SCREEN( play_mode ) THEME->GetMetric ("ScreenGameplay","NextScreen"+Capitalize(PlayModeToString(play_mode))) #define NEXT_SCREEN( play_mode ) THEME->GetMetric ("ScreenGameplay","NextScreen"+Capitalize(PlayModeToString(play_mode)))
CachedThemeMetricF SECONDS_BETWEEN_COMMENTS ("ScreenGameplay","SecondsBetweenComments"); CachedThemeMetricF SECONDS_BETWEEN_COMMENTS ("ScreenGameplay","SecondsBetweenComments");
CachedThemeMetricF G_TICK_EARLY_SECONDS ("ScreenGameplay","TickEarlySeconds"); CachedThemeMetricF G_TICK_EARLY_SECONDS ("ScreenGameplay","TickEarlySeconds");
+1 -1
View File
@@ -1,6 +1,6 @@
#include "global.h" #include "global.h"
/**************************************** /****************************************
ScreenSelectModeOld,cpp ScreenSelectMode.cpp
Desc: See Header Desc: See Header
Copyright (C): Copyright (C):
Andrew Livy Andrew Livy
+3 -1
View File
@@ -15,7 +15,9 @@ Andrew Livy
#include "ScrollingList.h" #include "ScrollingList.h"
#include "GameConstantsAndTypes.h" #include "GameConstantsAndTypes.h"
#include "ModeChoice.h" #include "ModeChoice.h"
#include "BitmapText.h"
// #include "TransitionFade.h"
#include "RandomSample.h"
/* Class Definition */ /* Class Definition */
+1
View File
@@ -31,6 +31,7 @@ void MakeInputHandlers(vector<InputHandler *> &Add)
#if defined(WIN32) #if defined(WIN32)
Add.push_back(new InputHandler_Win32_Pump); Add.push_back(new InputHandler_Win32_Pump);
// Add.push_back(new InputHandler_Win32_Para);
#endif #endif
} }
+1
View File
@@ -7,6 +7,7 @@
#include "ArchHooks/ArchHooks_Win32.h" #include "ArchHooks/ArchHooks_Win32.h"
#include "InputHandler/InputHandler_Win32_Pump.h" #include "InputHandler/InputHandler_Win32_Pump.h"
// #include "InputHandler/InputHandler_Win32_Para.h"
#include "Sound/RageSoundDriver_DSound.h" #include "Sound/RageSoundDriver_DSound.h"
#include "Sound/RageSoundDriver_DSound_Software.h" #include "Sound/RageSoundDriver_DSound_Software.h"