mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Looks like first 3 bytes of JPG image can be treated as signature, not 4.
This commit is contained in:
parent
a150931bb2
commit
4fe2676e11
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
private static readonly int[] GIF_SIGNATURE = new int[] { 71, 73, 70 };
|
||||
private static readonly int[] BMP_SIGNATURE = new int[] { 66, 77 };
|
||||
private static readonly int[] DDS_SIGNATURE = new int[] { 68, 68, 83, 32 };
|
||||
private static readonly int[] JPG_SIGNATURE = new int[] { 255, 216, 255, 224 }; //mxd
|
||||
private static readonly int[] JPG_SIGNATURE = new int[] { 255, 216, 255 }; //mxd
|
||||
private static readonly int[] TGA_SIGNATURE = new int[] { 0, 0, 2, 0 }; //mxd
|
||||
private static readonly int[] PCX_SIGNATURE = new int[] { 10, 5, 1, 8 }; //mxd
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.ClassicModes
|
|||
string word = adjectives[points.Count % adjectives.Length];
|
||||
word = (points.Count > adjectives.Length) ? "very " + word : word;
|
||||
string a = ((word[0] == 'a') || (word[0] == 'e') || (word[0] == 'o')) ? "an " : "a ";
|
||||
General.Interface.DisplayStatus(StatusType.Action, "Created " + a + word + " drawing.");
|
||||
General.Interface.DisplayStatus(StatusType.Action, "Created " + a + word + " curve.");
|
||||
|
||||
List<DrawnVertex> verts = new List<DrawnVertex>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue