diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
commit | 3577729037709acd5d2105665134ec27a64bc4c3 (patch) | |
tree | 29a8c3beef42e302174d44895e0dfff1e066ae5e /src/types.h | |
parent | 9670b948b8d1974ae3ec8212eec1773908c345c5 (diff) |
Move corrupt.cc function declarations to separate header
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/types.h b/src/types.h index 72461208..ab62c208 100644 --- a/src/types.h +++ b/src/types.h @@ -2598,22 +2598,3 @@ struct module_type to indicate that no override happens. */ s16b *(*race_status)(int r_idx); }; - -/** - * Corruptions - */ -typedef struct corruption_type corruption_type; -struct corruption_type -{ - int modules[3]; /* Modules where this corruption is available; terminated with -1 entry */ - byte color; - cptr group; - cptr name; - cptr get_text; - cptr lose_text; /* If NULL, the corruption is NOT removable by any means */ - cptr desc; - s16b depends[5]; /* terminated by a -1 entry */ - s16b opposes[5]; /* terminated by a -1 entry */ - void (*gain_callback)(); /* callback to invoke when gained */ - s16b power; /* index of granted power if >= 0, ignored otherwise */ -}; |