Angband
obj-make.h
Go to the documentation of this file.
1 
19 #ifndef OBJECT_MAKE_H
20 #define OBJECT_MAKE_H
21 
22 #include "cave.h"
23 
28 #define NO_MINIMUM 255
29 
30 void ego_apply_magic(struct object *o_ptr, int level);
31 void copy_artifact_data(struct object *o_ptr, const struct artifact *a_ptr);
32 bool make_fake_artifact(struct object *obj, struct artifact *artifact);
33 void object_prep(struct object *o_ptr, struct object_kind *kind, int lev,
34  aspect rand_aspect);
35 int apply_magic(struct object *o_ptr, int lev, bool okay, bool good,
36  bool great, bool extra_roll);
37 bool kind_is_good(const object_kind *kind);
38 struct object_kind *get_obj_num(int level, bool good, int tval);
39 struct object *make_object(struct chunk *c, int lev, bool good, bool great,
40  bool extra_roll, s32b *value, int tval);
41 void acquirement(int y1, int x1, int level, int num, bool great);
42 struct object_kind *money_kind(const char *name, int value);
43 struct object *make_gold(int lev, char *coin_type);
44 
45 #endif /* OBJECT_MAKE_H */