Porytiles
Loading...
Searching...
No Matches
config_provider.cpp
Go to the documentation of this file.
2
3// NOTE: DO NOT EDIT THIS FILE DIRECTLY. It is AUTO-GENERATED from config_schema.yaml.
4// To add new config values or make other changes, edit config_schema.yaml and regenerate via:
5//
6// uv run scripts/generate_config.py
7
8namespace porytiles {
9
11 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
12{
14}
15
17ConfigProvider::num_tiles_total([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
18{
20}
21
23 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
24{
26}
27
29 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
30{
32}
33
35 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
36{
38}
39
41 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
42{
44}
45
47 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
48{
50}
51
53 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
54{
56}
57
59 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
60{
62}
63
65 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
66{
68}
69
71ConfigProvider::tiles_edit_mode([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
72{
74}
75
77 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
78{
80}
81
83 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
84{
86}
87
89ConfigProvider::palette_hints([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
90{
92}
93
95ConfigProvider::packing_strategy([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
96{
98}
99
101 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
102{
104}
105
107 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
108{
110}
111
113 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
114{
116}
117
119 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
120{
122}
123
125 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
126{
128}
129
131 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
132{
134}
135
138 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
139{
141}
142
144 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
145{
147}
148
150 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
151{
153}
154
156 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
157{
159}
160
162ConfigProvider::verify_checksums([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
163{
165}
166
168 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
169{
171}
172
174 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
175{
177}
178
180 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
181{
183}
184
186 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
187{
189}
190
192 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
193{
195}
196
198 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
199{
201}
202
204 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
205{
207}
208
210 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
211{
213}
214
216 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
217{
219}
220
222 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
223{
225}
226
228 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
229{
231}
232
234 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
235{
237}
238
240 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
241{
243}
244
246 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
247{
249}
250
252ConfigProvider::role_pins([[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
253{
255}
256
258 [[maybe_unused]] ConfigScopeType type, [[maybe_unused]] const std::string &scope) const
259{
261}
262
263} // namespace porytiles
virtual LayerValue< std::vector< PaletteHint > > palette_hints(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< PerAnimOverrides > per_anim_overrides(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< TilesPaletteMode > tiles_palette_mode(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< std::optional< std::size_t > > metatile_attribute_declaration_size(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< ArtifactEditMode > palettes_edit_mode(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > ignore_triple_layer_content(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 > 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< std::size_t > num_palettes_in_primary(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< AnimPaletteResolutionStrategy > global_anim_palette_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< MetatileAttributeFieldDefinitions > metatile_attribute_fields(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::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< MetatileAttributeFieldOverrides > metatile_attribute_field_overrides(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::optional< std::size_t > > metatile_attribute_size(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > palette_hints_enabled(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< RolePinDefinitions > role_pins(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< bool > tileset_animations_wire_anim_code(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< AnimMultiPaletteSubtileResolutionStrategy > global_anim_multi_palette_subtile_resolution_strategy(ConfigScopeType type, const std::string &scope) const
virtual LayerValue< std::size_t > num_palettes_total(ConfigScopeType type, const std::string &scope) const
@ not_provided
nothing attribute-related was found; other providers should be consulted
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.