namespace SabreTools.Data.Models.Metadata { /// /// Determine the blit type /// public enum Blit { /// "plain" Plain, /// "dirty" Dirty, } /// /// Determine the chip type /// public enum ChipType { /// "cpu" CPU, /// "audio" Audio, } /// /// Determine the control type /// public enum ControlType { /// "joy" Joy, /// "stick" Stick, /// "paddle" Paddle, /// "pedal" Pedal, /// "lightgun" Lightgun, /// "positional" Positional, /// "dial" Dial, /// "trackball" Trackball, /// "mouse" Mouse, /// "only_buttons" OnlyButtons, /// "keypad" Keypad, /// "keyboard" Keyboard, /// "mahjong" Mahjong, /// "hanafuda" Hanafuda, /// "gambling" Gambling, } /// /// Determine the device type /// public enum DeviceType { /// "unknown" Unknown, /// "cartridge" Cartridge, /// "floppydisk" FloppyDisk, /// "harddisk" HardDisk, /// "cylinder" Cylinder, /// "cassette" Cassette, /// "punchcard" PunchCard, /// "punchtape" PunchTape, /// "printout" Printout, /// "serial" Serial, /// "parallel" Parallel, /// "snapshot" Snapshot, /// "quickload" QuickLoad, /// "memcard" MemCard, /// "cdrom" CDROM, /// "magtape" MagTape, /// "romimage" ROMImage, /// "midiin" MIDIIn, /// "midiout" MIDIOut, /// "picture" Picture, /// "vidfile" VidFile, } /// /// Determine the display type /// public enum DisplayType { /// "raster" Raster, /// "vector" Vector, /// "lcd" LCD, /// "svg" SVG, /// "unknown" Unknown, } /// /// Determine the endianness /// public enum Endianness { /// "big" Big, /// "little" Little, } /// /// Determine the emulation status /// public enum FeatureStatus { /// "unemulated" Unemulated, /// "imperfect" Imperfect, } /// /// Determine the feature type /// public enum FeatureType { /// "protection" Protection, /// "palette" Palette, /// "graphics" Graphics, /// "sound" Sound, /// "controls" Controls, /// "keyboard" Keyboard, /// "mouse" Mouse, /// "microphone" Microphone, /// "camera" Camera, /// "disk" Disk, /// "printer" Printer, /// "lan" Lan, /// "wan" Wan, /// "timing" Timing, } /// /// Determine the status of the item /// public enum ItemStatus { /// "none", "no" None, /// "good" Good, /// "baddump" BadDump, /// "nodump", "yes" Nodump, /// "verified" Verified, /// "deduped", RomVault extensions Deduped, } /// /// Determine what type of file an item is /// public enum ItemType { /// /// This is a fake flag that is used for filter only /// NULL = 0, Adjuster, Archive, BiosSet, Chip, Configuration, ConfLocation, ConfSetting, Control, DataArea, Device, DeviceRef, DipLocation, DipSwitch, DipValue, Disk, DiskArea, Display, Driver, Dump, Feature, File, // TODO: This should be merged with Rom? Info, Input, Media, Original, Part, PartFeature, Port, RamOption, Release, ReleaseDetails, Rom, Sample, Serials, SharedFeat, Slot, SlotOption, SoftwareList, Sound, SourceDetails, Video, /// /// This is not a real type, only used internally /// Blank = int.MaxValue, } /// /// Determine the loadflag value /// public enum LoadFlag { /// "load16_byte" Load16Byte, /// "load16_word" Load16Word, /// "load16_word_swap" Load16WordSwap, /// "load32_byte" Load32Byte, /// "load32_word" Load32Word, /// "load32_word_swap" Load32WordSwap, /// "load32_dword" Load32DWord, /// "load64_word" Load64Word, /// "load64_word_swap" Load64WordSwap, /// "reload" Reload, /// "fill" Fill, /// "continue" Continue, /// "reload_plain" ReloadPlain, /// "ignore" Ignore, } /// /// Determines merging tag handling for DAT output /// public enum MergingFlag { /// "none" None = 0, /// "split" Split, /// "merged" Merged, /// "nonmerged", "unmerged" NonMerged, /// "fullmerged" /// This is not usually defined for Merging flags FullMerged, /// "device", "deviceunmerged", "devicenonmerged" /// This is not usually defined for Merging flags DeviceNonMerged, /// "full", "fullunmerged", "fullnonmerged" /// This is not usually defined for Merging flags FullNonMerged, } /// /// Determines nodump tag handling for DAT output /// public enum NodumpFlag { /// "none" None = 0, /// "obsolete" Obsolete, /// "required" Required, /// "ignore" Ignore, } /// /// Determine which OpenMSX subtype an item is /// public enum OpenMSXSubType { /// "rom" Rom, /// "megarom" MegaRom, /// "sccpluscart" SCCPlusCart, } /// /// Determines packing tag handling for DAT output /// public enum PackingFlag { /// "none" None = 0, /// /// Force all sets to be in archives, except disk and media /// /// "zip", "yes" Zip, /// /// Force all sets to be extracted into subfolders /// /// "unzip", "no" Unzip, /// /// Force sets with single items to be extracted to the parent folder /// /// "partial" Partial, /// /// Force all sets to be extracted to the parent folder /// /// "flat" Flat, /// /// Force all sets to have all archives treated as files /// /// "fileonly" FileOnly, } /// /// Determine relation of value to condition /// public enum Relation { /// "eq" Equal, /// "ne" NotEqual, /// "gt" GreaterThan, /// "le" LessThanOrEqual, /// "lt" LessThan, /// "ge" GreaterThanOrEqual, } /// /// Determine display rotation /// public enum Rotation { /// 0 North = 0, /// 90 East = 90, /// 180 South = 180, /// 270 West = 270, } /// /// Determine machine runnable status /// public enum Runnable { /// "no" No, /// "partial" Partial, /// "yes" Yes, } /// /// Determine software list status /// public enum SoftwareListStatus { /// "none" None, /// "original" Original, /// "compatible" Compatible, } /// /// Determine machine support status /// public enum Supported { /// "no", "unsupported" No, /// "partial" Partial, /// "yes", "supported" Yes, } /// /// Determine driver support statuses /// public enum SupportStatus { /// "good" Good, /// "imperfect" Imperfect, /// "preliminary" Preliminary, /// "test" Test, } /// /// Determine area width /// public enum Width { /// 8 Byte = 8, /// 16 Short = 16, /// 32 Int = 32, /// 64 Long = 64, } }