----------------------------------------------------------------------------- Return an array of uint8 of used Scene IDs and the count -----------------------------------------------------------------------------
| 285 | // Return an array of uint8 of used Scene IDs and the count |
| 286 | //----------------------------------------------------------------------------- |
| 287 | uint8 Scene::GetAllScenes |
| 288 | ( |
| 289 | uint8** _sceneIds |
| 290 | ) |
| 291 | { |
| 292 | if( s_sceneCnt > 0 ) |
| 293 | { |
| 294 | *_sceneIds = new uint8[s_sceneCnt]; |
| 295 | int j = 0; |
| 296 | for( int i = 1; i < 256; i++ ) |
| 297 | { |
| 298 | if (s_scenes[i] != NULL) |
| 299 | { |
| 300 | (*_sceneIds)[j++] = s_scenes[i]->m_sceneId; |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | return s_sceneCnt; |
| 305 | } |
| 306 | |
| 307 | //----------------------------------------------------------------------------- |
| 308 | // <Scene::AddValue> |
nothing calls this directly
no outgoing calls
no test coverage detected