basic lights support

This commit is contained in:
Chris Danford
2003-11-16 04:45:12 +00:00
parent 38ec8ca856
commit 48d5a78429
20 changed files with 397 additions and 2 deletions
+9
View File
@@ -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 );