summaryrefslogtreecommitdiff
path: root/src/dice_fwd.hpp
blob: ffc8fbfacb8c9ef53b44091d6d1a5a46a0356604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "angband.h"

typedef struct dice_type dice_type;
struct dice_type;

void dice_init(dice_type *dice, long base, long num, long sides);
bool_ dice_parse(dice_type *dice, cptr s);
void dice_parse_checked(dice_type *dice, cptr s);
long dice_roll(dice_type *dice);
void dice_print(dice_type *dice, char *buf);