Skip to content

Coding on Rolisteam

Using clang-format

At the root directory of rolisteam source code, you should find a file .clang-format.

If you install clang-format on your system and configure your IDE to automatically call it when saving file. The syntax should always fit Rolisteam's standard.

Dependencies

As Rolisteam is a cross-platform application, we try to avoid including new librairies as we may underestimate the cost of managing dependency on each platform.

Header only librairies are welcomed and any Qt module as well.

Implementation

We have implemented this paradigme in Rolisteam. Any contribution must respect this approach:

  • Views: QML code to display the data and let players use it.
  • Controller: C++ code to manage permission, changes and storage.
  • Updater: C++ code to update the state of this data to the same data on other player sides.