Files
SabreTools/SabreTools.Core/Enums.cs

924 lines
20 KiB
C#
Raw Normal View History

using System;
2020-12-08 13:23:59 -08:00
// TODO: Figure out the best way to put these back in their libraries
namespace SabreTools.Core
2020-08-01 22:13:56 -07:00
{
2020-12-08 13:23:59 -08:00
#region DatFiles
/// <summary>
/// Determines merging tag handling for DAT output
/// </summary>
public enum MergingFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("split")]
Split,
2023-04-20 10:34:37 -04:00
[Mapping("merged")]
Merged,
2023-04-20 10:34:37 -04:00
[Mapping("nonmerged", "unmerged")]
NonMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("fullmerged")]
FullMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 12:12:56 -04:00
[Mapping("device", "deviceunmerged", "devicenonmerged")]
DeviceNonMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 12:12:56 -04:00
[Mapping("full", "fullunmerged", "fullnonmerged")]
FullNonMerged,
}
/// <summary>
/// Determines nodump tag handling for DAT output
/// </summary>
public enum NodumpFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("obsolete")]
Obsolete,
2023-04-20 10:34:37 -04:00
[Mapping("required")]
Required,
2023-04-20 10:34:37 -04:00
[Mapping("ignore")]
Ignore,
}
/// <summary>
/// Determines packing tag handling for DAT output
/// </summary>
public enum PackingFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
/// <summary>
/// Force all sets to be in archives, except disk and media
/// </summary>
2023-04-20 12:12:56 -04:00
[Mapping("zip", "yes")]
Zip,
/// <summary>
/// Force all sets to be extracted into subfolders
/// </summary>
2023-04-20 12:12:56 -04:00
[Mapping("unzip", "no")]
Unzip,
/// <summary>
/// Force sets with single items to be extracted to the parent folder
/// </summary>
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial,
/// <summary>
/// Force all sets to be extracted to the parent folder
/// </summary>
2023-04-20 10:34:37 -04:00
[Mapping("flat")]
Flat,
}
#endregion
#region DatItems
/// <summary>
/// Determine the chip type
/// </summary>
[Flags]
public enum ChipType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("cpu")]
CPU = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("audio")]
Audio = 1 << 1,
}
/// <summary>
/// Determine the control type
/// </summary>
[Flags]
public enum ControlType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("joy")]
Joy = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("stick")]
Stick = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("paddle")]
Paddle = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("pedal")]
Pedal = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("lightgun")]
Lightgun = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("positional")]
Positional = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("dial")]
Dial = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("trackball")]
Trackball = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("mouse")]
Mouse = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("only_buttons")]
OnlyButtons = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("keypad")]
Keypad = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("keyboard")]
Keyboard = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("mahjong")]
Mahjong = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("hanafuda")]
Hanafuda = 1 << 13,
2023-04-20 10:34:37 -04:00
[Mapping("gambling")]
Gambling = 1 << 14,
}
/// <summary>
/// Determine the device type
/// </summary>
[Flags]
public enum DeviceType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("unknown")]
Unknown = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("cartridge")]
Cartridge = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("floppydisk")]
FloppyDisk = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("harddisk")]
HardDisk = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("cylinder")]
Cylinder = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("cassette")]
Cassette = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("punchcard")]
PunchCard = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("punchtape")]
PunchTape = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("printout")]
Printout = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("serial")]
Serial = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("parallel")]
Parallel = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("snapshot")]
Snapshot = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("quickload")]
QuickLoad = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("memcard")]
MemCard = 1 << 13,
2023-04-20 10:34:37 -04:00
[Mapping("cdrom")]
CDROM = 1 << 14,
2023-04-20 10:34:37 -04:00
[Mapping("magtape")]
MagTape = 1 << 15,
2023-04-20 10:34:37 -04:00
[Mapping("romimage")]
ROMImage = 1 << 16,
2023-04-20 10:34:37 -04:00
[Mapping("midiin")]
MIDIIn = 1 << 17,
2023-04-20 10:34:37 -04:00
[Mapping("midiout")]
MIDIOut = 1 << 18,
2023-04-20 10:34:37 -04:00
[Mapping("picture")]
Picture = 1 << 19,
2023-04-20 10:34:37 -04:00
[Mapping("vidfile")]
VidFile = 1 << 20,
}
/// <summary>
/// Determine the display type
/// </summary>
[Flags]
public enum DisplayType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("raster")]
Raster = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("vector")]
Vector = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("lcd")]
LCD = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("svg")]
SVG = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("unknown")]
Unknown = 1 << 4,
}
/// <summary>
/// Determine the endianness
/// </summary>
[Flags]
public enum Endianness
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("big")]
Big = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("little")]
Little = 1 << 1,
}
/// <summary>
/// Determine the emulation status
/// </summary>
[Flags]
public enum FeatureStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("unemulated")]
Unemulated = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("imperfect")]
Imperfect = 1 << 1,
}
/// <summary>
/// Determine the feature type
/// </summary>
[Flags]
public enum FeatureType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("protection")]
Protection = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("palette")]
Palette = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("graphics")]
Graphics = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("sound")]
Sound = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("controls")]
Controls = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("keyboard")]
Keyboard = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("mouse")]
Mouse = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("microphone")]
Microphone = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("camera")]
Camera = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("disk")]
Disk = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("printer")]
Printer = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("lan")]
Lan = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("wan")]
Wan = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("timing")]
Timing = 1 << 13,
}
/// <summary>
/// Determine the status of the item
/// </summary>
[Flags]
public enum ItemStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("none", "no")]
None = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("good")]
Good = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("baddump")]
BadDump = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("nodump", "yes")]
Nodump = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("verified")]
Verified = 1 << 4,
}
/// <summary>
/// Determine what type of file an item is
/// </summary>
public enum ItemType
{
2023-04-20 10:34:37 -04:00
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
// "Actionable" item types
2023-04-20 10:34:37 -04:00
[Mapping("rom")]
Rom,
2023-04-20 10:34:37 -04:00
[Mapping("disk")]
Disk,
2023-04-20 10:34:37 -04:00
[Mapping("file")]
File,
[Mapping("media")]
Media,
// "Auxiliary" item types
2023-04-20 10:34:37 -04:00
[Mapping("adjuster")]
Adjuster,
2023-04-20 10:34:37 -04:00
[Mapping("analog")]
Analog,
2023-04-20 10:34:37 -04:00
[Mapping("archive")]
Archive,
2023-04-20 10:34:37 -04:00
[Mapping("biosset")]
BiosSet,
2023-04-20 10:34:37 -04:00
[Mapping("chip")]
Chip,
2023-04-20 10:34:37 -04:00
[Mapping("condition")]
Condition,
2023-04-20 10:34:37 -04:00
[Mapping("configuration")]
Configuration,
2023-04-20 10:34:37 -04:00
[Mapping("conflocation")]
ConfLocation,
[Mapping("confsetting")]
ConfSetting,
2023-04-20 10:34:37 -04:00
[Mapping("control")]
Control,
2023-04-20 10:34:37 -04:00
[Mapping("dataarea")]
DataArea,
2023-04-20 10:34:37 -04:00
[Mapping("device")]
Device,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("device_ref", "deviceref")]
DeviceReference,
2023-04-20 10:34:37 -04:00
[Mapping("diplocation")]
DipLocation,
2023-04-20 10:34:37 -04:00
[Mapping("dipswitch")]
DipSwitch,
2023-04-20 10:34:37 -04:00
[Mapping("dipvalue")]
DipValue,
2023-04-20 10:34:37 -04:00
[Mapping("diskarea")]
DiskArea,
2023-04-20 10:34:37 -04:00
[Mapping("display")]
Display,
2023-04-20 10:34:37 -04:00
[Mapping("driver")]
Driver,
2023-04-20 10:34:37 -04:00
[Mapping("extension")]
Extension,
2023-04-20 10:34:37 -04:00
[Mapping("feature")]
Feature,
2023-04-20 10:34:37 -04:00
[Mapping("info")]
Info,
2023-04-20 10:34:37 -04:00
[Mapping("input")]
Input,
2023-04-20 10:34:37 -04:00
[Mapping("instance")]
Instance,
2023-04-20 10:34:37 -04:00
[Mapping("original")]
Original,
2023-04-20 10:34:37 -04:00
[Mapping("part")]
Part,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("part_feature", "partfeature")]
PartFeature,
2023-04-20 10:34:37 -04:00
[Mapping("port")]
Port,
2023-04-20 10:34:37 -04:00
[Mapping("ramoption", "ram_option")]
RamOption,
2023-04-20 10:34:37 -04:00
[Mapping("release")]
Release,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("release_details", "releasedetails")]
2023-04-19 12:26:54 -04:00
ReleaseDetails,
2023-04-20 10:34:37 -04:00
[Mapping("sample")]
Sample,
2023-04-20 10:34:37 -04:00
[Mapping("serials")]
2023-04-07 14:57:41 -04:00
Serials,
2023-04-20 10:34:37 -04:00
[Mapping("sharedfeat", "shared_feat", "sharedfeature", "shared_feature")]
SharedFeature,
2023-04-20 10:34:37 -04:00
[Mapping("slot")]
Slot,
2023-04-20 10:34:37 -04:00
[Mapping("slotoption", "slot_option")]
SlotOption,
2023-04-20 10:34:37 -04:00
[Mapping("softwarelist", "software_list")]
SoftwareList,
2023-04-20 10:34:37 -04:00
[Mapping("sound")]
Sound,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("source_details", "sourcedetails")]
2023-04-19 12:26:54 -04:00
SourceDetails,
2023-04-20 10:34:37 -04:00
[Mapping("blank")]
Blank = 99, // This is not a real type, only used internally
}
/// <summary>
/// Determine the loadflag value
/// </summary>
[Flags]
public enum LoadFlag
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("load16_byte")]
Load16Byte = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("load16_word")]
Load16Word = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("load16_word_swap")]
Load16WordSwap = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("load32_byte")]
Load32Byte = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("load32_word")]
Load32Word = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("load32_word_swap")]
Load32WordSwap = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("load32_dword")]
Load32DWord = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("load64_word")]
Load64Word = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("load64_word_swap")]
Load64WordSwap = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("reload")]
Reload = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("fill")]
Fill = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("continue")]
Continue = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("reload_plain")]
ReloadPlain = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("ignore")]
Ignore = 1 << 13,
}
/// <summary>
/// Determine what type of machine it is
/// </summary>
[Flags]
public enum MachineType
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("bios")]
Bios = 1 << 0,
2023-04-20 12:12:56 -04:00
[Mapping("device", "dev")]
2023-04-20 10:34:37 -04:00
Device = 1 << 1,
2023-04-20 12:12:56 -04:00
[Mapping("mechanical", "mech")]
2023-04-20 10:34:37 -04:00
Mechanical = 1 << 2,
}
/// <summary>
/// Determine which OpenMSX subtype an item is
/// </summary>
[Flags]
public enum OpenMSXSubType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("rom")]
Rom = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("megarom")]
MegaRom = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("sccpluscart")]
SCCPlusCart = 1 << 2,
}
/// <summary>
/// Determine relation of value to condition
/// </summary>
[Flags]
public enum Relation
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("eq")]
Equal = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("ne")]
NotEqual = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("gt")]
GreaterThan = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("le")]
LessThanOrEqual = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("lt")]
LessThan = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("ge")]
GreaterThanOrEqual = 1 << 5,
}
/// <summary>
/// Determine machine runnable status
/// </summary>
[Flags]
public enum Runnable
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("no")]
No = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("yes")]
Yes = 1 << 2,
}
/// <summary>
/// Determine software list status
/// </summary>
[Flags]
public enum SoftwareListStatus
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("original")]
Original = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("compatible")]
Compatible = 1 << 1,
}
/// <summary>
/// Determine machine support status
/// </summary>
[Flags]
public enum Supported
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("no", "unsupported")]
No = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("yes", "supported")]
Yes = 1 << 2,
}
/// <summary>
/// Determine driver support statuses
/// </summary>
[Flags]
public enum SupportStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("good")]
Good = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("imperfect")]
Imperfect = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("preliminary")]
Preliminary = 1 << 2,
}
#endregion
#region Fields
/// <summary>
/// List of valid field types within a DatHeader
/// </summary>
public enum DatHeaderField
{
2023-04-20 10:34:37 -04:00
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("author")]
Author,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("biosmode", "bios_mode")]
BiosMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("build")]
Build,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("canopen", "can_open")]
CanOpen,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("category")]
Category,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("comment")]
Comment,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, OpenMSX, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("date", "timestamp", "time_stamp")]
Date,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx and ListXML</remarks>
[Mapping("debug")]
Debug,
/// <remarks>Used in ClrMamePro, DOSCenter, ListXML, Logiqx, OpenMSX, RomCenter, Separated Value, and Software List</remarks>
[Mapping("desc", "description")]
Description,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, Logiqx, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("email", "e_mail")]
Email,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode, OfflineList, and Separated Value</remarks>
[Mapping("file", "filename", "file_name")]
FileName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, Logiqx, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcemerging", "force_merging")]
ForceMerging,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcenodump", "force_nodump")]
ForceNodump,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcepacking", "force_packing")]
ForcePacking,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
[Mapping("header", "headerskipper", "header_skipper", "skipper")]
HeaderSkipper,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("homepage", "home_page")]
Homepage,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("id", "nointroid", "no_intro_id")]
ID,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_default", "infos_default")]
Info_Default,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_isnamingoption", "info_is_naming_option", "infos_isnamingoption", "infos_is_naming_option")]
Info_IsNamingOption,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_name", "infos_name")]
Info_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_visible", "infos_visible")]
Info_Visible,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("lockbiosmode", "lockbios_mode", "lock_biosmode", "lock_bios_mode")]
LockBiosMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("lockrommode", "lockrom_mode", "lock_rommode", "lock_rom_mode")]
LockRomMode,
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("locksamplemode", "locksample_mode", "lock_samplemode", "lock_sample_mode")]
LockSampleMode,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ListXML</remarks>
[Mapping("mameconfig", "mame_config")]
MameConfig,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, ListXML, Logiqx, OfflineList, OpenMSX, RomCenter, Separated Value, and Software List</remarks>
[Mapping("dat", "datname", "dat_name", "internalname", "internal_name")]
Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with RomCenter</remarks>
[Mapping("rcversion", "rc_version", "romcenterversion", "romcenter_version", "rom_center_version")]
RomCenterVersion,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("rommode", "rom_mode")]
RomMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("romtitle", "rom_title")]
RomTitle,
/// <remarks>Used with ClrMamePro and Logiqx</remarks>
[Mapping("root", "rootdir", "root_dir", "rootdirectory", "root_directory")]
RootDir,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("samplemode", "sample_mode")]
SampleMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("screenshotheight", "screenshotsheight", "screenshot_height", "screenshots_height")]
ScreenshotsHeight,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("screenshotwidth", "screenshotswidth", "screenshot_width", "screenshots_width")]
ScreenshotsWidth,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with Logiqx, OfflineList, and RomCenter; "plugin" is used for RomCenter</remarks>
[Mapping("system", "plugin")]
System,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, Logiqx, and OfflineList</remarks>
[Mapping("dattype", "type", "superdat")]
Type,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, Logiqx, OfflineList, and RomCenter</remarks>
[Mapping("url")]
Url,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, DOSCenter, ListXML, Logiqx, OfflineList, and RomCenter</remarks>
[Mapping("version")]
Version,
}
2020-12-08 13:23:59 -08:00
2024-03-04 23:19:04 -05:00
#endregion
2021-02-03 10:09:40 -08:00
#region Logging
/// <summary>
/// Severity of the logging statement
/// </summary>
public enum LogLevel
{
2023-04-20 10:34:37 -04:00
[Mapping("verbose")]
2021-02-03 10:09:40 -08:00
VERBOSE = 0,
2023-04-20 10:34:37 -04:00
[Mapping("user")]
2021-02-03 10:09:40 -08:00
USER,
2023-04-20 10:34:37 -04:00
[Mapping("warning")]
2021-02-03 10:09:40 -08:00
WARNING,
2023-04-20 10:34:37 -04:00
[Mapping("error")]
2021-02-03 10:09:40 -08:00
ERROR,
}
#endregion
2020-08-01 22:13:56 -07:00
}