From 76aebed81b0f63f26668a0d19b371a074a62b5ad Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 10 Aug 2014 19:55:51 +0200 Subject: [PATCH] Added rule to name variables m_*/g_*/s_* to CODINGSTYLE, should make naming conflicts less likely and make -Wshadow more useful --- CODINGSTYLE | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.11.0