Matt Nadareski
208de0282b
Fix SpamSum hashing
2020-09-17 23:37:42 -07:00
Matt Nadareski
044d70da6e
Consolidate some of the throws
2020-09-15 17:09:35 -07:00
Matt Nadareski
91f659dca2
Add and use ThrowOnError global (temp)
2020-09-15 12:12:13 -07:00
Matt Nadareski
d7f263e824
Simplify machine name filter
2020-09-08 12:59:08 -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
f679aa46b9
Fix unnecessary serialization
2020-09-07 22:33:48 -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
d70415b989
Add some XML serialization attributes
2020-09-07 14:47:27 -07:00
Matt Nadareski
419e8762ff
Fix SpamSum reading issue
2020-09-07 13:41:08 -07:00
Matt Nadareski
1494e0693f
Mandatory is technically numeric
2020-09-07 12:34:18 -07:00
Matt Nadareski
712f98fa32
Add and use DeviceType
2020-09-07 00:39:59 -07:00
Matt Nadareski
4538bc3932
Location number is numeric
2020-09-06 23:08:50 -07:00
Matt Nadareski
5d5520dbdd
Add ControlType, fix a bunch of numerics
2020-09-06 23:00:13 -07:00
Matt Nadareski
aa414bc3cd
Copy-paste error
2020-09-05 23:17:24 -07:00
Matt Nadareski
3257908b23
Typos and such
2020-09-05 23:15:48 -07:00
Matt Nadareski
9fd8a48874
Convert Rom size field to long?
2020-09-04 23:03:27 -07:00
Matt Nadareski
4146972afe
Add per-machine filtering to Batch
2020-09-04 20:57:30 -07:00
Matt Nadareski
e2d0dc26b9
Add machine-level filter comment
2020-09-04 16:29:48 -07:00
Matt Nadareski
5f749d07a4
Add and use SpamSum for Media and Rom types
...
SpamSum implementation courtesy of https://github.com/aaru-dps/Aaru
2020-09-04 15:02:15 -07:00
Matt Nadareski
40ca4e39a5
Promote DataArea, DiskArea, and Part
2020-09-04 14:10:35 -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
f98ffe94b1
Chip clock to long?
2020-09-04 11:20:54 -07:00
Matt Nadareski
ef414dd48b
Display referesh to double?
2020-09-04 11:04:58 -07:00
Matt Nadareski
762f8dda27
All display blanking fields to long?
2020-09-04 10:57:30 -07:00
Matt Nadareski
319913a288
Display pixclock to long?
2020-09-04 10:50:08 -07:00
Matt Nadareski
de656f003a
Display width and height to long?
2020-09-04 10:39:37 -07:00
Matt Nadareski
120dcd6c4a
DataArea width to long?
2020-09-04 10:32:43 -07:00
Matt Nadareski
7f8766b0a4
Change display rotation to long?
2020-09-04 10:28:25 -07:00
Matt Nadareski
b7dbe728a3
Make helpers for filter population
...
This is another boilerplate reduction for new filters based on new fields. All but enum types are no a single method call for setting, including long and long? values that used to take up like 20 lines apiece. This should reduce the amount of possible issues in setting up the filters.
2020-09-03 23:27:05 -07:00
Matt Nadareski
9c38fd82aa
Sound.Channels as a number
2020-09-03 22:35:09 -07:00
Matt Nadareski
d204f8eb1f
Input players and coins to numbers
2020-09-03 22:28:48 -07:00
Matt Nadareski
33908e4e72
Add and use Relation enum
2020-09-03 21:59:53 -07:00
Matt Nadareski
ad0e5a7f0f
Add and use Endianness enum
2020-09-03 21:39:16 -07:00
Matt Nadareski
c7f0fbbb65
Create and use DisplayType, LoadFlag enums
2020-09-03 21:32:00 -07:00
Matt Nadareski
45fb1ebfe7
Fix everything with subitems
2020-09-03 15:02:59 -07:00
Matt Nadareski
57b3521582
Field enum cleanup, part 1
2020-09-03 14:22:15 -07:00
Matt Nadareski
5d01d4ab51
Cleanup usings, promote PartFeature
2020-09-03 13:20:56 -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
e3bfec93d4
Rename a class and add a note
2020-09-03 09:57:16 -07:00
Matt Nadareski
8a2e840a83
Promote SharedFeature
2020-09-03 00:48:07 -07:00
Matt Nadareski
995871174d
Promote Info
2020-09-02 23:31:35 -07:00
Matt Nadareski
dfa56a240b
Promote Control
2020-09-02 23:02:06 -07:00