- GenericOptionTools<BuildBitDepth> utilBuildBitDepth {
- bool OptionCheck(ProjectOptions options, int option) {
- BuildBitDepth value = *(BuildBitDepth*)((byte *)options + option);
- return value && value != all;
- }
- void LoadOption(ProjectOptions options, int option, int priority, Array<Array<String>> optionTempStrings, ProjectOptions output) {
- BuildBitDepth value = options ? *(BuildBitDepth*)((byte *)options + option) : (BuildBitDepth)0;
- *(BuildBitDepth*)((byte *)output + option) = value;
- }
- };