mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 19:13:55 -07:00
Some checks failed
Build Desktop / Configure (push) Has been cancelled
Build Docker Image / amd64 & arm64 (push) Has been cancelled
Build Desktop / Debian 13 (push) Has been cancelled
Build Desktop / Debian 12 (push) Has been cancelled
Build Desktop / Fedora 44 (push) Has been cancelled
Build Desktop / Fedora 43 (push) Has been cancelled
Build Desktop / Servatrice_Debian 12 (push) Has been cancelled
Build Desktop / Ubuntu 26.04 (push) Has been cancelled
Build Desktop / Ubuntu 24.04 (push) Has been cancelled
Build Desktop / Arch (push) Has been cancelled
Build Desktop / macOS 14 (push) Has been cancelled
Build Desktop / macOS 15 (push) Has been cancelled
Build Desktop / macOS 13 Intel (push) Has been cancelled
Build Desktop / macOS 15 Debug (push) Has been cancelled
Build Desktop / Windows 10 (push) Has been cancelled
* Split trice_limits.h into dedicated headers * Updated docstrings
15 lines
477 B
C++
15 lines
477 B
C++
#ifndef DICE_LIMITS_H
|
|
#define DICE_LIMITS_H
|
|
|
|
#include <QtGlobal> // for uint
|
|
|
|
/** @brief Fewest sides a rollable die may have. */
|
|
constexpr uint MINIMUM_DIE_SIDES = 2;
|
|
/** @brief Most sides a rollable die may have. */
|
|
constexpr uint MAXIMUM_DIE_SIDES = 1000000;
|
|
/** @brief Fewest dice that may be rolled at once. */
|
|
constexpr uint MINIMUM_DICE_TO_ROLL = 1;
|
|
/** @brief Most dice that may be rolled at once. */
|
|
constexpr uint MAXIMUM_DICE_TO_ROLL = 100;
|
|
|
|
#endif // DICE_LIMITS_H
|