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 revision Previous revision
ded:flag [2017-03-16 09:28]
skyjake [Syntax]
ded:flag [2017-03-20 20:01] (current)
skyjake [Examples]
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]]
  
ded/flag.txt ยท Last modified: 2017-03-20 20:01 by skyjake