@note:
@todo:
@test: [things to test] [date]
@credits:
@xref:
- prefix classes with 'C' and interfaces classes 'I'
class CSomeClass;
class ISomeInterface;
- postfix structures with '_t'
struct SomeStruct_t;
- prefix enumerations with 'E'
enum ESomeEnum
- thirdparty (sdk, dependencies) macroses should be uppercase
#define SOMEMACROS
- prefix own macroses with the first filename character
#define M_SOMEMATHMACROS
- all curly braces should be on it's own line
if (true)
{
while (true)
{
// something...
}
}
- the first characters of variables must be like type
bool bSomeBool; int iSomeInt; float flSomeFloat; double dbSomeDouble;
char chSomeSymbol; const char* szSomeString (std::string too);
BYTE dSomeByte; DWORD dwSomeDword; unsigned uSomeInt + type (e.g. unsigned long ulOffset);
CSomeClass someClass; CSomeClass* pSomeClass;
- enumerations must inherit type
enum ESomeEnum : short
3.1. enumerations members should be uppercase
SOME_ENUM_MEMBER = 0
- includes paths must be separated with one slash
4.1. additional: file names preferably be lowercase
- use number literal's (uppercase)
long lSomeLong = 0L;
unsigned int uSomeOffset = 0x0; // hex
unsigned int uSomeInt = 0U;
unsigned long ulSomeLong = 0UL;
- use c++ style casts
void* pSomeHandle = const_cast<void*>(pSomeConstHandle);
int iSomeInt = static_cast<int>(flSomeFloat);
int* pSomePointer = *reinterpret_cast<int**>(pSomeAddress);
_DEBUG
- disable string encryption and activate external console logging (automatic switches with compilation configuration)DEBUG_CONSOLE
- activate external console logging but deactivate file logging
how do i open the menu?
- menu key is INSERT
how do i unload the cheat?
- panic key is END