This shows you the differences between two versions of the page.
— | modding:resource_uris [2014-12-03 09:57] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | URI stands for " | ||
+ | |||
+ | |||
+ | ====== Syntax ====== | ||
+ | |||
+ | |||
+ | {{Optional|{{Identifier|scheme}}: | ||
+ | |||
+ | Depending on the usage context, it is not always necessary to declare a scheme. Often the scheme is implicitly defined by the **type** of resource being referenced and can be omitted. Sometimes however a scheme is necessary in order to unambiguously reference a resource (for example, two textures with the same name in different namespaces). | ||
+ | |||
+ | |||
+ | ====== Schemes ====== | ||
+ | |||
+ | |||
+ | Doomsday presently defines the following resource schemes: | ||
+ | |||
+ | | ===== Resource classes ===== * Defs * Flats * Fonts * Graphics | ||
+ | | ===== Font namespaces ===== * Game * System| ===== Material namespaces ===== * Flats * Sprites | ||
+ | |||
+ | |||
+ | |||
+ | ====== Examples ====== | ||
+ | |||
+ | fonts: | ||
+ | flats: | ||
+ | textures: | ||
+ | |||
+ | |||
+ | < | ||
+ | lumps: | ||
+ | lumpdir:004 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== See also ====== | ||
+ | |||
+ | * [[internal_file_system]] | ||
+ | |||
+ | |||