assets/_index.toml

38 lines
727 B
TOML
Raw Normal View History

2023-12-24 16:26:20 -08:00
# TODO: proper documentation
# These are paths to subdirectories,
# each should contain another _index.toml.
#
# textures defined in subindices get a prefix,
# currently "{path}::"
#
# TODO: rename "texture" to "sprite"
# TODO: check all failure modes
# - this should always be a relative path
# - should we allow slashes?
# - error if there is no _index?
# - set different prefix?
2023-12-24 16:18:46 -08:00
include = ["planet", "star"]
2023-12-24 16:26:20 -08:00
# Only the root _index.toml may contain config.
2023-12-24 16:18:46 -08:00
[config]
error = "error"
starfield = "starfield"
[[texture]]
name = "error"
path = "error.png"
[[texture]]
name = "starfield"
path = "starfield.png"
[[texture]]
name = "ship::gypsum"
path = "gypsum.png"
[[texture]]
name = "ship::dolomite"
path = "dolomite.png"