This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ded:flag [2017-03-16 07:28] – [Syntax] skyjake | ded:flag [2017-03-20 18:01] (current) – [Examples] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Flag ====== | ||
+ | |||
+ | General purpose flag definition. | ||
+ | |||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | Flag { | ||
+ | ID = ""; | ||
+ | Value = 0; | ||
+ | Info = ""; | ||
+ | } | ||
+ | | ||
+ | ==== ID ==== | ||
+ | |||
+ | Unique identifying name by which the flag will be known. | ||
+ | |||
+ | |||
+ | ==== Value ==== | ||
+ | |||
+ | **Unsigned** value (i.e., >= 0) associated with the flag. | ||
+ | |||
+ | |||
+ | ==== Info ==== | ||
+ | |||
+ | Short text string intended for describing the flag's purpose. (Doomsday ignores this). | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | Flag | ||
+ | { | ||
+ | ID = " | ||
+ | Value = 42; | ||
+ | Info = "The meaning of life"; | ||
+ | } | ||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * [[flags_reference|DED flags reference]] | ||