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_quest.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/random_quest.hpp (limited to 'src/random_quest.hpp') diff --git a/src/random_quest.hpp b/src/random_quest.hpp new file mode 100644 index 00000000..11ebe797 --- /dev/null +++ b/src/random_quest.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include "h-basic.h" + +struct random_quest +{ + byte type; /* Type/number of monsters to kill(0 = no quest) */ + s16b r_idx; /* Monsters to crush */ + bool_ done; /* Done ? */ +}; -- cgit v1.2.3 From e569b328d76c7437018eb11efcc0aa10bbd91de6 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Use 'bool' in random_quest struct --- src/random_quest.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/random_quest.hpp') diff --git a/src/random_quest.hpp b/src/random_quest.hpp index 11ebe797..9e3c6e10 100644 --- a/src/random_quest.hpp +++ b/src/random_quest.hpp @@ -6,5 +6,5 @@ struct random_quest { byte type; /* Type/number of monsters to kill(0 = no quest) */ s16b r_idx; /* Monsters to crush */ - bool_ done; /* Done ? */ + bool done; /* Done? */ }; -- cgit v1.2.3