Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
dice_limits.h
Go to the documentation of this file.
1#ifndef DICE_LIMITS_H
2#define DICE_LIMITS_H
3
4#include <QtGlobal> // for uint
5
7constexpr uint MINIMUM_DIE_SIDES = 2;
9constexpr uint MAXIMUM_DIE_SIDES = 1000000;
11constexpr uint MINIMUM_DICE_TO_ROLL = 1;
13constexpr uint MAXIMUM_DICE_TO_ROLL = 100;
14
15#endif // DICE_LIMITS_H
constexpr uint MINIMUM_DIE_SIDES
Fewest sides a rollable die may have.
Definition dice_limits.h:7
constexpr uint MAXIMUM_DICE_TO_ROLL
Most dice that may be rolled at once.
Definition dice_limits.h:13
constexpr uint MAXIMUM_DIE_SIDES
Most sides a rollable die may have.
Definition dice_limits.h:9
constexpr uint MINIMUM_DICE_TO_ROLL
Fewest dice that may be rolled at once.
Definition dice_limits.h:11