ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sproto.h
(Generate patch)

Comparing deliantra/server/include/sproto.h (file contents):
Revision 1.63 by root, Thu May 17 14:14:55 2007 UTC vs.
Revision 1.70 by root, Sun Jul 1 05:00:18 2007 UTC

1/*
2 * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
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
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
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
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/>.
18 *
19 * The authors can be reached via e-mail to <crossfire@schmorp.de>
20 */
21
1/* alchemy.c */ 22/* alchemy.c */
2int need_identify (const object *obj); 23int need_identify (const object *obj);
3int apply_shop_mat (object *shop_mat, object *op); 24int apply_shop_mat (object *shop_mat, object *op);
4const char *cost_string_from_value (sint64 cost, int approx); 25const char *cost_string_from_value (sint64 cost, int approx);
5void pay_player (object *pl, sint64 amount); 26void pay_player (object *pl, sint64 amount);
103int command_weather (object *op, char *params); 124int command_weather (object *op, char *params);
104int command_archs (object *op, char *params); 125int command_archs (object *op, char *params);
105int command_hiscore (object *op, char *params); 126int command_hiscore (object *op, char *params);
106int command_debug (object *op, char *params); 127int command_debug (object *op, char *params);
107int command_dumpbelow (object *op, char *params); 128int command_dumpbelow (object *op, char *params);
129int command_dumpfriendlyobjects (object *op, char *params);
108int command_wizpass (object *op, char *params); 130int command_wizpass (object *op, char *params);
109int command_wizcast (object *op, char *params); 131int command_wizcast (object *op, char *params);
110int command_dumpallobjects (object *op, char *params);
111int command_dumpfriendlyobjects (object *op, char *params);
112int command_dumpallarchetypes (object *op, char *params);
113int command_ssdumptable (object *op, char *params);
114int command_dumpmap (object *op, char *params);
115int command_dumpallmaps (object *op, char *params);
116int command_printlos (object *op, char *params); 132int command_printlos (object *op, char *params);
117int command_version (object *op, char *params); 133int command_version (object *op, char *params);
118void bug_report (const char *reportstring); 134void bug_report (const char *reportstring);
119int command_statistics (object *pl, char *params); 135int command_statistics (object *pl, char *params);
120int command_fix_me (object *op, char *params); 136int command_fix_me (object *op, char *params);
201void do_wizard_hide (object *op, int silent_dm); 217void do_wizard_hide (object *op, int silent_dm);
202int command_hide (object *op, char *params); 218int command_hide (object *op, char *params);
203int command_setgod (object *op, char *params); 219int command_setgod (object *op, char *params);
204int command_banish (object *op, char *params); 220int command_banish (object *op, char *params);
205int command_save_overlay (object *op, char *params); 221int command_save_overlay (object *op, char *params);
206int command_toggle_shout (object *op, char *params);
207int command_freeze (object *op, char *params); 222int command_freeze (object *op, char *params);
208int command_arrest (object *op, char *params); 223int command_arrest (object *op, char *params);
209int command_summon (object *op, char *params); 224int command_summon (object *op, char *params);
210int command_teleport (object *op, char *params); 225int command_teleport (object *op, char *params);
211int command_create (object *op, char *params); 226int command_create (object *op, char *params);
458object *find_better_arrow (object *op, object *target, const char *type, int *better); 473object *find_better_arrow (object *op, object *target, const char *type, int *better);
459object *pick_arrow_target (object *op, const char *type, int dir); 474object *pick_arrow_target (object *op, const char *type, int dir);
460int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy); 475int fire_bow (object *op, object *part, object *arrow, int dir, int wc_mod, sint16 sx, sint16 sy);
461int player_fire_bow (object *op, int dir); 476int player_fire_bow (object *op, int dir);
462void fire_misc_object (object *op, int dir); 477void fire_misc_object (object *op, int dir);
463void fire (object *op, int dir); 478bool fire (object *op, int dir);
464object *find_key (object *pl, object *container, object *door); 479object *find_key (object *pl, object *container, object *door);
465void move_player_attack (object *op, int dir); 480bool move_player_attack (object *op, int dir);
466int move_player (object *op, int dir); 481bool move_player (object *op, int dir);
467int handle_newcs_player (object *op); 482bool handle_newcs_player (object *op);
468int save_life (object *op); 483int save_life (object *op);
469void remove_unpaid_objects (object *op, object *env); 484void remove_unpaid_objects (object *op, object *env);
470char *gravestone_text (object *op); 485char *gravestone_text (object *op);
471void do_some_living (object *op); 486void do_some_living (object *op);
472void kill_player (object *op); 487void kill_player (object *op);
618int skill_throw (object *op, object *part, int dir, const char *params, object *skill); 633int skill_throw (object *op, object *part, int dir, const char *params, object *skill);
619 634
620/* skill_util.c */ 635/* skill_util.c */
621void init_skills (void); 636void init_skills (void);
622void link_player_skills (object *op); 637void link_player_skills (object *op);
623void clear_skill (object *who);
624int do_skill (object *op, object *part, object *skill, int dir, const char *string); 638int do_skill (object *op, object *part, object *skill, int dir, const char *string);
625int calc_skill_exp (object *who, object *op, object *skill); 639int calc_skill_exp (object *who, object *op, object *skill);
626int learn_skill (object *pl, object *scroll); 640int learn_skill (object *pl, object *scroll);
627void show_skills (object *op, const char *search); 641void show_skills (object *op, const char *search);
628int use_skill (object *op, const char *string); 642int use_skill (object *op, const char *string);
672int cast_earth_to_dust (object *op, object *caster, object *spell_ob); 686int cast_earth_to_dust (object *op, object *caster, object *spell_ob);
673void execute_word_of_recall (object *op); 687void execute_word_of_recall (object *op);
674int cast_word_of_recall (object *op, object *caster, object *spell_ob); 688int cast_word_of_recall (object *op, object *caster, object *spell_ob);
675int cast_wonder (object *op, object *caster, int dir, object *spell_ob); 689int cast_wonder (object *op, object *caster, int dir, object *spell_ob);
676int perceive_self (object *op); 690int perceive_self (object *op);
677int cast_create_town_portal (object *op, object *caster, object *spell, int dir);
678int magic_wall (object *op, object *caster, int dir, object *spell_ob); 691int magic_wall (object *op, object *caster, int dir, object *spell_ob);
679int dimension_door (object *op, object *caster, object *spob, int dir); 692int dimension_door (object *op, object *caster, object *spob, int dir);
680int cast_heal (object *op, object *caster, object *spell, int dir); 693int cast_heal (object *op, object *caster, object *spell, int dir);
681int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent); 694int cast_change_ability (object *op, object *caster, object *spell_ob, int dir, int silent);
682int cast_bless (object *op, object *caster, object *spell_ob, int dir); 695int cast_bless (object *op, object *caster, object *spell_ob, int dir);
762void move_firewall (object *op); 775void move_firewall (object *op);
763void move_player_mover (object *op); 776void move_player_mover (object *op);
764void move_duplicator (object *op); 777void move_duplicator (object *op);
765void move_creator (object *creator); 778void move_creator (object *creator);
766void move_marker (object *op); 779void move_marker (object *op);
767int process_object (object *op); 780void process_object (object *op);
768 781
769/* timers.c */ 782/* timers.c */
770void cftimer_process_timers (void); 783void cftimer_process_timers (void);
771void cftimer_process_event (object *ob); 784void cftimer_process_event (object *ob);
772int cftimer_create (int id, long delay, object *ob, int mode); 785int cftimer_create (int id, long delay, object *ob, int mode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines