summaryrefslogtreecommitdiff
path: root/src/spell_type_fwd.h
blob: e6c881450802a611a4a48c88d97b417996d51329 (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
#pragma once

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Spell effect function result
 */
typedef enum {
	NO_CAST,             /* Spell not cast; user aborted */
	CAST_OBVIOUS,        /* Cast; caster discovers effect (devices) */
	CAST_HIDDEN          /* Cast; caster does NOT discover effect (devices) */
} casting_result;

/*
 * Forward declaration of the spell_type
 */
typedef struct spell_type spell_type;
struct spell_type;

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