Mostly functional course editor. (It's not pretty, but then I have no ability/experience with graphics/metrics.) You can create, edit, and delete courses. I'm not sure about setting mods yet.

This commit is contained in:
Steve Checkoway
2006-03-04 10:27:09 +00:00
parent cef0c4cebb
commit c23e9f2e88
3 changed files with 87 additions and 17 deletions
@@ -138,12 +138,16 @@ void ScreenOptionsEditCourse::HandleScreenMessage( const ScreenMessage SM )
int iCurRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
if( iCurRow == (int)m_pRows.size() - 1 )
{
m_Original = *pCourse;
WriteCourse();
this->HandleScreenMessage( SM_GoToPrevScreen );
return; // don't call base
}
}
else if( SM == SM_GoToPrevScreen )
{
*pCourse = m_Original;
GAMESTATE->m_pCurCourse.Set( pCourse );
GAMESTATE->m_iEditCourseEntryIndex.Set( -1 );
}
else if( SM == SM_BackFromContextMenu )