projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://code.google.com/p/supertux
[supertux.git]
/
CODINGSTYLE
diff --git
a/CODINGSTYLE
b/CODINGSTYLE
index
5c8ff32
..
a7fd5ee
100644
(file)
--- a/
CODINGSTYLE
+++ b/
CODINGSTYLE
@@
-1,6
+1,11
@@
SuperTux Coding Standards
=========================
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
* proper separation between generic engine code and game specific code
should be done whenever feasible
@@
-45,6
+50,8
@@
SuperTux Coding Standards
do not use /**< and other styles of comments
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
* more info on good practices can be found at:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml