OpenMoHAA 0.82.1
|
Whether you're reporting issues or coding, follow the guidelines below to help keep the project consistent and maintainable.
When opening a new issue, include the following information to help address the problem effectively:
qconsole.log
) and crash output if applicable:Debian 12
.0.70.0-alpha+0.0b1a20dcf win_msvc64-x86_64-debug
. The version is in the log file or can be obtained when typing version
.Any changes must be retro-compatible. OpenMoHAA must be compatible as best as possible with the original game:
clang-format
to format your code. For example, in VSCode from the command palette: Format documentWhen declaring a new Event, use the following structure:
When adding a new class, or when making changes to existing classes/code that differ from the original game, use one of the following comment to annotate your changes:
If the change matches a specific version of the original game, replace OPM
with the game version, for example:
The version can be 2.0
, 2.1
, 2.11
, 2.15
, 2.30
, 2.40
.
You can also group multiple related functions like this:
If it's a new source file, the comment must be added right after the license notice.