]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc/qcvm.1
manpage: -fvariadic-args
[xonotic/gmqcc.git] / doc / qcvm.1
index 857225f8e482a5aa6c19593f308780c1b7608d2e..de8633ffedff0e58c1088c1cc4a4c61f0a96cb8b 100644 (file)
@@ -47,7 +47,13 @@ This option disables execution.
 .TP
 .B "-printfuns"
 List functions and some information about their parameters.
-This option disables execution.
+This option disables execution. With a verbosity level of 1, builtin
+numbers are printed. With a verbosity of 2, the function's sizes are
+printed as well. This takes a little longer since the size is found by
+searching for a DONE instruction in the code.
+.TP
+.B "-v"
+Increase verbosity level, can be used multiple times.
 .TP
 .BI "-vector """ "x y z" """"
 Append a vector parameter to be passed to \fImain\fR.
@@ -117,6 +123,16 @@ Concatenate two strings, returning a tempstring.
 .in +8
 Compare two strings. Returns the same as the corresponding C functions.
 .in
+
+.RI "12) " vector " normalize (" vector ") = " "#12" ;
+.in +8
+Normalize a vector so its length is 1.
+.in
+
+.RI "13) " float " sqrt (" float ") = " "#13" ;
+.in +8
+Get a value's square root.
+.in
 .SH BUGS
 Please report bugs on <http://github.com/graphitemaster/gmqcc/issues>,
 or see <http://graphitemaster.github.com/gmqcc> on how to contact us.