|
|
1 | /* |
|
|
2 | * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. |
|
|
3 | * |
|
|
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team |
|
|
5 | * |
|
|
6 | * Crossfire TRT is free software; you can redistribute it and/or modify it |
|
|
7 | * under the terms of the GNU General Public License as published by the Free |
|
|
8 | * Software Foundation; either version 2 of the License, or (at your option) |
|
|
9 | * any later version. |
|
|
10 | * |
|
|
11 | * This program is distributed in the hope that it will be useful, but |
|
|
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|
|
13 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
|
14 | * for more details. |
|
|
15 | * |
|
|
16 | * You should have received a copy of the GNU General Public License along |
|
|
17 | * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 |
|
|
18 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
|
19 | * |
|
|
20 | * The authors can be reached via e-mail to <crossfire@schmorp.de> |
|
|
21 | */ |
|
|
22 | |
1 | /* alchemy.c */ |
23 | /* alchemy.c */ |
2 | int need_identify (const object *obj); |
24 | int need_identify (const object *obj); |
3 | int apply_shop_mat (object *shop_mat, object *op); |
25 | int apply_shop_mat (object *shop_mat, object *op); |
4 | const char *cost_string_from_value (sint64 cost, int approx); |
26 | const char *cost_string_from_value (sint64 cost, int approx); |
5 | void pay_player (object *pl, sint64 amount); |
27 | void pay_player (object *pl, sint64 amount); |
… | |
… | |
458 | object *find_better_arrow (object *op, object *target, const char *type, int *better); |
480 | object *find_better_arrow (object *op, object *target, const char *type, int *better); |
459 | object *pick_arrow_target (object *op, const char *type, int dir); |
481 | object *pick_arrow_target (object *op, const char *type, int dir); |
460 | int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); |
482 | int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); |
461 | int player_fire_bow (object *op, int dir); |
483 | int player_fire_bow (object *op, int dir); |
462 | void fire_misc_object (object *op, int dir); |
484 | void fire_misc_object (object *op, int dir); |
463 | void fire (object *op, int dir); |
485 | bool fire (object *op, int dir); |
464 | object *find_key (object *pl, object *container, object *door); |
486 | object *find_key (object *pl, object *container, object *door); |
465 | void move_player_attack (object *op, int dir); |
487 | bool move_player_attack (object *op, int dir); |
466 | int move_player (object *op, int dir); |
488 | bool move_player (object *op, int dir); |
467 | int handle_newcs_player (object *op); |
489 | bool handle_newcs_player (object *op); |
468 | int save_life (object *op); |
490 | int save_life (object *op); |
469 | void remove_unpaid_objects (object *op, object *env); |
491 | void remove_unpaid_objects (object *op, object *env); |
470 | char *gravestone_text (object *op); |
492 | char *gravestone_text (object *op); |
471 | void do_some_living (object *op); |
493 | void do_some_living (object *op); |
472 | void kill_player (object *op); |
494 | void kill_player (object *op); |
… | |
… | |
761 | void move_firewall (object *op); |
783 | void move_firewall (object *op); |
762 | void move_player_mover (object *op); |
784 | void move_player_mover (object *op); |
763 | void move_duplicator (object *op); |
785 | void move_duplicator (object *op); |
764 | void move_creator (object *creator); |
786 | void move_creator (object *creator); |
765 | void move_marker (object *op); |
787 | void move_marker (object *op); |
766 | int process_object (object *op); |
788 | void process_object (object *op); |
767 | |
789 | |
768 | /* timers.c */ |
790 | /* timers.c */ |
769 | void cftimer_process_timers (void); |
791 | void cftimer_process_timers (void); |
770 | void cftimer_process_event (object *ob); |
792 | void cftimer_process_event (object *ob); |
771 | int cftimer_create (int id, long delay, object *ob, int mode); |
793 | int cftimer_create (int id, long delay, object *ob, int mode); |