User Tools

Site Tools


ded:flag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ded:flag [2017-03-16 07:27] skyjakeded: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 = "UltimateAnswer";
 +    Value = 42;
 +    Info = "The meaning of life";
 +  }
 +
 +===== See also =====
 +
 +  * [[flags_reference|DED flags reference]]