This commit is contained in:
Glenn Maynard
2005-09-19 09:55:05 +00:00
parent 075b132f89
commit be73671d02
3 changed files with 8 additions and 5 deletions
+5 -1
View File
@@ -157,6 +157,10 @@ void WheelBase::DrawPrimitives()
ActorFrame::DrawPrimitives();
}
void WheelBase::DrawItem( int i )
{
DrawItem( i, m_WheelBaseItems[i], i - NUM_WHEEL_ITEMS/2 + m_fPositionOffsetFromSelection );
}
void WheelBase::DrawItem( int i, WheelItemBase *display, const float fThisBannerPositionOffsetFromSelection)
{
@@ -627,7 +631,7 @@ void WheelBase::BuildWheelItemsData( vector<WheelItemBaseData*> &arrayWheelItemD
void WheelBase::RebuildWheelItems( int iDist )
{
vector<WheelItemBaseData *> &data = m_WheelBaseItemsData;
const vector<WheelItemBaseData *> &data = m_WheelBaseItemsData;
vector<WheelItemBase *> &items = m_WheelBaseItems;
// rewind to first index that will be displayed;