projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4d375
)
Added rule to name variables m_*/g_*/s_* to CODINGSTYLE, should make naming conflicts...
author
Ingo Ruhnke
<grumbel@gmail.com>
Sun, 10 Aug 2014 17:55:51 +0000
(19:55 +0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Sun, 10 Aug 2014 17:55:51 +0000
(19:55 +0200)
CODINGSTYLE
patch
|
blob
|
history
diff --git
a/CODINGSTYLE
b/CODINGSTYLE
index
5c8ff32
..
338ffdc
100644
(file)
--- a/
CODINGSTYLE
+++ b/
CODINGSTYLE
@@
-1,6
+1,9
@@
SuperTux Coding Standards
=========================
+* start member variable name with "m_", global variables with "g_" and
+ static variables with "s_"
+
* proper separation between generic engine code and game specific code
should be done whenever feasible