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/random_artifact.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/random_artifact.hpp (limited to 'src/random_artifact.hpp') diff --git a/src/random_artifact.hpp b/src/random_artifact.hpp new file mode 100644 index 00000000..a3fc1c66 --- /dev/null +++ b/src/random_artifact.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "h-basic.h" + +/** + * Random artifact descriptor. + */ +struct random_artifact +{ + char name_full[80]; /* Full name for the artifact */ + char name_short[80]; /* Un-Id'd name */ + byte level; /* Level of the artifact */ + byte attr; /* Color that is used on the screen */ + u32b cost; /* Object's value */ + byte activation; /* Activation. */ + s16b timeout; /* Timeout. */ + byte generated; /* Does it exist already? */ +}; -- cgit v1.2.3