diff options
Diffstat (limited to 'src/spell_type_fwd.h')
-rw-r--r-- | src/spell_type_fwd.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/spell_type_fwd.h b/src/spell_type_fwd.h new file mode 100644 index 00000000..4664592c --- /dev/null +++ b/src/spell_type_fwd.h @@ -0,0 +1,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 |