You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lunarium_OLD/docs/design/style_guide.txt

10 lines
626 B
Plaintext

file and folder names should be all lower-case using underscores to separate words (snake case) (ex: run_mode.h, simple_render_scene.cpp)
All variables should be snake case (lower-case with underscores to separate words)
All method names should be pascal case (no underscores and each word capitalized ex: GetUserName())
All class and struct names should be pascal case (no underscores and each word capitalized ex: GetUserName())
All methods should be defined in a .cpp (no inline methods in headers)
Class member variables should start with m (ex: mUserName)
Struct member variables should NOT start with m (ex: UserName)