quakeforge/doc/QCMenuCondingStyle
Robin Redeker adca50e52b Did further working on the menu code.
Added a _unfinished_ Player options-submenu, for setting
the name, top-/bottomcolor.
Added Draw_Fill and such to the progs api.
Added some comments.
2002-03-16 20:22:01 +00:00

27 lines
474 B
Text

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_ Menu_Item callback
MENU_ Menu making function
DRAW_ Draw
KEYEV_ Keyevent callback
Comment functions like this:
/*
[PREFIX_]FunctionName
Description
*/
returntype (args)
[PREFIX_]FunctionName =
{
}