diff options
Diffstat (limited to 'src/spell_type_fwd.hpp')
-rw-r--r-- | src/spell_type_fwd.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/spell_type_fwd.hpp b/src/spell_type_fwd.hpp new file mode 100644 index 00000000..a3b27d27 --- /dev/null +++ b/src/spell_type_fwd.hpp @@ -0,0 +1,16 @@ +#pragma once + +/* + * 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; |