diff options
Diffstat (limited to 'src/effect_type.hpp')
-rw-r--r-- | src/effect_type.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/effect_type.hpp b/src/effect_type.hpp new file mode 100644 index 00000000..8cd638c6 --- /dev/null +++ b/src/effect_type.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "h-basic.h" + +/** + * Lasting spell effects. (Clouds, etc.) + */ +struct effect_type +{ + s16b time; /* For how long */ + s16b dam; /* How much damage */ + s16b type; /* Of which type */ + s16b cy; /* Center of the cast*/ + s16b cx; /* Center of the cast*/ + s16b rad; /* Radius -- if needed */ + u32b flags; /* Flags */ +}; |