Coding Standards - Karclan/Games-Programming-Engine GitHub Wiki
Member variables are prefixed with an underscore
_myVariable;
Header files start lowercase but class names begin upper case
class.h
Class {};
Functions are lower-camel-case
classFunction();
Const variables including enum values are all uppercase. Enum name itself is upper-camel-case.
CONST_VALUE = 3;
enum EnumName { VALUE_ONE, VALUE_TWO};
Folder structure - header files go in include -> subfolder and source goes in src -> subfolder where subfolder is the section of the engine it relates to. Paths are then included in full when including headers in code, e.g.
#include "rendering\camera.h"
This does make it rather hard to change location of files later on so get it right first time! Basically, anything fuundamental goes in core whereas everything else goes in whatever subsystem it is most related to.