Note:
This applies to all source code except for libopenmpt/ and openmpt123/
directories.
Use libopenmpt style otherwise.
(see below for an example)
SAMPLEINDEX or
ORDERINDEX when referring to samples, orders, etc.CSoundFile::IsCompatibleMode() so that modules made with previous versions
of MPT still sound correct (if the change is extremely small, this might be
unnecessary)CamelCase function and variable names are preferred.void Foo::Bar(int foobar)
{
    while(true)
    {
        // some code
    }
}