summaryrefslogtreecommitdiff
path: root/src/spell_type_fwd.h
blob: 4664592ca04e1417c70f30126aceccc5f9d53ae8 (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
26
27
#ifndef H_ce003b12_cf58_444f_a927_5451f6dd8af1
#define H_ce003b12_cf58_444f_a927_5451f6dd8af1

#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

#endif