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/vault_type.hpp | |
parent | dcb193fabc7af4776bdf0d31045f6801fa18000e (diff) |
Split types.h into separate header for each type
Diffstat (limited to 'src/vault_type.hpp')
-rw-r--r-- | src/vault_type.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/vault_type.hpp b/src/vault_type.hpp new file mode 100644 index 00000000..650599cb --- /dev/null +++ b/src/vault_type.hpp @@ -0,0 +1,24 @@ +#pragma once + +#include "h-basic.h" + +/** + * Vault descriptors. + */ +struct vault_type +{ + char *data; /* Vault data */ + + byte typ; /* Vault type */ + + byte rat; /* Vault rating */ + + byte hgt; /* Vault height */ + byte wid; /* Vault width */ + + s16b lvl; /* level of special (if any) */ + byte dun_type; /* Dungeon type where the level will show up */ + + s16b mon[10]; /* special monster */ + int item[3]; /* number of item (usually artifact) */ +}; |