10const std::string source_info =
"default value";
18 return "DefaultProvider";
22 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
34 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
40 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
46 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
52 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
58 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
64 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
70 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
76 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
88 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
94 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
106 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
112 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
118 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
124 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
130 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
136 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
140 "Global Animation Palette Resolution Strategy",
145 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
153 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
157 "Global Animation Multi-Palette Subtile Resolution Strategy",
162 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
168 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
174 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
180 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
186 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
192 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
195 std::vector<std::string>{},
"Primary Pairing Partners", source_info);
199 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
202 std::vector<std::string>{},
"Diagnostic Warnings Exclude", source_info);
206 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
209 std::vector<std::string>{},
"Diagnostic Warnings Include", source_info);
213 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
216 std::vector<std::string>{},
"Diagnostic Remarks Exclude", source_info);
220 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
223 std::vector<std::string>{},
"Diagnostic Remarks Include", source_info);
227 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
233 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
239 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
245 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
251 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
257 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
260 std::nullopt,
"Metatile Attribute Declaration Size", source_info);
264 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
271 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
284 [[maybe_unused]]
ConfigScopeType type, [[maybe_unused]]
const std::string &scope)
const
LayerValue< MetatileAttributeFieldOverrides > metatile_attribute_field_overrides(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::optional< std::size_t > > metatile_attribute_size(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_palettes_total(ConfigScopeType type, const std::string &scope) const override
LayerValue< bool > tileset_animations_wire_anim_code(ConfigScopeType type, const std::string &scope) const override
LayerValue< MetatileAttributeFieldDefinitions > metatile_attribute_fields(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< std::string > > diagnostic_warnings_include(ConfigScopeType type, const std::string &scope) const override
LayerValue< AnimPaletteResolutionStrategy > global_anim_palette_resolution_strategy(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_metatiles_total(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_tiles_per_metatile(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< std::string > > diagnostic_remarks_exclude(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_metatiles_in_primary(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::string > tileset_paths_secondary_src(ConfigScopeType type, const std::string &scope) const override
LayerValue< PrimaryPairingMode > primary_pairing_mode(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::string > tileset_paths_primary_bin(ConfigScopeType type, const std::string &scope) const override
LayerValue< FrameLinking > global_frame_linking(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_tiles_in_primary(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > max_map_data_size(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< PaletteHint > > palette_hints(ConfigScopeType type, const std::string &scope) const override
LayerValue< TileSharingPacking > tile_sharing_packing(ConfigScopeType type, const std::string &scope) const override
LayerValue< AnimMultiPaletteSubtileResolutionStrategy > global_anim_multi_palette_subtile_resolution_strategy(ConfigScopeType type, const std::string &scope) const override
LayerValue< Rgba32 > extrinsic_transparency(ConfigScopeType type, const std::string &scope) const override
LayerValue< PerAnimOverrides > per_anim_overrides(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< std::string > > diagnostic_warnings_exclude(ConfigScopeType type, const std::string &scope) const override
LayerValue< bool > ignore_triple_layer_content(ConfigScopeType type, const std::string &scope) const override
LayerValue< PackingStrategyType > packing_strategy(ConfigScopeType type, const std::string &scope) const override
LayerValue< RolePinDefinitions > role_pins(ConfigScopeType type, const std::string &scope) const override
LayerValue< TileSharingAlignment > tile_sharing_alignment(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_palettes_in_primary(ConfigScopeType type, const std::string &scope) const override
LayerValue< ArtifactEditMode > tiles_edit_mode(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::size_t > num_tiles_total(ConfigScopeType type, const std::string &scope) const override
LayerValue< AnimKeyFrameResolutionStrategy > global_anim_key_frame_resolution_strategy(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< std::string > > primary_pairing_partners(ConfigScopeType type, const std::string &scope) const override
LayerValue< bool > palette_hints_enabled(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::string > tileset_paths_primary_src(ConfigScopeType type, const std::string &scope) const override
LayerValue< PackingStrategyParams > packing_strategy_params(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::optional< std::size_t > > metatile_attribute_declaration_size(ConfigScopeType type, const std::string &scope) const override
LayerValue< bool > cross_tileset_anim_linking(ConfigScopeType type, const std::string &scope) const override
std::string name() const override
Gets the name of this config layer.
LayerValue< bool > verify_checksums(ConfigScopeType type, const std::string &scope) const override
LayerValue< ArtifactEditMode > palettes_edit_mode(ConfigScopeType type, const std::string &scope) const override
LayerValue< TilesPaletteMode > tiles_palette_mode(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::vector< std::string > > diagnostic_remarks_include(ConfigScopeType type, const std::string &scope) const override
LayerValue< std::string > tileset_paths_secondary_bin(ConfigScopeType type, const std::string &scope) const override
@ automatic
Scan layout metadata to find the partner primary automatically.
std::map< std::string, MetatileAttributeFieldOverride > MetatileAttributeFieldOverrides
A map from field name to its override; applied at schema load time.
std::vector< RolePinDefinition > RolePinDefinitions
An ordered list of role pin definitions; order is display/declaration order (also CSV column order).
constexpr Rgba32 rgba_magenta
@ off
Pure sequential fill with no sharing alignment (default).
std::vector< MetatileAttributeFieldDefinition > MetatileAttributeFieldDefinitions
An ordered list of metatile attribute field definitions; order is display/declaration order.
@ true_color
Render tiles with true colors from the palette.
@ optimize
The Porytiles1 behavior; artifact is cleared and packed optimally.
@ scan_local_metatiles
Scan local tileset metatile entries to find palette references for the animation tiles.
std::unordered_map< std::string, PerAnimOverride > PerAnimOverrides
Per-animation configuration map.
@ off
Packing ignores shape group membership (default).
@ valid
one or more usable candidate sets were inferred
@ error
Emit a formatted error and fail decompilation.
@ automatic
Use key.png for frame linking.
ConfigScopeType
Specifies the scope type for configuration value lookups.
@ error
Emit a formatted error and fail decompilation.
@ backtracking
DFS/BFS backtracking search (default).
A small container that holds an optional-wrapped value, validation state, and metadata about the valu...
static LayerValue valid(T val, std::string source_key, std::string source_info)
Creates a LayerValue representing a valid configuration value.
Container for per-strategy packing parameters.