… | |
… | |
2220 | |
2220 | |
2221 | int apply_shop_mat (object *shop_mat, object *op); |
2221 | int apply_shop_mat (object *shop_mat, object *op); |
2222 | |
2222 | |
2223 | int move (object *op, int dir, object *originator = op) |
2223 | int move (object *op, int dir, object *originator = op) |
2224 | CODE: |
2224 | CODE: |
2225 | RETVAL = move_ob (op, dir, originator); |
2225 | RETVAL = op->move (dir, originator); |
2226 | OUTPUT: |
2226 | OUTPUT: |
2227 | RETVAL |
2227 | RETVAL |
2228 | |
2228 | |
2229 | void apply (object *applier, object *applied, int flags = 0) |
2229 | void apply (object *applier, object *applied, int flags = 0) |
2230 | CODE: |
2230 | CODE: |
… | |
… | |
2297 | |
2297 | |
2298 | void handle_apply_yield (object *op) |
2298 | void handle_apply_yield (object *op) |
2299 | |
2299 | |
2300 | int convert_item (object *item, object *converter) |
2300 | int convert_item (object *item, object *converter) |
2301 | |
2301 | |
|
|
2302 | void fix_generated_item (object *op, object *creator, int difficulty, int max_magic, int flags); |
2302 | |
2303 | |
2303 | MODULE = cf PACKAGE = cf::object PREFIX = cf_ |
2304 | MODULE = cf PACKAGE = cf::object PREFIX = cf_ |
2304 | |
2305 | |
2305 | # no clean way to get an object from an archetype - stupid idiotic |
2306 | # no clean way to get an object from an archetype - stupid idiotic |
2306 | # dumb kludgy misdesigned plug-in api slowly gets on my nerves. |
2307 | # dumb kludgy misdesigned plug-in api slowly gets on my nerves. |
… | |
… | |
2764 | utf8_string monsterstyle,\ |
2765 | utf8_string monsterstyle,\ |
2765 | utf8_string treasurestyle,\ |
2766 | utf8_string treasurestyle,\ |
2766 | utf8_string layoutstyle,\ |
2767 | utf8_string layoutstyle,\ |
2767 | utf8_string doorstyle,\ |
2768 | utf8_string doorstyle,\ |
2768 | utf8_string decorstyle,\ |
2769 | utf8_string decorstyle,\ |
|
|
2770 | utf8_string miningstyle,\ |
2769 | utf8_string origin_map,\ |
2771 | utf8_string origin_map,\ |
2770 | utf8_string final_map,\ |
2772 | utf8_string final_map,\ |
2771 | utf8_string exitstyle,\ |
2773 | utf8_string exitstyle,\ |
2772 | utf8_string this_map,\ |
2774 | utf8_string this_map,\ |
2773 | utf8_string exit_on_final_map,\ |
2775 | utf8_string exit_on_final_map,\ |
… | |
… | |
2805 | assign (rmp.monsterstyle , monsterstyle); |
2807 | assign (rmp.monsterstyle , monsterstyle); |
2806 | assign (rmp.treasurestyle , treasurestyle); |
2808 | assign (rmp.treasurestyle , treasurestyle); |
2807 | assign (rmp.layoutstyle , layoutstyle); |
2809 | assign (rmp.layoutstyle , layoutstyle); |
2808 | assign (rmp.doorstyle , doorstyle); |
2810 | assign (rmp.doorstyle , doorstyle); |
2809 | assign (rmp.decorstyle , decorstyle); |
2811 | assign (rmp.decorstyle , decorstyle); |
|
|
2812 | assign (rmp.miningstyle , miningstyle); |
2810 | assign (rmp.exitstyle , exitstyle); |
2813 | assign (rmp.exitstyle , exitstyle); |
2811 | assign (rmp.exit_on_final_map, exit_on_final_map); |
2814 | assign (rmp.exit_on_final_map, exit_on_final_map); |
2812 | |
2815 | |
2813 | rmp.origin_map = origin_map; |
2816 | rmp.origin_map = origin_map; |
2814 | rmp.final_map = final_map; |
2817 | rmp.final_map = final_map; |