Porytiles
Loading...
Searching...
No Matches
config_provider.cpp
Go to the documentation of this file.
2
3/*
4 * NOTE: DO NOT EDIT THIS FILE DIRECTLY. It is AUTO-GENERATED from config_schema.yaml.
5 * To add new config values or make other changes, edit config_schema.yaml and regenerate via:
6 *
7 * uv run scripts/generate_config.py
8 */
9
10namespace porytiles {
11
12LayerValue<std::size_t> ConfigProvider::num_tiles_in_primary([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
13{
15}
16
17LayerValue<std::size_t> ConfigProvider::num_tiles_total([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
18{
20}
21
22LayerValue<std::size_t> ConfigProvider::num_metatiles_in_primary([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
23{
25}
26
27LayerValue<std::size_t> ConfigProvider::num_metatiles_total([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
28{
30}
31
32LayerValue<std::size_t> ConfigProvider::num_pals_in_primary([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
33{
35}
36
37LayerValue<std::size_t> ConfigProvider::num_pals_total([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
38{
40}
41
42LayerValue<std::size_t> ConfigProvider::max_map_data_size([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
43{
45}
46
47LayerValue<std::size_t> ConfigProvider::num_tiles_per_metatile([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
48{
50}
51
52LayerValue<Rgba32> ConfigProvider::extrinsic_transparency([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
53{
55}
56
57LayerValue<ArtifactEditMode> ConfigProvider::tiles_edit_mode([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
58{
60}
61
62LayerValue<ArtifactEditMode> ConfigProvider::pals_edit_mode([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
63{
65}
66
67LayerValue<bool> ConfigProvider::pal_hints_enabled([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
68{
70}
71
72LayerValue<std::vector<PaletteHint>> ConfigProvider::pal_hints([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
73{
75}
76
77LayerValue<PackingStrategyType> ConfigProvider::packing_strategy([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
78{
80}
81
82LayerValue<PackingStrategyParams> ConfigProvider::packing_strategy_params([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
83{
85}
86
87LayerValue<TileSharingPacking> ConfigProvider::tile_sharing_packing([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
88{
90}
91
92LayerValue<TileSharingAlignment> ConfigProvider::tile_sharing_alignment([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
93{
95}
96
97LayerValue<TilesPalMode> ConfigProvider::tiles_pal_mode([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
98{
100}
101
102LayerValue<AnimPalResolutionStrategy> ConfigProvider::global_anim_pal_resolution_strategy([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
103{
105}
106
108{
110}
111
113{
115}
116
117LayerValue<FrameLinking> ConfigProvider::global_frame_linking([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
118{
120}
121
122LayerValue<PerAnimOverrides> ConfigProvider::per_anim_overrides([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
123{
125}
126
127LayerValue<bool> ConfigProvider::cross_tileset_anim_linking([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
128{
130}
131
132LayerValue<bool> ConfigProvider::verify_checksums([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
133{
135}
136
137LayerValue<PrimaryPairingMode> ConfigProvider::primary_pairing_mode([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
138{
140}
141
142LayerValue<std::vector<std::string>> ConfigProvider::primary_pairing_partners([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
143{
145}
146
147LayerValue<std::vector<std::string>> ConfigProvider::diagnostic_warnings_exclude([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
148{
150}
151
152LayerValue<std::vector<std::string>> ConfigProvider::diagnostic_warnings_include([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
153{
155}
156
157LayerValue<std::vector<std::string>> ConfigProvider::diagnostic_remarks_exclude([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
158{
160}
161
162LayerValue<std::vector<std::string>> ConfigProvider::diagnostic_remarks_include([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
163{
165}
166
167LayerValue<std::string> ConfigProvider::tileset_paths_primary_src([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
168{
170}
171
172LayerValue<std::string> ConfigProvider::tileset_paths_primary_bin([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
173{
175}
176
177LayerValue<std::string> ConfigProvider::tileset_paths_secondary_src([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
178{
180}
181
182LayerValue<std::string> ConfigProvider::tileset_paths_secondary_bin([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
183{
185}
186
187LayerValue<std::size_t> ConfigProvider::metatile_attr_size([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
188{
190}
191
192LayerValue<bool> ConfigProvider::tileset_animations_wire_anim_code([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
193{
195}
196
197} // namespace porytiles
virtual LayerValue< ArtifactEditMode > pals_edit_mode(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< PerAnimOverrides > per_anim_overrides(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< PaletteHint > > pal_hints(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< std::string > > primary_pairing_partners(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< Rgba32 > extrinsic_transparency(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< TileSharingPacking > tile_sharing_packing(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< PackingStrategyParams > packing_strategy_params(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< AnimPalResolutionStrategy > global_anim_pal_resolution_strategy(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > metatile_attr_size(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< TilesPalMode > tiles_pal_mode(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< ArtifactEditMode > tiles_edit_mode(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > max_map_data_size(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > pal_hints_enabled(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > verify_checksums(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< FrameLinking > global_frame_linking(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< TileSharingAlignment > tile_sharing_alignment(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_metatiles_in_primary(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< PrimaryPairingMode > primary_pairing_mode(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::string > tileset_paths_secondary_bin(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< PackingStrategyType > packing_strategy(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< AnimKeyFrameResolutionStrategy > global_anim_key_frame_resolution_strategy(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< std::string > > diagnostic_warnings_exclude(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_tiles_total(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< std::string > > diagnostic_remarks_include(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::string > tileset_paths_primary_src(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< std::string > > diagnostic_remarks_exclude(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::string > tileset_paths_secondary_src(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_pals_total(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::string > tileset_paths_primary_bin(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::vector< std::string > > diagnostic_warnings_include(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_pals_in_primary(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > cross_tileset_anim_linking(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_metatiles_total(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_tiles_per_metatile(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_tiles_in_primary(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< AnimMultiPalSubtileResolutionStrategy > global_anim_multi_pal_subtile_resolution_strategy(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > tileset_animations_wire_anim_code(ConfigScopeType type, const std::string &scope) const
ConfigScopeType
Specifies the scope type for configuration value lookups.
A small container that holds an optional-wrapped value, validation state, and metadata about the valu...
static LayerValue not_provided()
Creates a LayerValue representing that the provider does not supply this configuration.