Commit Graph

12 Commits

Author SHA1 Message Date
Matt Nadareski
f0afe33dd7 Combine some tags 2020-09-08 10:12:41 -07:00
Matt Nadareski
ccb73f9c39 Fix Control serialization 2020-09-07 22:19:37 -07:00
Matt Nadareski
60818dba00 Make items XML serializable 2020-09-07 22:00:02 -07:00
Matt Nadareski
5d5520dbdd Add ControlType, fix a bunch of numerics 2020-09-06 23:00:13 -07:00
Matt Nadareski
a416064bc0 Control types to long?
Interesting note that I left in the code as well, but `regbuttons` doesn't appear to be used AT ALL in the latest ListXML output. I'm not sure what its original use was or anything, so I'm leaving it as `string` for now. Note that the `ways*` values are all string with no TODO. This is because there is the possibility of "vertical*" being a valid input which would be nuked if I went to long? only.
2020-09-04 11:46:17 -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
dfa56a240b Promote Control 2020-09-02 23:02:06 -07:00