blob: be1ed85f5bada8737bf88eb681189df18ef8e73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "angband.h"
#ifdef __cplusplus
extern "C" {
#endif
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);
#ifdef __cplusplus
} // extern "C"
#endif
|