split c'tor and Load

This commit is contained in:
Chris Danford
2005-03-30 17:42:41 +00:00
parent c7155811bd
commit 47aaf5a0eb
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -23,6 +23,12 @@ CourseContentsList::CourseContentsList()
m_fTimeUntilScroll = 0;
m_fItemAtTopOfList = 0;
ContentsBarHeight = 1;
ContentsBarWidth = 1;
}
void CourseContentsList::Load()
{
m_quad.SetUseZBuffer( true );
for( int i = 0; i < MAX_TOTAL_CONTENTS; ++i )
{
@@ -36,7 +42,6 @@ CourseContentsList::CourseContentsList()
ContentsBarWidth = m_CourseContentDisplays[0].GetUnzoomedWidth();
}
void CourseContentsList::SetFromGameState()
{
Course* pCourse = GAMESTATE->m_pCurCourse;
+2
View File
@@ -22,6 +22,8 @@ class CourseContentsList : public ActorFrame
{
public:
CourseContentsList();
void Load();
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();