This commit is contained in:
Glenn Maynard
2006-12-04 22:32:53 +00:00
parent 19c8a993d0
commit 13238ee22e
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -586,6 +586,7 @@ void ActorUtil::SortByZPosition( vector<Actor*> &vActors )
static const char *FileTypeNames[] = {
"Bitmap",
"Sound",
"Movie",
"Directory",
"Xml",
@@ -607,6 +608,10 @@ FileType ActorUtil::GetFileType( const RString &sPath )
sExt=="jpg" ||
sExt=="gif" ||
sExt=="bmp" ) return FT_Bitmap;
else if(
sExt=="ogg" ||
sExt=="wav" ||
sExt=="mp3" ) return FT_Sound;
else if(
sExt=="avi" ||
sExt=="mpeg" ||
+1
View File
@@ -26,6 +26,7 @@ Actor *CreateActor() { return new T; }
enum FileType
{
FT_Bitmap,
FT_Sound,
FT_Movie,
FT_Directory,
FT_Xml,