mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
6b62b4f3d2
Floor and ceiling textures are now moved more predictably by arrow keys in GZDoom Visual mode. Walls texture coordinates are always rounded when moved by arrow keys in Visual modes. Linedef info panel: relative UDMF light values are now shown like this: 16 (128), which means "UDMF light value" ("total surface brightness (UDMF light value + sector brightness)") Player is now spawned at camera height when testing from current location in Visual modes. Focus is now properly restored after testing from current location in Visual modes. Updated Heretic_sectors.cfg and Heretic_things.cfg as described here: http://www.doombuilder.com/forums/viewtopic.php?f=11&t=357 Changed sprites of artifacts in Hexen_things.cfg to proper ones. Renamed Skulltag configs to Zandronum
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.IO;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data {
|
|
public class EngineInfo {
|
|
public const string DEFAULT_ENGINE_NAME = "Engine with no name";
|
|
|
|
public string TestProgramName;
|
|
public string TestProgram;
|
|
public string TestParameters;
|
|
public bool CustomParameters;
|
|
public int TestSkill;
|
|
public bool TestShortPaths;
|
|
|
|
public EngineInfo() {
|
|
TestProgramName = DEFAULT_ENGINE_NAME;
|
|
}
|
|
|
|
public EngineInfo(EngineInfo other) {
|
|
TestProgramName = other.TestProgramName;
|
|
TestProgram = other.TestProgram;
|
|
TestParameters = other.TestParameters;
|
|
CustomParameters = other.CustomParameters;
|
|
TestSkill = other.TestSkill;
|
|
TestShortPaths = other.TestShortPaths;
|
|
}
|
|
|
|
public void CheckProgramName(bool forced) {
|
|
if ((forced || TestProgramName == DEFAULT_ENGINE_NAME) && !String.IsNullOrEmpty(TestProgram)) {
|
|
//get engine name from folder name
|
|
string n = Path.GetDirectoryName(TestProgram);
|
|
int pos = n.LastIndexOf(Path.DirectorySeparatorChar);
|
|
TestProgramName = n.Substring(pos + 1, n.Length - pos - 1);
|
|
}
|
|
}
|
|
}
|
|
}
|