Optimize vehicle impact code by only calling vlen() if damage would be taken
[xonotic/xonotic-data.pk3dir.git] / qcsrc / Doxyfile
index d0379e4..06ee746 100644 (file)
@@ -1997,14 +1997,17 @@ INCLUDE_FILE_PATTERNS  =
 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
 
 PREDEFINED             = \
+    "XONOTIC" \
     "USING(name, T)=using name = T" \
     "CLASS(name, base)=class name : public base { public:" \
+    "INIT(class)=class::class()" \
     "CONSTRUCTOR(class)=class::class(" \
     "DESTRUCTOR(class)=class::~class()" \
-    "ATTRIB(class, name, T, val)=T name = val;" \
-    "ATTRIB_STRZONE(class, name, T, val)=T name = val;" \
-    "STATIC_ATTRIB(class, name, T, val)=static T name = val;" \
-    "STATIC_ATTRIB_STRZONE(class, name, T, val)=static T name = val;" \
+    "ATTRIB(class, name, T, val)=T name = val" \
+    "ATTRIB_STRZONE(class, name, T, val)=T name = val" \
+    "ATTRIBARRAY(class, name, T, val)=T name[val]" \
+    "STATIC_ATTRIB(class, name, T, val)=static T name = val" \
+    "STATIC_ATTRIB_STRZONE(class, name, T, val)=static T name = val" \
     "METHOD(class, name, prototype)=virtual void class::name()" \
     "ENDCLASS(class)=};" \
     __STDC__
@@ -2019,8 +2022,7 @@ PREDEFINED             = \
 EXPAND_AS_DEFINED      = \
     USING \
     CLASS \
-    CONSTRUCTOR \
-    DESTRUCTOR \
+    INIT CONSTRUCTOR DESTRUCTOR \
     ATTRIB ATTRIB_STRZONE \
     STATIC_ATTRIB STATIC_ATTRIB_STRZONE \
     METHOD \