From 08f2a07061c58175f4f5b1d8e4cea496695ce168 Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Sat, 5 Oct 2024 23:07:43 +0300 Subject: [PATCH] Editor: removed unused function ConstructFileListForEXE() This was replaced by a similar function inside BuildTarget implementation a very long time ago. --- Editor/AGS.Editor/AGSEditor.cs | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/Editor/AGS.Editor/AGSEditor.cs b/Editor/AGS.Editor/AGSEditor.cs index bb7fa037ab..da7d962dfb 100644 --- a/Editor/AGS.Editor/AGSEditor.cs +++ b/Editor/AGS.Editor/AGSEditor.cs @@ -1282,34 +1282,6 @@ private void CreateCompiledFiles(CompileMessages errors, bool forceRebuild) } } - private string[] ConstructFileListForEXE() - { - List files = new List(); - Utilities.AddAllMatchingFiles(files, "preload.pcx"); - Utilities.AddAllMatchingFiles(files, SPRITE_INDEX_FILE_NAME); - foreach (AudioClip clip in _game.RootAudioClipFolder.GetAllAudioClipsFromAllSubFolders()) - { - if (clip.BundlingType == AudioFileBundlingType.InGameEXE) - { - files.Add(clip.CacheFileName); - } - } - Utilities.AddAllMatchingFiles(files, "flic*.fl?"); - Utilities.AddAllMatchingFiles(files, COMPILED_DTA_FILE_NAME); - Utilities.AddAllMatchingFiles(files, "agsfnt*.ttf"); - Utilities.AddAllMatchingFiles(files, "agsfnt*.wfn"); - Utilities.AddAllMatchingFiles(files, SPRITE_FILE_NAME); - foreach (UnloadedRoom room in _game.RootRoomFolder.AllItemsFlat) - { - if (File.Exists(room.FileName)) - { - files.Add(room.FileName); - } - } - Utilities.AddAllMatchingFiles(files, "*.ogv"); - return files.ToArray(); - } - public bool AboutToDeleteSprite(int spriteNumber) { PreDeleteSpriteEventArgs evArgs = new PreDeleteSpriteEventArgs(spriteNumber);