| 1798 | } |
| 1799 | |
| 1800 | void Tr2Sprite2dScene::SetSpriteEffect( Tr2SpriteObjectEffect sfx ) |
| 1801 | { |
| 1802 | if( m_spriteEffect != sfx ) |
| 1803 | { |
| 1804 | m_spriteEffect = sfx; |
| 1805 | |
| 1806 | m_numTexturesUsed = 0; |
| 1807 | m_isAntiAliased = false; |
| 1808 | |
| 1809 | if( m_spriteEffect == TR2_SFX_FILL_AA ) |
| 1810 | { |
| 1811 | m_isAntiAliased = true; |
| 1812 | } |
| 1813 | |
| 1814 | if( m_spriteEffect >= TR2_SFX_ONE_TEXTURE ) |
| 1815 | { |
| 1816 | ++m_numTexturesUsed; |
| 1817 | if( m_spriteEffect >= TR2_SFX_TWO_TEXTURES ) |
| 1818 | { |
| 1819 | ++m_numTexturesUsed; |
| 1820 | } |
| 1821 | } |
| 1822 | } |
| 1823 | } |
| 1824 | |
| 1825 | void Tr2Sprite2dScene::ProcessVertices( Tr2Sprite2dD3DVertex* verticesSrc, unsigned int vertexCount ) |
| 1826 | { |
no outgoing calls
no test coverage detected