… | |
… | |
149 | object *merge_ob (object *op, object *top); |
149 | object *merge_ob (object *op, object *top); |
150 | object *insert_ob_in_map_at (object *op, maptile *m, object *originator, int flag, int x, int y); |
150 | object *insert_ob_in_map_at (object *op, maptile *m, object *originator, int flag, int x, int y); |
151 | object *insert_ob_in_map (object *op, maptile *m, object *originator, int flag); |
151 | object *insert_ob_in_map (object *op, maptile *m, object *originator, int flag); |
152 | void replace_insert_ob_in_map (shstr_tmp archname, object *op); |
152 | void replace_insert_ob_in_map (shstr_tmp archname, object *op); |
153 | object *insert_ob_in_ob (object *op, object *where); |
153 | object *insert_ob_in_ob (object *op, object *where); |
154 | int check_move_on (object *op, object *originator); |
154 | int check_move_on (object *op, object *originator, int flags = 0); |
155 | object *present_arch (const archetype *at, maptile *m, int x, int y); |
155 | object *present_arch (const archetype *at, maptile *m, int x, int y); |
156 | object *present (unsigned char type, maptile *m, int x, int y); |
156 | object *present (unsigned char type, maptile *m, int x, int y); |
157 | object *present_in_ob (unsigned char type, const object *op); |
157 | object *present_in_ob (unsigned char type, const object *op); |
158 | object *present_in_ob_by_name (int type, const char *str, const object *op); |
158 | object *present_in_ob_by_name (int type, const char *str, const object *op); |
159 | object *present_arch_in_ob (const archetype *at, const object *op); |
159 | object *present_arch_in_ob (const archetype *at, const object *op); |
… | |
… | |
229 | void fix_flesh_item (object *item, object *donor); |
229 | void fix_flesh_item (object *item, object *donor); |
230 | /* utils.c */ |
230 | /* utils.c */ |
231 | int random_roll (int min, int max, const object *op, int goodbad); |
231 | int random_roll (int min, int max, const object *op, int goodbad); |
232 | sint64 random_roll64 (sint64 min, sint64 max, const object *op, int goodbad); |
232 | sint64 random_roll64 (sint64 min, sint64 max, const object *op, int goodbad); |
233 | int die_roll (int num, int size, const object *op, int goodbad); |
233 | int die_roll (int num, int size, const object *op, int goodbad); |
234 | materialtype_t *name_to_material (const shstr_tmp name); |
|
|
235 | void transmute_materialname (object *op, const object *change); |
234 | void transmute_materialname (object *op, const object *change); |
236 | void strip_endline (char *buf); |
235 | void strip_endline (char *buf); |
237 | void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize); |
236 | void replace (const char *src, const char *key, const char *replacement, char *result, size_t resultsize); |
238 | /* loader.c */ |
237 | /* loader.c */ |
239 | int set_variable (object *op, char *buf); |
238 | int set_variable (object *op, char *buf); |