|
|
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); |
… | |
… | |
671 | int cast_earth_to_dust (object *op, object *caster, object *spell_ob); |
693 | int cast_earth_to_dust (object *op, object *caster, object *spell_ob); |
672 | void execute_word_of_recall (object *op); |
694 | void execute_word_of_recall (object *op); |
673 | int cast_word_of_recall (object *op, object *caster, object *spell_ob); |
695 | int cast_word_of_recall (object *op, object *caster, object *spell_ob); |
674 | int cast_wonder (object *op, object *caster, int dir, object *spell_ob); |
696 | int cast_wonder (object *op, object *caster, int dir, object *spell_ob); |
675 | int perceive_self (object *op); |
697 | int perceive_self (object *op); |
676 | int cast_create_town_portal (object *op, object *caster, object *spell, int dir); |
|
|
677 | int magic_wall (object *op, object *caster, int dir, object *spell_ob); |
698 | int magic_wall (object *op, object *caster, int dir, object *spell_ob); |
678 | int dimension_door (object *op, object *caster, object *spob, int dir); |
699 | int dimension_door (object *op, object *caster, object *spob, int dir); |
679 | int cast_heal (object *op, object *caster, object *spell, int dir); |
700 | int cast_heal (object *op, object *caster, object *spell, int dir); |
680 | int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); |
701 | int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); |
681 | int cast_bless (object *op, object *caster, object *spell_ob, int dir); |
702 | int cast_bless (object *op, object *caster, object *spell_ob, int dir); |
… | |
… | |
761 | void move_firewall (object *op); |
782 | void move_firewall (object *op); |
762 | void move_player_mover (object *op); |
783 | void move_player_mover (object *op); |
763 | void move_duplicator (object *op); |
784 | void move_duplicator (object *op); |
764 | void move_creator (object *creator); |
785 | void move_creator (object *creator); |
765 | void move_marker (object *op); |
786 | void move_marker (object *op); |
766 | int process_object (object *op); |
787 | void process_object (object *op); |
767 | |
788 | |
768 | /* timers.c */ |
789 | /* timers.c */ |
769 | void cftimer_process_timers (void); |
790 | void cftimer_process_timers (void); |
770 | void cftimer_process_event (object *ob); |
791 | void cftimer_process_event (object *ob); |
771 | int cftimer_create (int id, long delay, object *ob, int mode); |
792 | int cftimer_create (int id, long delay, object *ob, int mode); |