mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-24 05:45:55 +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 LoadFormationThunk( const char* path, const DirEnt* UNUSED(ent), voi
|
||||
int CBaseFormationCollection::loadTemplates()
|
||||
{
|
||||
// Load all files in entities/formations and subdirectories.
|
||||
THROW_ERR( VFSUtil::EnumDirEnts( "entities/formations", VFSUtil::RECURSIVE, "*.xml",
|
||||
THROW_ERR( vfs_dir_enum( "entities/formations", VFS_DIR_RECURSIVE, "*.xml",
|
||||
LoadFormationThunk, this ) );
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user