Register an atlas texture that lives outside the atlas. It will be pulled into the atlas if space becomes available.
| 186 | // Register an atlas texture that lives outside the atlas. It will be pulled |
| 187 | // into the atlas if space becomes available. |
| 188 | void Tr2TextureAtlas::RegisterOutsider( Tr2AtlasTexture* tex ) |
| 189 | { |
| 190 | CCP_ASSERT( !tex->m_atlasArea ); |
| 191 | m_texturesOutsideAtlas.insert( tex ); |
| 192 | } |
| 193 | |
| 194 | void Tr2TextureAtlas::RemoveFromAtlas( Tr2AtlasTexture* tex ) |
| 195 | { |