basic lights support
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include "Course.h"
|
||||
#include "NoteDataUtil.h"
|
||||
#include "UnlockSystem.h"
|
||||
#include "LightsManager.h"
|
||||
|
||||
//
|
||||
// Defines
|
||||
@@ -92,6 +93,11 @@ ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen("S
|
||||
|
||||
m_bDemonstration = bDemonstration;
|
||||
|
||||
if( m_bDemonstration )
|
||||
LIGHTSMAN->SetLightMode( LIGHTMODE_DEMONSTRATION );
|
||||
else
|
||||
LIGHTSMAN->SetLightMode( LIGHTMODE_GAMEPLAY );
|
||||
|
||||
SECONDS_BETWEEN_COMMENTS.Refresh();
|
||||
G_TICK_EARLY_SECONDS.Refresh();
|
||||
|
||||
@@ -1709,6 +1715,9 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
||||
|
||||
GAMESTATE->RemoveAllActiveAttacks();
|
||||
|
||||
LIGHTSMAN->SetLightMode( LIGHTMODE_ALL_OFF );
|
||||
|
||||
|
||||
if( bAllReallyFailed )
|
||||
{
|
||||
this->PostScreenMessage( SM_BeginFailed, 0 );
|
||||
|
||||
Reference in New Issue
Block a user