diff --git a/doc/QCMenuCondingStyle b/doc/QCMenuCondingStyle new file mode 100644 index 000000000..3dc1e1d4d --- /dev/null +++ b/doc/QCMenuCondingStyle @@ -0,0 +1,27 @@ +QuakeC Menu Coding Style +~~~~~~~~~~~~~~~~~~~~~~~~ +(by elmex ) + +For QuakeC you should use the normal coding style, which is +describes in the file "CodingStyle" in doc/ + +But you may use not the same prefixes. + +Use these prefixes where it makes sense: +CB_ Input callback +MENU_ Menu making function +DRAW_ Draw callback + + +Comment functions like this: +/* + [PREFIX_]FunctionName + + Description +*/ +returntype (args) +[PREFIX_]FunctionName = +{ + + +}