summaryrefslogtreecommitdiff
path: root/src/object_filter.hpp
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2020-05-22 20:05:37 -0700
committerManoj Srivastava <srivasta@debian.org>2020-05-22 21:39:31 -0700
commit035291b7f18974925f9a85a41e057bdc462c75f1 (patch)
treed69056be1a045aec185393b52dadb6fc2d5f50c9 /src/object_filter.hpp
parent9714b44a37dfc03aa00187726beea7ed8257415e (diff)
parent4e9b9c402ed95bf9a17fd6d795bc49bb4128a6fa (diff)
Merge branch 'upstream'
Diffstat (limited to 'src/object_filter.hpp')
-rw-r--r--src/object_filter.hpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/object_filter.hpp b/src/object_filter.hpp
index 9a22090b..d18e13ee 100644
--- a/src/object_filter.hpp
+++ b/src/object_filter.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "h-basic.h"
+#include "object_flag_set.hpp"
#include "object_type_fwd.hpp"
#include <functional>
@@ -21,19 +22,9 @@ object_filter_t TVal(byte tval);
object_filter_t SVal(byte sval);
/**
- * Has given bit mask in flag3 value.
+ * Has given set of flags set.
*/
-object_filter_t HasFlag3(u32b mask);
-
-/**
- * Has given bit mask in flag4 value.
- */
-object_filter_t HasFlag4(u32b mask);
-
-/**
- * Has given bit mask in flag5 value.
- */
-object_filter_t HasFlag5(u32b mask);
+object_filter_t HasFlags(object_flag_set const &);
/**
* Is the object an artifact?