diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
commit | c8a270e51dc22f39ed048ab1cc609e6e456df58f (patch) | |
tree | 6d6a7d2338abdbecbb1351e2c9cbf9b08b42b6bc /src/power_type.hpp | |
parent | dcb193fabc7af4776bdf0d31045f6801fa18000e (diff) |
Split types.h into separate header for each type
Diffstat (limited to 'src/power_type.hpp')
-rw-r--r-- | src/power_type.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/power_type.hpp b/src/power_type.hpp new file mode 100644 index 00000000..6cf8c29b --- /dev/null +++ b/src/power_type.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include "h-basic.h" + +/** + * Power descriptor. (Racial, class, mutation, artifacts, ...) + */ +struct power_type +{ + const char *name; /* Name */ + const char *desc_text; /* Text describing power */ + const char *gain_text; /* Text displayed on gaining the power */ + const char *lose_text; /* Text displayed on losing the power */ + + byte level; /* Min level */ + byte cost; /* Mana/Life cost */ + byte stat; /* Stat used */ + byte diff; /* Difficulty */ +}; |