1627422e09
Change ScreenManager message sending methods for more precise control: - SendMessageToTopScreen: handle the message immediately - PostMessageToTopScreen: post message to queue for processing next update
25 lines
494 B
C++
25 lines
494 B
C++
#include "global.h"
|
|
#include "ScreenIntroMovie.h"
|
|
|
|
void ScreenIntroMovie::Update( float fDelta )
|
|
{
|
|
ScreenAttract::Update(fDelta);
|
|
|
|
/*
|
|
RageTexture *tex = sprite->GetTexture();
|
|
if(tex->IsAMovie() && !tex->IsPlaying())
|
|
this->PostScreenMessage( SM_BeginFadingOut,0 );
|
|
|
|
and when initting the sprite in ScreenIntroMovie::ScreenIntroMovie:
|
|
if(sprite->GetTexture->IsAMovie())
|
|
{
|
|
tex->SetLooping(false);
|
|
ClearMessageQueue(SM_BeginFadingOut);
|
|
}
|
|
|
|
Don't use RageMovieTexture directly.
|
|
|
|
*/
|
|
}
|
|
|