Frequently Asked Questions
Nightly Builds vs Reborn
FAQ - Nightly Builds
FAQ - Tilted Online
Getting started with Nightly Builds
Getting started with Tilted Online
Using Tilted Online with Mod Managers
Coding guidelines to keep the code readable and understandable.
We are using C++17, any C++17 feature supported by vs2019 is allowed.
Please try to use templates responsibly, we don't want compilation times to explode and to deal with bloated binaries.
Try to follow SRP as much as possible, a huge class containing tons of functionalities is not better than many small components; it's easier to re-use and extend them.
The first word is lowercase, any other words must start with an uppercase:
Function arguments must be prefixed with an
for 'argument' :
Const variables must be prefixed with a
for 'const' :
const int cSomeInt;
Pointers must be prefixed with a
for 'pointer' :
The rules above must be used together. For example:
void SomeFunc(const int* acpSomeArgument)
Static variables must be prefixed with
static int s_someInt;
Global variables must be prefixed with
extern int g_someGlobalInt;
Class names must start with an upper case:
Class attributes must be prefixed with
and must use the same rules as variables:
All functions must start with an upper case:
Names must be self explanatory. For example,
is not acceptable, but
is allowed when dealing with long names, but it isn't acceptable for primitive types as we don't want the compiler to give us a signed int when we are using it as an unsigned int.
Don't use Java style blocks, a
needs to be on a new line.
Don't use exceptions and don't use STL code that can throw - use the
version if available, or the unsafe version if not. Use the
class to return the value or an error.
Next - Coding