diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-22 15:22:02 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-22 16:01:22 +0100 |
commit | c17c9486a22ce9f2160b2d2ad559d9a19e453f83 (patch) | |
tree | 4d32c8d5bfac290c15d858beccff80ce5fd933f1 /src/dice.hpp | |
parent | f498e18ca748427db1de1bf0301df5113e4f5ba2 (diff) |
Rename miscellaneous .h headers to .hpp
Diffstat (limited to 'src/dice.hpp')
-rw-r--r-- | src/dice.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dice.hpp b/src/dice.hpp new file mode 100644 index 00000000..40a49e37 --- /dev/null +++ b/src/dice.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include "dice_fwd.hpp" + +/** + * Dice + */ +struct dice_type +{ + long base; /* Base value to which roll is added. */ + long num; /* Number of dice */ + long sides; /* Sides per dice */ +}; |