summaryrefslogtreecommitdiff
path: root/src/device_allocation.h
blob: f4fc5c3838cecf894dd51ac952db3c2454f418c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "device_allocation_fwd.h"
#include "range.h"

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Device allocation for skill
 */
struct device_allocation
{
	byte tval;
	s32b rarity;
	range_type base_level;
	range_type max_level;
};

struct device_allocation *device_allocation_new(byte tval);

#ifdef __cplusplus
} // extern "C"
#endif