summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
commit9670b948b8d1974ae3ec8212eec1773908c345c5 (patch)
tree1a85630b08d072dded8104edc7debb7b073a343a /src/types.h
parente9d57ecb0090655ec46a780dc450bc170abd9068 (diff)
Move mimic.cc function delcarations into separate header
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/types.h b/src/types.h
index 16bd5b04..72461208 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2617,29 +2617,3 @@ struct corruption_type
void (*gain_callback)(); /* callback to invoke when gained */
s16b power; /* index of granted power if >= 0, ignored otherwise */
};
-
-/**
- * Mimicry forms
- */
-typedef struct mimic_duration_type mimic_duration_type;
-struct mimic_duration_type
-{
- s16b min;
- s16b max;
-};
-
-typedef struct mimic_form_type mimic_form_type;
-struct mimic_form_type
-{
- int modules[3]; /* Modules where this mimicry form is available; terminated with a -1 entry */
- cptr name; /* Name of mimicry form */
- cptr obj_name; /* Object mimicry form name */
- cptr desc; /* Description */
- cptr realm; /* Realm of mimicry */
- bool_ limit; /* If true, the form is not available except through special means */
- byte level;
- byte rarity;
- mimic_duration_type duration;
- s32b (*calc)(); /* Callback to calculate bonuses; return number of blows to add */
- void (*power)(); /* Callback to calculate powers */
-};