From: Ingo Ruhnke Date: Sun, 10 Aug 2014 17:55:51 +0000 (+0200) Subject: Added rule to name variables m_*/g_*/s_* to CODINGSTYLE, should make naming conflicts... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=76aebed81b0f63f26668a0d19b371a074a62b5ad;p=supertux.git Added rule to name variables m_*/g_*/s_* to CODINGSTYLE, should make naming conflicts less likely and make -Wshadow more useful --- diff --git a/CODINGSTYLE b/CODINGSTYLE index 5c8ff3266..338ffdc3e 100644 --- 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