diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-28 06:38:12 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 05:38:15 +0200 |
commit | e272282c1451329d16fd16efbfccc234395cba6e (patch) | |
tree | 9fc6c55bbd318ce8f78ef702e0bb82d5e08a9eb7 /src/types.h | |
parent | 7d052a1a4b8ff944a649c4afdd277aeb30b42cb0 (diff) |
Lua: Add "school_idx" type to hold list of spell schools
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index 3c028d3a..fbf049ae 100644 --- a/src/types.h +++ b/src/types.h @@ -2504,6 +2504,16 @@ struct skill_type /* + * School index list. + */ +typedef struct school_idx school_idx; +struct school_idx { + s32b i; /* School index */ + school_idx *next; /* for list */ +}; + + +/* * Casting type */ typedef enum { USE_SPELL_POINTS, USE_PIETY } casting_type; |