X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.ini.example;h=42aec66e880091daed8fe0843021795de436cb4c;hp=d171e959e8c001cefed6410f0a486f591b24ca53;hb=00d1d237bc51232a52a66aca982f9ab1c950d974;hpb=2637f6f82455e4127526e725e4c16a081ead45f4 diff --git a/gmqcc.ini.example b/gmqcc.ini.example index d171e95..42aec66 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -99,6 +99,19 @@ # variables with the name 'nil' to be declared. PREMISSIVE = false + # Allow vararg access from within QC of the form: ...(argnumber, type) + VARIADIC_ARGS = true + + # Most Quake VMs, including the one from FTEQW or up till recently + # Darkplaces, do not cope well with vector instructions with overlapping + # input and output. This option will avoid producing such code. + LEGACY_VECTOR_MATHS = true + + # Builtin-numbers are usually just immediate constants. + # The following allows whole expressions to be used, as long as they + # are compile-time constant. + EXPRESSIONS_FOR_BUILTINS = false + # These are all the warnings, usually present via the -W prefix from # the command line. [warnings] @@ -125,7 +138,7 @@ MISSING_RETURN_VALUES = true # Enables warnings about missing parameters for function calls. - TOO_FEW_PARAMETERS = true + INVALID_PARAMETER_COUNT = true # Enables warnings about locals shadowing parameters or other locals. LOCAL_SHADOWS = true