| 1 | /** |
| 2 | * \file stats/structs.h |
| 3 | * \brief Data structures for lists not exported in headers elsewhere |
| 4 | * |
| 5 | * Copyright (c) 2011 Robert Au |
| 6 | * |
| 7 | * This work is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of either: |
| 9 | * |
| 10 | * a) the GNU General Public License as published by the Free Software |
| 11 | * Foundation, version 2, or |
| 12 | * |
| 13 | * b) the "Angband licence": |
| 14 | * This software may be copied and distributed for educational, |
| 15 | * research, |
| 16 | * and not for profit purposes provided that this copyright and |
| 17 | * statement |
| 18 | * are included in all such copies. Other copyrights may also apply. |
| 19 | */ |
| 20 | |
| 21 | #ifndef STATS_STRUCTS_H |
| 22 | #define STATS_STRUCTS_H |
| 23 | |
| 24 | #include "effects.h" |
| 25 | #include "monster.h" |
| 26 | #include "mon-spell.h" |
| 27 | #include "obj-slays.h" |
| 28 | |
| 29 | /** |
| 30 | * Entries for spell/activation descriptions |
| 31 | */ |
| 32 | typedef struct |
| 33 | { |
| 34 | uint16_t index; /* Effect index */ |
| 35 | bool aim; /* Whether the effect requires aiming */ |
| 36 | const char *desc; /* Effect description */ |
| 37 | } info_entry; |
| 38 | |
| 39 | #endif /* STATS_STRUCTS_H */ |