half-finished codes, options icons, and two new modifiers.

This commit is contained in:
Chris Danford
2002-09-02 21:59:58 +00:00
parent d7e6f59b3b
commit 7d4cf73000
87 changed files with 1313 additions and 1109 deletions
+2 -4
View File
@@ -58,8 +58,7 @@ void CroppedSprite::CropToSize( float fWidth, float fHeight )
};
Sprite::SetCustomImageCoords( fCustomImageCoords );
SetWidth( m_fCropWidth );
SetHeight( m_fCropHeight );
m_size = D3DXVECTOR2( m_fCropWidth, m_fCropHeight );
SetZoom( 1 );
}
else // this is probably a background graphic or something not intended to be a CroppedSprite
@@ -102,8 +101,7 @@ void CroppedSprite::CropToSize( float fWidth, float fHeight )
1 - fPercentageToCutOffEachSide );
SetCustomImageRect( fCustomImageCoords );
}
SetWidth( m_fCropWidth );
SetHeight( m_fCropHeight );
m_size = D3DXVECTOR2( m_fCropWidth, m_fCropHeight );
SetZoom( 1 );
}