1 | /* |
1 | /* |
2 | * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * |
5 | * |
6 | * Crossfire TRT is free software: you can redistribute it and/or modify |
6 | * Deliantra is free software: you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by |
7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation, either version 3 of the License, or |
8 | * the Free Software Foundation, either version 3 of the License, or |
9 | * (at your option) any later version. |
9 | * (at your option) any later version. |
10 | * |
10 | * |
11 | * This program is distributed in the hope that it will be useful, |
11 | * This program is distributed in the hope that it will be useful, |
… | |
… | |
14 | * GNU General Public License for more details. |
14 | * GNU General Public License for more details. |
15 | * |
15 | * |
16 | * You should have received a copy of the GNU General Public License |
16 | * You should have received a copy of the GNU General Public License |
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | * |
18 | * |
19 | * The authors can be reached via e-mail to <crossfire@schmorp.de> |
19 | * The authors can be reached via e-mail to <support@deliantra.net> |
20 | */ |
20 | */ |
21 | |
21 | |
22 | /* alchemy.c */ |
22 | /* alchemy.c */ |
23 | int need_identify (const object *obj); |
23 | int need_identify (const object *obj); |
24 | int apply_shop_mat (object *shop_mat, object *op); |
24 | int apply_shop_mat (object *shop_mat, object *op); |
… | |
… | |
176 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
176 | int sack_can_hold (object *pl, object *sack, object *op, uint32 nrof); |
177 | void pick_up (object *op, object *alt); |
177 | void pick_up (object *op, object *alt); |
178 | int command_take (object *op, char *params); |
178 | int command_take (object *op, char *params); |
179 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
179 | void put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof); |
180 | void drop_object (object *op, object *tmp, uint32 nrof); |
180 | void drop_object (object *op, object *tmp, uint32 nrof); |
|
|
181 | void update_after_inventory_change (object *op); |
181 | void drop (object *op, object *tmp); |
182 | void drop (object *op, object *tmp); |
182 | int command_dropall (object *op, char *params); |
183 | int command_dropall (object *op, char *params); |
183 | int command_drop (object *op, char *params); |
184 | int command_drop (object *op, char *params); |
184 | int command_examine (object *op, char *params); |
185 | int command_examine (object *op, char *params); |
185 | object *find_marked_object (object *op); |
186 | object *find_marked_object (object *op); |
186 | void examine_monster (object *op, object *tmp); |
187 | void examine_monster (object *op, object *tmp); |
187 | const char *long_desc (object *tmp, object *pl); |
188 | const char *long_desc (object *tmp, object *pl); |
188 | void examine (object *op, object *tmp); |
189 | void examine (object *op, object *tmp); |
189 | void inventory (object *op, object *inv); |
|
|
190 | int command_pickup (object *op, char *params); |
190 | int command_pickup (object *op, char *params); |
191 | void set_pickup_mode (object *op, int i); |
191 | void set_pickup_mode (object *op, int i); |
192 | int command_search_items (object *op, char *params); |
192 | int command_search_items (object *op, char *params); |
193 | int command_rename_item (object *op, char *params); |
193 | int command_rename_item (object *op, char *params); |
194 | |
194 | |