fpclassify fix
EntityManager: rename getExtant -> GetExtantAsHandles, fix its
implementation+call site to avoid dynamic alloc/auto ptr, rename extant
-> IsExtant
vsnprintf2 -> sys_vsnprintf. remove printf.h (function is declared in
sysdep header)
use SUS/posix-ish strcasecmp instead of defining that to the
windows-only stricmp
add cppdoc for ia32/cpu

This was SVN commit r5011.
This commit is contained in:
janwas
2007-04-30 19:58:04 +00:00
parent 22ede31161
commit 5a427440d0
35 changed files with 215 additions and 129 deletions
+3 -4
View File
@@ -184,13 +184,12 @@ std::vector<HEntity>* CEntityManager::matches( EntityPredicate predicate, void*
return( matchlist );
}
std::vector<HEntity>* CEntityManager::getExtant()
void CEntityManager::GetExtantAsHandles( std::vector<HEntity>& results )
{
std::vector<HEntity>* activelist = new std::vector<HEntity>;
results.clear();
for( int i = 0; i < MAX_HANDLES; i++ )
if( isEntityRefd(i) )
activelist->push_back( HEntity( i ) );
return( activelist );
results.push_back( HEntity( i ) );
}
void CEntityManager::GetExtant( std::vector<CEntity*>& results )