X-Git-Url: https://git.octo.it/?p=supertux.git;a=blobdiff_plain;f=CODINGSTYLE;h=a7fd5eeeea1ab359a92b982dd7a99a4b34ddf601;hp=338ffdc3e128b90adf9da606461b0cec5a1212c6;hb=HEAD;hpb=76aebed81b0f63f26668a0d19b371a074a62b5ad diff --git a/CODINGSTYLE b/CODINGSTYLE index 338ffdc3e..a7fd5eeee 100644 --- a/CODINGSTYLE +++ b/CODINGSTYLE @@ -4,6 +4,8 @@ SuperTux Coding Standards * start member variable name with "m_", global variables with "g_" and static variables with "s_" +* avoid spaces at the end of lines + * proper separation between generic engine code and game specific code should be done whenever feasible @@ -48,6 +50,8 @@ SuperTux Coding Standards do not use /**< and other styles of comments +* write regular comments with //, not with /* */ + * more info on good practices can be found at: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml