Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
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
7
constexpr
uint
MINIMUM_DIE_SIDES
= 2;
9
constexpr
uint
MAXIMUM_DIE_SIDES
= 1000000;
11
constexpr
uint
MINIMUM_DICE_TO_ROLL
= 1;
13
constexpr
uint
MAXIMUM_DICE_TO_ROLL
= 100;
14
15
#endif
// DICE_LIMITS_H
MINIMUM_DIE_SIDES
constexpr uint MINIMUM_DIE_SIDES
Fewest sides a rollable die may have.
Definition
dice_limits.h:7
MAXIMUM_DICE_TO_ROLL
constexpr uint MAXIMUM_DICE_TO_ROLL
Most dice that may be rolled at once.
Definition
dice_limits.h:13
MAXIMUM_DIE_SIDES
constexpr uint MAXIMUM_DIE_SIDES
Most sides a rollable die may have.
Definition
dice_limits.h:9
MINIMUM_DICE_TO_ROLL
constexpr uint MINIMUM_DICE_TO_ROLL
Fewest dice that may be rolled at once.
Definition
dice_limits.h:11
libcockatrice_utility
libcockatrice
utility
dice_limits.h
Generated by
1.18.0