Commit Graph

14 Commits

Author SHA1 Message Date
Matt Nadareski
f4f11efa66 Make all DatItems handle being a sub item gracefully 2020-09-30 13:41:02 -07:00
Matt Nadareski
7fc49203f4 Sub items should not check types 2020-09-30 13:25:40 -07:00
Matt Nadareski
7f6507cffb Move easy filters so Machine can use them 2020-09-08 12:54:41 -07:00
Matt Nadareski
d8835920a7 Reduce DatItem boilerplate 2020-09-08 10:56:37 -07:00
Matt Nadareski
f0afe33dd7 Combine some tags 2020-09-08 10:12:41 -07:00
Matt Nadareski
60818dba00 Make items XML serializable 2020-09-07 22:00:02 -07:00
Matt Nadareski
10de9f3430 All AttractMode fields are Rom-only 2020-09-03 13:01:33 -07:00
Matt Nadareski
40384a0dd6 All OpenMSX fields are Rom-only
This is one of the single largest reductions in boilerplate items because of the nature of the change. Unfortunately, a lot of cases won't see *too* much improvement since most DatFiles use Rom heavily.
2020-09-03 12:17:36 -07:00
Matt Nadareski
da62c8b893 LoadFlag is Rom-only 2020-09-03 12:06:54 -07:00
Matt Nadareski
6f72416947 Value is only part of certain items
This is yet another boilerplate reduction AS WELL AS a reduction for unnecessary field names (mostly due to my misunderstanding of my own implementation)
2020-09-03 11:48:30 -07:00
Matt Nadareski
47c2c1d227 Part is only part of DipSwitch, Disk, and Rom 2020-09-03 11:19:06 -07:00
Matt Nadareski
d727385fb8 Create and use DiskArea/DataArea
This has the added benefit of clearing out a lot of boilerplate for new DatItem types, since DiskArea only pertains to the Disk type and DataArea only pertains to the Rom type
2020-09-03 11:02:06 -07:00
Matt Nadareski
007510cc0f Promote Device 2020-09-02 17:09:19 -07:00
Matt Nadareski
0d80e30bba Promote Instance early 2020-09-02 16:46:17 -07:00