From d9a54b65d57443ccc6ab19cee9b78cf71c8964aa Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sun, 18 Aug 2024 10:28:22 +0100 Subject: [PATCH] Add GIF support for terrain textures --- project/code/TMV/TextureLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/code/TMV/TextureLoader.cs b/project/code/TMV/TextureLoader.cs index b2ef68b..db6293e 100644 --- a/project/code/TMV/TextureLoader.cs +++ b/project/code/TMV/TextureLoader.cs @@ -53,7 +53,7 @@ public partial class TextureLoader private static void RegisterTexturePaths(string rootDir, Dictionary map) { // TODO: Load DDS BMP GIF CEL - string[] validExtensions = { "png", "tga", "pcx" }; + string[] validExtensions = { "png", "tga", "pcx", "gif" }; var famOptions = new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive }; var textureOptions = new EnumerationOptions