1.) Variables are always written lowercase (thus it can be easily distinguished between Variables, Type and Methods/Functions.)
2.) Class member variables are written as 'm_varname' instead of 'mVarName' thus separating the member property of the variable and its name in a visual more clearly way and maintaining rule 1.)
3.) static Class member variables and global static variables are written as 's_varname'
4.) Method argument names are written lowercase too.
instead of writing rName we would write r_name and the same with pName -> p_name
but i don't think that we really need to use the r and p thingie.
if we want to be really pickie we could define global statics with gs_
and locals with ls_ and class statics with ms_ ... but i think using s_ for all of them should be fine.
That's the style I've been using for some time now.
Oh. almost forgot to mention. remove those statics http://www.tt-forums.net/viewtopic.php?t=24887
. If Urzupator really wants them he can put them in himself