Wrote a quick draft for QuakeC Menu coding

This commit is contained in:
Robin Redeker 2002-03-16 00:00:14 +00:00
parent 3ad92d30d5
commit 2bf1182d19

27
doc/QCMenuCondingStyle Normal file
View file

@ -0,0 +1,27 @@
QuakeC Menu Coding Style
~~~~~~~~~~~~~~~~~~~~~~~~
(by elmex <Robin Redeker>)
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 =
{
}