Kaynağa Gözat

added mp3/ogg shadowing

Nicolas Cannasse 8 yıl önce
ebeveyn
işleme
a88f8823b6
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      hxd/res/FileTree.hx

+ 4 - 0
hxd/res/FileTree.hx

@@ -45,6 +45,10 @@ class FileTree {
 			if( Context.defined("cpp") ) Cpp else
 			if( Context.defined("cpp") ) Cpp else
 			if( Context.defined("hl") ) HL else
 			if( Context.defined("hl") ) HL else
 			Unknown;
 			Unknown;
+		if( platform == HL )
+			pairedExt.set("ogg", ["mp3", "wav"]);
+		else
+			pairedExt.set("mp3", ["ogg", "wav"]);
 	}
 	}
 
 
 	public static function resolvePath( ?dir:String ) {
 	public static function resolvePath( ?dir:String ) {