obelus-hack
info
obelus csgo project by monthyx, skver & v5
naming conventions
variables:
- mixedCase
- Private member variables have
m_
prefix (e.g.m_varName
) - global vars have
g_
prefix (e.g.g_varName
) - static class vars have
s_
prefix (e.g.s_varName
) - no hungarian notation (it just clutters code + intellisense exists), instead use descriptive names (like
hasItem
orisVisible
for booleans)
constants:
- all upper case (e.g.
MY_CONSTANT
)
types:
- CamelCase
- abstract classes have
Abstract
prefix (e.g.AbstractClass
) - interfaces have
I
prefix (e.g.IClass
)
functions, methods:
- CamelCase
files:
- snake_case
- extensions:
- header: .h
- source: .cpp