From c8a270e51dc22f39ed048ab1cc609e6e456df58f Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 7 Jun 2015 17:49:09 +0200 Subject: Split types.h into separate header for each type --- src/fate.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/fate.hpp (limited to 'src/fate.hpp') 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 */ +}; -- cgit v1.2.3