summaryrefslogtreecommitdiff
path: root/src/object2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object2.hpp')
-rw-r--r--src/object2.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object2.hpp b/src/object2.hpp
index 52165a7e..6cb11040 100644
--- a/src/object2.hpp
+++ b/src/object2.hpp
@@ -22,7 +22,7 @@ extern void floor_item_charges(int item);
extern void floor_item_describe(int item);
extern void floor_item_increase(int item, int num);
extern void floor_item_optimize(int item);
-extern bool_ inven_carry_okay(object_type *o_ptr);
+extern bool_ inven_carry_okay(object_type const *o_ptr);
extern s16b inven_carry(object_type *o_ptr, bool_ final);
extern s16b inven_takeoff(int item, int amt, bool_ force_drop);
extern void inven_drop(int item, int amt, int dy, int dx, bool_ silent);
@@ -40,9 +40,9 @@ extern void object_aware(object_type *o_ptr);
extern bool object_aware_p(object_type const *o_ptr);
extern void object_tried(object_type *o_ptr);
extern bool object_tried_p(object_type const *o_ptr);
-extern s32b object_value(object_type *o_ptr);
-extern s32b object_value_real(object_type *o_ptr);
-extern bool_ object_similar(object_type *o_ptr, object_type *j_ptr);
+extern s32b object_value(object_type const *o_ptr);
+extern s32b object_value_real(object_type const *o_ptr);
+extern bool_ object_similar(object_type const *o_ptr, object_type const *j_ptr);
extern void object_absorb(object_type *o_ptr, object_type *j_ptr);
extern s16b lookup_kind(int tval, int sval);
extern void object_wipe(object_type *o_ptr);
@@ -64,4 +64,4 @@ extern s16b floor_carry(int y, int x, object_type *j_ptr);
extern void pack_decay(int item);
extern void floor_decay(int item);
extern s16b m_bonus(int max, int level);
-extern s32b flag_cost(object_type * o_ptr, int plusses);
+extern s32b flag_cost(object_type const *o_ptr, int plusses);