From cf695ce313026ccf7c9173a1e0f160de6048601f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 15 Aug 2005 02:32:36 +0000 Subject: [PATCH] BeginScreen --- stepmania/src/ScreenOptionsEditCourse.cpp | 7 +++---- stepmania/src/ScreenOptionsEditCourseEntry.cpp | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/stepmania/src/ScreenOptionsEditCourse.cpp b/stepmania/src/ScreenOptionsEditCourse.cpp index 2428889edb..9ba3334c5d 100644 --- a/stepmania/src/ScreenOptionsEditCourse.cpp +++ b/stepmania/src/ScreenOptionsEditCourse.cpp @@ -48,8 +48,10 @@ ScreenOptionsEditCourse::ScreenOptionsEditCourse( CString sName ) : ScreenOption void ScreenOptionsEditCourse::Init() { ScreenOptions::Init(); +} - +void ScreenOptionsEditCourse::BeginScreen() +{ // save a backup that we'll use if we revert. ASSERT( GAMESTATE->m_pCurCourse ); Course *pCourse = GAMESTATE->m_pCurCourse; @@ -96,10 +98,7 @@ void ScreenOptionsEditCourse::Init() vHands.push_back( NULL ); ScreenOptions::InitMenu( vDefs, vHands ); -} -void ScreenOptionsEditCourse::BeginScreen() -{ ScreenOptions::BeginScreen(); if( GAMESTATE->m_iEditCourseEntryIndex > -1 ) diff --git a/stepmania/src/ScreenOptionsEditCourseEntry.cpp b/stepmania/src/ScreenOptionsEditCourseEntry.cpp index 20b2ff68de..5143345025 100644 --- a/stepmania/src/ScreenOptionsEditCourseEntry.cpp +++ b/stepmania/src/ScreenOptionsEditCourseEntry.cpp @@ -54,8 +54,10 @@ ScreenOptionsEditCourseEntry::ScreenOptionsEditCourseEntry( CString sName ) : Sc void ScreenOptionsEditCourseEntry::Init() { ScreenOptions::Init(); +} - +void ScreenOptionsEditCourseEntry::BeginScreen() +{ // save a backup that we'll use if we revert. Course *pCourse = GAMESTATE->m_pCurCourse; const CourseEntry &ce = pCourse->m_vEntries[ GAMESTATE->m_iEditCourseEntryIndex ]; @@ -131,10 +133,7 @@ void ScreenOptionsEditCourseEntry::Init() vHands.push_back( NULL ); ScreenOptions::InitMenu( vDefs, vHands ); -} -void ScreenOptionsEditCourseEntry::BeginScreen() -{ ScreenOptions::BeginScreen(); }