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: check all failure modes
|
|
|
|
# - this should always be a relative path
|
|
|
|
# - should we allow slashes?
|
|
|
|
# - error if there is no _index?
|
2023-12-24 16:18:46 -08:00
|
|
|
|
2023-12-25 08:16:54 -08:00
|
|
|
# include."path" = "label"
|
|
|
|
include."planet" = "planet"
|
|
|
|
include."star" = "star"
|
2023-12-26 11:27:30 -08:00
|
|
|
include."ship" = "ship"
|
|
|
|
include."effect" = "effect"
|
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"
|