From 10db1cf59449871cee4da258c7d1288590693719 Mon Sep 17 00:00:00 2001 From: codeimp Date: Thu, 29 May 2008 10:18:03 +0000 Subject: [PATCH] oh wait, this file too! --- Documents/fielddatatypes.txt | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documents/fielddatatypes.txt diff --git a/Documents/fielddatatypes.txt b/Documents/fielddatatypes.txt new file mode 100644 index 00000000..53d0f2a0 --- /dev/null +++ b/Documents/fielddatatypes.txt @@ -0,0 +1,47 @@ + +Doom Builder has editing features for different data types of +UDMF fields and standard hexen arguments. This is a list of +all supported data types: + +0 = integer * +1 = float +2 = string +3 = bool +4 = linedeftype (integer) * +5 = sectoreffect (integer) * +6 = texture (string) +7 = flat (string) +8 = angle in degrees (integer) +9 = angle in radians (float) +10 = XXRRGGBB color (integer) +11 = enum option (integer) * +12 = enum bits (integer) * +13 = sector tag (integer) * +14 = thing tag (integer) * +15 = linedef tag (integer) * +16 = enum option (string) + +- Only types indicates with * are usable for standard hexen args +- When no type is specified, the default type is 0 (integer) + +For types 11, 12 and 16 there must be an "enum" field that +either specifies the values or refers to an existing enum set: + + enum + { + 0 = "Yes"; + 1 = "No"; + } + + OR + + enum = "yesno"; + +Type 16 uses case-sensitive strings for value and can only be +used as an option, not as bit flags: + + enum + { + translucent = "Translucent"; + add = "Add"; + }