From 0c07c7d8c301b9bc6d0be21c2551f1af053ebd10 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 Dec 2002 22:43:56 +0000 Subject: [PATCH] unused now --- stepmania/src/TransitionKeepAlive.cpp | 8 -------- stepmania/src/TransitionKeepAlive.h | 1 - 2 files changed, 9 deletions(-) diff --git a/stepmania/src/TransitionKeepAlive.cpp b/stepmania/src/TransitionKeepAlive.cpp index 1d9a9af81f..e9385034dc 100644 --- a/stepmania/src/TransitionKeepAlive.cpp +++ b/stepmania/src/TransitionKeepAlive.cpp @@ -25,7 +25,6 @@ enum KeepAliveType // for use with the metric above { KEEP_ALIVE_TYPE_MAX = 0, KEEP_ALIVE_TYPE_5TH, - KEEP_ALIVE_TYPE_HIDDEN, //disable drawing of the keep alive transition (for transitioning to the summary score screen) }; @@ -44,11 +43,6 @@ TransitionKeepAlive::TransitionKeepAlive() m_sprLogo.SetXY( CENTER_X, CENTER_Y ); } -void TransitionKeepAlive::SetHidden() -{ - g_KeepAliveType = (KeepAliveType)KEEP_ALIVE_TYPE_HIDDEN; -} - void TransitionKeepAlive::Update( float fDeltaTime ) { // hack: Smooth out the big hickups. @@ -63,8 +57,6 @@ void TransitionKeepAlive::DrawPrimitives() // draw keep alive graphic switch( g_KeepAliveType ) { - case KEEP_ALIVE_TYPE_HIDDEN: //draw nothing - break; //for last transition (to final score summary screen) case KEEP_ALIVE_TYPE_MAX: { float fPercentClosed = 1 - this->GetPercentageOpen(); diff --git a/stepmania/src/TransitionKeepAlive.h b/stepmania/src/TransitionKeepAlive.h index 46cf372051..8df6d4bb97 100644 --- a/stepmania/src/TransitionKeepAlive.h +++ b/stepmania/src/TransitionKeepAlive.h @@ -28,7 +28,6 @@ public: virtual void OpenWipingLeft( ScreenMessage send_when_done = SM_None ); virtual void CloseWipingRight(ScreenMessage send_when_done = SM_None ); virtual void CloseWipingLeft( ScreenMessage send_when_done = SM_None ); - virtual void SetHidden(); protected: Sprite m_sprLogo;