From 919a048f3ed041a0e27b06fb5e90e0500114aa29 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 12 Feb 2003 17:19:33 +0000 Subject: [PATCH] encapsulate each screen in its own file; don't clutter parents --- stepmania/src/ScreenIntroMovie.cpp | 18 ++++++++++++++++++ stepmania/src/ScreenIntroMovie.h | 1 + 2 files changed, 19 insertions(+) create mode 100644 stepmania/src/ScreenIntroMovie.cpp diff --git a/stepmania/src/ScreenIntroMovie.cpp b/stepmania/src/ScreenIntroMovie.cpp new file mode 100644 index 0000000000..f13cce59e0 --- /dev/null +++ b/stepmania/src/ScreenIntroMovie.cpp @@ -0,0 +1,18 @@ +#include "stdafx.h" +#include "ScreenIntroMovie.h" + +void ScreenIntroMovie::Update( float fDelta ) +{ + ScreenAttract::Update(fDelta); + +/* + RageTexture *tex = sprite->GetTexture(); + if(tex->IsAMovie() && !tex->IsPlaying()) + this->SendScreenMessage( SM_BeginFadingOut,0 ); +if( BackgroundImage->GetTexture()->RageMovieTexture::IsFinishedPlaying() == true ) + { + this->SendScreenMessage( SM_BeginFadingOut,0 ); + } +*/ +} + diff --git a/stepmania/src/ScreenIntroMovie.h b/stepmania/src/ScreenIntroMovie.h index 86f880cd96..d4dcceee25 100644 --- a/stepmania/src/ScreenIntroMovie.h +++ b/stepmania/src/ScreenIntroMovie.h @@ -17,6 +17,7 @@ class ScreenIntroMovie : public ScreenAttract { public: ScreenIntroMovie() : ScreenAttract("ScreenIntroMovie","intro movie") { }; + void Update( float fDelta ); };