]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Introduction-to-QuakeC.md
fix table
[xonotic/xonotic.wiki.git] / Introduction-to-QuakeC.md
index 2dea2c590c3f7f64f6c62ca7701027f8ed77d826..684a2cdb81971bf9875f16a7ac51587d60ed6ab9 100644 (file)
@@ -276,6 +276,7 @@ string strcat(string a, string b, ...) = #115;
 The function/field syntax is ambiguous. In global scope a declaration can be a variable, field or function. In local scope, it's always a variable. The `var` keyword can be used in global scope to treat is as local scope (always declaring a variable). The following table shows declarations in global scope:
 
 | Example code | Meaning |
+|--------------|---------|
 | `.float a;` | Entity field of type `float` |
 | `float(float x1) a;` or `float a(float x1);` | Function with a `float` param returning `float` |
 | `.float a(float x1);` | Function with a float param returning a `float` field reference |