mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 03:48:31 +00:00
# refactoring
- color: the sse codepath is now detected and activated from within color.cpp, which avoids making ia32 dependent on the color header. it's called from gamesetup!InitRenderer. - move VFSUtil::EnumDirEnts to vfs.cpp!vfs_dir_enum - allows it to be used from within lib/ without dependency on ps (annoying for other projects) This was SVN commit r3764.
This commit is contained in:
@@ -30,7 +30,7 @@ static void LoadFileThunk( const char* path, const DirEnt* UNUSED(ent), void* co
|
||||
int CBaseEntityCollection::loadTemplates()
|
||||
{
|
||||
// Load all files in entities/ and its subdirectories.
|
||||
THROW_ERR( VFSUtil::EnumDirEnts( "entities/", VFSUtil::RECURSIVE, "*.xml",
|
||||
THROW_ERR( vfs_dir_enum( "entities/", VFS_DIR_RECURSIVE, "*.xml",
|
||||
LoadFileThunk, this ) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user