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/fate.hpp | |
parent | dcb193fabc7af4776bdf0d31045f6801fa18000e (diff) |
Split types.h into separate header for each type
Diffstat (limited to 'src/fate.hpp')
-rw-r--r-- | src/fate.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fate.hpp b/src/fate.hpp new file mode 100644 index 00000000..906bc99d --- /dev/null +++ b/src/fate.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include "h-basic.h" + +/** + * Fate descritpor. + */ +struct fate +{ + byte fate; /* Which fate */ + byte level; /* On which level */ + byte serious; /* Is it sure? */ + s16b o_idx; /* Object to find */ + s16b e_idx; /* Ego-Item to find */ + s16b a_idx; /* Artifact to find */ + s16b v_idx; /* Vault to find */ + s16b r_idx; /* Monster to find */ + s16b count; /* Number of things */ + s16b time; /* Turn before */ + bool_ know; /* Has it been predicted? */ + bool_ icky; /* Hackish runtime-only flag */ +}; |